////////////////////////////////////////////////////////// // This class has been automatically generated on // Fri May 24 02:06:48 2013 by ROOT version 5.32/00 // from TTree tree/tree // found on file: TTtoAnything_14TeV_PU50_CMSSW601.root ////////////////////////////////////////////////////////// #ifndef FullSim_h #define FullSim_h #include #include #include // Header file for the classes stored in the TTree if any. // Fixed size dimensions of array or collections stored in the TTree if any. class FullSim { public : TTree *fChain; //!pointer to the analyzed TTree or TChain Int_t fCurrent; //!current Tree number in a TChain // Declaration of leaf types Int_t event_runNo; Int_t event_evtNo; Int_t event_lumi; Int_t event_bunch; Int_t event_nPV; Float_t event_met; Float_t event_met_px; Float_t event_met_py; Float_t event_sumet; Float_t event_met_phi; Float_t event_fastJetRho; Int_t muon_size; Float_t muon_px[3][muon_size]; //[muon_size] Float_t muon_py[3][muon_size]; //[muon_size] Float_t muon_pz[3][muon_size]; //[muon_size] Float_t muon_e[3][muon_size]; //[muon_size] Float_t muon_pt[3][muon_size]; //[muon_size] Float_t muon_eta[3][muon_size]; //[muon_size] Float_t muon_phi[3][muon_size]; //[muon_size] Int_t muon_charge[3][muon_size]; //[muon_size] Float_t muon_vx[3][muon_size]; //[muon_size] Float_t muon_vy[3][muon_size]; //[muon_size] Float_t muon_vz[3][muon_size]; //[muon_size] Float_t muon_y[3][muon_size]; //[muon_size] Float_t muon_trackiso[3][muon_size]; //[muon_size] Float_t muon_ecaliso[3][muon_size]; //[muon_size] Float_t muon_hcaliso[3][muon_size]; //[muon_size] Int_t muon_Type[3][muon_size]; //[muon_size] Float_t muon_numberOfChambers[3][muon_size]; //[muon_size] Float_t muon_numberOfMatches[3][muon_size]; //[muon_size] Float_t muon_pfiso_sumChargedHadronPt[3][muon_size]; //[muon_size] Float_t muon_pfiso_sumChargedParticlePt[3][muon_size]; //[muon_size] Float_t muon_pfiso_sumNeutralHadronEt[3][muon_size]; //[muon_size] Float_t muon_pfiso_sumPhotonEt[3][muon_size]; //[muon_size] Float_t muon_pfiso_sumPUPt[3][muon_size]; //[muon_size] Float_t muon_d0bsp[3][muon_size]; //[muon_size] Float_t muon_dz000[3][muon_size]; //[muon_size] Float_t muon_IP3D[3][muon_size]; //[muon_size] Float_t muon_dzPV[3][muon_size]; //[muon_size] Int_t electron_size; Float_t electron_px[3][electron_size]; //[electron_size] Float_t electron_py[3][electron_size]; //[electron_size] Float_t electron_pz[3][electron_size]; //[electron_size] Float_t electron_e[3][electron_size]; //[electron_size] Float_t electron_pt[3][electron_size]; //[electron_size] Float_t electron_eta[3][electron_size]; //[electron_size] Float_t electron_phi[3][electron_size]; //[electron_size] Int_t electron_charge[3][electron_size]; //[electron_size] Float_t electron_vx[3][electron_size]; //[electron_size] Float_t electron_vy[3][electron_size]; //[electron_size] Float_t electron_vz[3][electron_size]; //[electron_size] Float_t electron_y[3][electron_size]; //[electron_size] Float_t electron_trackiso[3][electron_size]; //[electron_size] Float_t electron_ecaliso[3][electron_size]; //[electron_size] Float_t electron_hcaliso[3][electron_size]; //[electron_size] Int_t electron_classification[3][electron_size]; //[electron_size] Float_t electron_HoverE[3][electron_size]; //[electron_size] Float_t electron_EoverP[3][electron_size]; //[electron_size] Float_t electron_DeltaEta[3][electron_size]; //[electron_size] Float_t electron_DeltaPhi[3][electron_size]; //[electron_size] Int_t electron_numberOfBrems[3][electron_size]; //[electron_size] Float_t electron_BremFraction[3][electron_size]; //[electron_size] Float_t electron_SigmaIetaIeta[3][electron_size]; //[electron_size] Int_t electron_missingHits[3][electron_size]; //[electron_size] Float_t electron_convDist[3][electron_size]; //[electron_size] Float_t electron_convDcot[3][electron_size]; //[electron_size] Float_t electron_convRadius[3][electron_size]; //[electron_size] Float_t electron_pfiso_chargedHadron[3][electron_size]; //[electron_size] Float_t electron_pfiso_photon[3][electron_size]; //[electron_size] Float_t electron_pfiso_neutralHadron[3][electron_size]; //[electron_size] Float_t electron_pfiso_EffAreaPU[3][electron_size]; //[electron_size] Float_t electron_pfiso_pfIsoEA[3][electron_size]; //[electron_size] Float_t electron_d0bsp[3][electron_size]; //[electron_size] Float_t electron_dz000[3][electron_size]; //[electron_size] Float_t electron_IP3D[3][electron_size]; //[electron_size] Float_t electron_dzPV[3][electron_size]; //[electron_size] Int_t jet_size; Float_t jet_px[24][jet_size]; //[jet_size] Float_t jet_py[24][jet_size]; //[jet_size] Float_t jet_pz[24][jet_size]; //[jet_size] Float_t jet_E[24][jet_size]; //[jet_size] Float_t jet_pt[24][jet_size]; //[jet_size] Float_t jet_eta[24][jet_size]; //[jet_size] Float_t jet_phi[24][jet_size]; //[jet_size] Float_t jet_y[24][jet_size]; //[jet_size] Float_t jet_area[24][jet_size]; //[jet_size] Float_t jet_bDiscriminatorSSVHE[24][jet_size]; //[jet_size] Float_t jet_bDiscriminatorTCHE[24][jet_size]; //[jet_size] Float_t jet_bDiscriminatorCSV[24][jet_size]; //[jet_size] Float_t jet_bDiscriminatorJP[24][jet_size]; //[jet_size] Float_t jet_bDiscriminatorSSVHP[24][jet_size]; //[jet_size] Float_t jet_bDiscriminatorTCHP[24][jet_size]; //[jet_size] Int_t photon_size; Float_t photon_px[19][photon_size]; //[photon_size] Float_t photon_py[19][photon_size]; //[photon_size] Float_t photon_pz[19][photon_size]; //[photon_size] Float_t photon_E[19][photon_size]; //[photon_size] Float_t photon_pt[19][photon_size]; //[photon_size] Float_t photon_eta[19][photon_size]; //[photon_size] Float_t photon_phi[19][photon_size]; //[photon_size] Float_t photon_vx[19][photon_size]; //[photon_size] Float_t photon_vy[19][photon_size]; //[photon_size] Float_t photon_vz[19][photon_size]; //[photon_size] Float_t photon_trackiso[19][photon_size]; //[photon_size] Float_t photon_ecaliso[19][photon_size]; //[photon_size] Float_t photon_hcaliso[19][photon_size]; //[photon_size] Float_t photon_HoverE[19][photon_size]; //[photon_size] Float_t photon_SigmaIetaIeta[19][photon_size]; //[photon_size] Int_t photon_hasPixelSeed[19][photon_size]; //[photon_size] Int_t photon_passElecVeto[19][photon_size]; //[photon_size] Int_t genParticle_size; Float_t genParticle_px[2576][genParticle_size]; //[genParticle_size] Float_t genParticle_py[2576][genParticle_size]; //[genParticle_size] Float_t genParticle_pz[2576][genParticle_size]; //[genParticle_size] Float_t genParticle_e[2576][genParticle_size]; //[genParticle_size] Float_t genParticle_pt[2576][genParticle_size]; //[genParticle_size] Float_t genParticle_eta[2576][genParticle_size]; //[genParticle_size] Float_t genParticle_phi[2576][genParticle_size]; //[genParticle_size] Int_t genParticle_charge[2576][genParticle_size]; //[genParticle_size] Float_t genParticle_vx[2576][genParticle_size]; //[genParticle_size] Float_t genParticle_vy[2576][genParticle_size]; //[genParticle_size] Float_t genParticle_vz[2576][genParticle_size]; //[genParticle_size] Float_t genParticle_y[2576][genParticle_size]; //[genParticle_size] Int_t genPart_Status[2576][genParticle_size]; //[genParticle_size] Int_t genPart_pdgId[2576][genParticle_size]; //[genParticle_size] Int_t genjet_size; Float_t genjet_px[72][genjet_size]; //[genjet_size] Float_t genjet_py[72][genjet_size]; //[genjet_size] Float_t genjet_pz[72][genjet_size]; //[genjet_size] Float_t genjet_E[72][genjet_size]; //[genjet_size] Float_t genjet_pt[72][genjet_size]; //[genjet_size] Float_t genjet_eta[72][genjet_size]; //[genjet_size] Float_t genjet_phi[72][genjet_size]; //[genjet_size] Float_t genjet_y[72][genjet_size]; //[genjet_size] Float_t genjet_area[72][genjet_size]; //[genjet_size] // List of branches TBranch *b_event_runNo; //! TBranch *b_event_evtNo; //! TBranch *b_event_lumi; //! TBranch *b_event_bunch; //! TBranch *b_event_nPV; //! TBranch *b_event_met; //! TBranch *b_event_met_px; //! TBranch *b_event_met_py; //! TBranch *b_event_sumet; //! TBranch *b_event_met_phi; //! TBranch *b_event_fastJetRho; //! TBranch *b_muon_size; //! TBranch *b_muon_px; //! TBranch *b_muon_py; //! TBranch *b_muon_pz; //! TBranch *b_muon_e; //! TBranch *b_muon_pt; //! TBranch *b_muon_eta; //! TBranch *b_muon_phi; //! TBranch *b_muon_charge; //! TBranch *b_muon_vx; //! TBranch *b_muon_vy; //! TBranch *b_muon_vz; //! TBranch *b_muon_y; //! TBranch *b_muon_trackiso; //! TBranch *b_muon_ecaliso; //! TBranch *b_muon_hcaliso; //! TBranch *b_muon_Type; //! TBranch *b_muon_numberOfChambers; //! TBranch *b_muon_numberOfMatches; //! TBranch *b_muon_pfiso_sumChargedHadronPt; //! TBranch *b_muon_pfiso_sumChargedParticlePt; //! TBranch *b_muon_pfiso_sumNeutralHadronEt; //! TBranch *b_muon_pfiso_sumPhotonEt; //! TBranch *b_muon_pfiso_sumPUPt; //! TBranch *b_muon_d0bsp; //! TBranch *b_muon_dz000; //! TBranch *b_muon_IP3D; //! TBranch *b_muon_dzPV; //! TBranch *b_electron_size; //! TBranch *b_electron_px; //! TBranch *b_electron_py; //! TBranch *b_electron_pz; //! TBranch *b_electron_e; //! TBranch *b_electron_pt; //! TBranch *b_electron_eta; //! TBranch *b_electron_phi; //! TBranch *b_electron_charge; //! TBranch *b_electron_vx; //! TBranch *b_electron_vy; //! TBranch *b_electron_vz; //! TBranch *b_electron_y; //! TBranch *b_electron_trackiso; //! TBranch *b_electron_ecaliso; //! TBranch *b_electron_hcaliso; //! TBranch *b_electron_classification; //! TBranch *b_electron_HoverE; //! TBranch *b_electron_EoverP; //! TBranch *b_electron_DeltaEta; //! TBranch *b_electron_DeltaPhi; //! TBranch *b_electron_numberOfBrems; //! TBranch *b_electron_BremFraction; //! TBranch *b_electron_SigmaIetaIeta; //! TBranch *b_electron_missingHits; //! TBranch *b_electron_convDist; //! TBranch *b_electron_convDcot; //! TBranch *b_electron_convRadius; //! TBranch *b_electron_pfiso_chargedHadron; //! TBranch *b_electron_pfiso_photon; //! TBranch *b_electron_pfiso_neutralHadron; //! TBranch *b_electron_pfiso_EffAreaPU; //! TBranch *b_electron_pfiso_pfIsoEA; //! TBranch *b_electron_d0bsp; //! TBranch *b_electron_dz000; //! TBranch *b_electron_IP3D; //! TBranch *b_electron_dzPV; //! TBranch *b_jet_size; //! TBranch *b_jet_px; //! TBranch *b_jet_py; //! TBranch *b_jet_pz; //! TBranch *b_jet_E; //! TBranch *b_jet_pt; //! TBranch *b_jet_eta; //! TBranch *b_jet_phi; //! TBranch *b_jet_y; //! TBranch *b_jet_area; //! TBranch *b_jet_bDiscriminatorSSVHE; //! TBranch *b_jet_bDiscriminatorTCHE; //! TBranch *b_jet_bDiscriminatorCSV; //! TBranch *b_jet_bDiscriminatorJP; //! TBranch *b_jet_bDiscriminatorSSVHP; //! TBranch *b_jet_bDiscriminatorTCHP; //! TBranch *b_photon_size; //! TBranch *b_photon_px; //! TBranch *b_photon_py; //! TBranch *b_photon_pz; //! TBranch *b_photon_E; //! TBranch *b_photon_pt; //! TBranch *b_photon_eta; //! TBranch *b_photon_phi; //! TBranch *b_photon_vx; //! TBranch *b_photon_vy; //! TBranch *b_photon_vz; //! TBranch *b_photon_trackiso; //! TBranch *b_photon_ecaliso; //! TBranch *b_photon_hcaliso; //! TBranch *b_photon_HoverE; //! TBranch *b_photon_SigmaIetaIeta; //! TBranch *b_photon_hasPixelSeed; //! TBranch *b_photon_passElecVeto; //! TBranch *b_genParticle_size; //! TBranch *b_genParticle_px; //! TBranch *b_genParticle_py; //! TBranch *b_genParticle_pz; //! TBranch *b_genParticle_e; //! TBranch *b_genParticle_pt; //! TBranch *b_genParticle_eta; //! TBranch *b_genParticle_phi; //! TBranch *b_genParticle_charge; //! TBranch *b_genParticle_vx; //! TBranch *b_genParticle_vy; //! TBranch *b_genParticle_vz; //! TBranch *b_genParticle_y; //! TBranch *b_genPart_Status; //! TBranch *b_genPart_pdgId; //! TBranch *b_genjet_size; //! TBranch *b_genjet_px; //! TBranch *b_genjet_py; //! TBranch *b_genjet_pz; //! TBranch *b_genjet_E; //! TBranch *b_genjet_pt; //! TBranch *b_genjet_eta; //! TBranch *b_genjet_phi; //! TBranch *b_genjet_y; //! TBranch *b_genjet_area; //! FullSim(TTree *tree=0); virtual ~FullSim(); virtual Int_t Cut(Long64_t entry); virtual Int_t GetEntry(Long64_t entry); virtual Long64_t LoadTree(Long64_t entry); virtual void Init(TTree *tree); virtual void Loop(); virtual Bool_t Notify(); virtual void Show(Long64_t entry = -1); }; #endif #ifdef FullSim_cxx FullSim::FullSim(TTree *tree) : fChain(0) { // if parameter tree is not specified (or zero), connect the file // used to generate this class and read the Tree. if (tree == 0) { TFile *f = (TFile*)gROOT->GetListOfFiles()->FindObject("TTtoAnything_14TeV_PU50_CMSSW601.root"); if (!f || !f->IsOpen()) { f = new TFile("TTtoAnything_14TeV_PU50_CMSSW601.root"); } f->GetObject("tree",tree); } Init(tree); } FullSim::~FullSim() { if (!fChain) return; delete fChain->GetCurrentFile(); } Int_t FullSim::GetEntry(Long64_t entry) { // Read contents of entry. if (!fChain) return 0; return fChain->GetEntry(entry); } Long64_t FullSim::LoadTree(Long64_t entry) { // Set the environment to read one entry if (!fChain) return -5; Long64_t centry = fChain->LoadTree(entry); if (centry < 0) return centry; if (fChain->GetTreeNumber() != fCurrent) { fCurrent = fChain->GetTreeNumber(); Notify(); } return centry; } void FullSim::Init(TTree *tree) { // The Init() function is called when the selector needs to initialize // a new tree or chain. Typically here the branch addresses and branch // pointers of the tree will be set. // It is normally not necessary to make changes to the generated // code, but the routine can be extended by the user if needed. // Init() will be called many times when running on PROOF // (once per file to be processed). // Set branch addresses and branch pointers if (!tree) return; fChain = tree; fCurrent = -1; fChain->SetMakeClass(1); fChain->SetBranchAddress("event_runNo", &event_runNo, &b_event_runNo); fChain->SetBranchAddress("event_evtNo", &event_evtNo, &b_event_evtNo); fChain->SetBranchAddress("event_lumi", &event_lumi, &b_event_lumi); fChain->SetBranchAddress("event_bunch", &event_bunch, &b_event_bunch); fChain->SetBranchAddress("event_nPV", &event_nPV, &b_event_nPV); fChain->SetBranchAddress("event_met", &event_met, &b_event_met); fChain->SetBranchAddress("event_met_px", &event_met_px, &b_event_met_px); fChain->SetBranchAddress("event_met_py", &event_met_py, &b_event_met_py); fChain->SetBranchAddress("event_sumet", &event_sumet, &b_event_sumet); fChain->SetBranchAddress("event_met_phi", &event_met_phi, &b_event_met_phi); fChain->SetBranchAddress("event_fastJetRho", &event_fastJetRho, &b_event_fastJetRho); fChain->SetBranchAddress("muon_size", &muon_size, &b_muon_size); fChain->SetBranchAddress("muon_px[muon_size]", muon_px, &b_muon_px); fChain->SetBranchAddress("muon_py[muon_size]", muon_py, &b_muon_py); fChain->SetBranchAddress("muon_pz[muon_size]", muon_pz, &b_muon_pz); fChain->SetBranchAddress("muon_e[muon_size]", muon_e, &b_muon_e); fChain->SetBranchAddress("muon_pt[muon_size]", muon_pt, &b_muon_pt); fChain->SetBranchAddress("muon_eta[muon_size]", muon_eta, &b_muon_eta); fChain->SetBranchAddress("muon_phi[muon_size]", muon_phi, &b_muon_phi); fChain->SetBranchAddress("muon_charge[muon_size]", muon_charge, &b_muon_charge); fChain->SetBranchAddress("muon_vx[muon_size]", muon_vx, &b_muon_vx); fChain->SetBranchAddress("muon_vy[muon_size]", muon_vy, &b_muon_vy); fChain->SetBranchAddress("muon_vz[muon_size]", muon_vz, &b_muon_vz); fChain->SetBranchAddress("muon_y[muon_size]", muon_y, &b_muon_y); fChain->SetBranchAddress("muon_trackiso[muon_size]", muon_trackiso, &b_muon_trackiso); fChain->SetBranchAddress("muon_ecaliso[muon_size]", muon_ecaliso, &b_muon_ecaliso); fChain->SetBranchAddress("muon_hcaliso[muon_size]", muon_hcaliso, &b_muon_hcaliso); fChain->SetBranchAddress("muon_Type[muon_size]", muon_Type, &b_muon_Type); fChain->SetBranchAddress("muon_numberOfChambers[muon_size]", muon_numberOfChambers, &b_muon_numberOfChambers); fChain->SetBranchAddress("muon_numberOfMatches[muon_size]", muon_numberOfMatches, &b_muon_numberOfMatches); fChain->SetBranchAddress("muon_pfiso_sumChargedHadronPt[muon_size]", muon_pfiso_sumChargedHadronPt, &b_muon_pfiso_sumChargedHadronPt); fChain->SetBranchAddress("muon_pfiso_sumChargedParticlePt[muon_size]", muon_pfiso_sumChargedParticlePt, &b_muon_pfiso_sumChargedParticlePt); fChain->SetBranchAddress("muon_pfiso_sumNeutralHadronEt[muon_size]", muon_pfiso_sumNeutralHadronEt, &b_muon_pfiso_sumNeutralHadronEt); fChain->SetBranchAddress("muon_pfiso_sumPhotonEt[muon_size]", muon_pfiso_sumPhotonEt, &b_muon_pfiso_sumPhotonEt); fChain->SetBranchAddress("muon_pfiso_sumPUPt[muon_size]", muon_pfiso_sumPUPt, &b_muon_pfiso_sumPUPt); fChain->SetBranchAddress("muon_d0bsp[muon_size]", muon_d0bsp, &b_muon_d0bsp); fChain->SetBranchAddress("muon_dz000[muon_size]", muon_dz000, &b_muon_dz000); fChain->SetBranchAddress("muon_IP3D[muon_size]", muon_IP3D, &b_muon_IP3D); fChain->SetBranchAddress("muon_dzPV[muon_size]", muon_dzPV, &b_muon_dzPV); fChain->SetBranchAddress("electron_size", &electron_size, &b_electron_size); fChain->SetBranchAddress("electron_px[electron_size]", electron_px, &b_electron_px); fChain->SetBranchAddress("electron_py[electron_size]", electron_py, &b_electron_py); fChain->SetBranchAddress("electron_pz[electron_size]", electron_pz, &b_electron_pz); fChain->SetBranchAddress("electron_e[electron_size]", electron_e, &b_electron_e); fChain->SetBranchAddress("electron_pt[electron_size]", electron_pt, &b_electron_pt); fChain->SetBranchAddress("electron_eta[electron_size]", electron_eta, &b_electron_eta); fChain->SetBranchAddress("electron_phi[electron_size]", electron_phi, &b_electron_phi); fChain->SetBranchAddress("electron_charge[electron_size]", electron_charge, &b_electron_charge); fChain->SetBranchAddress("electron_vx[electron_size]", electron_vx, &b_electron_vx); fChain->SetBranchAddress("electron_vy[electron_size]", electron_vy, &b_electron_vy); fChain->SetBranchAddress("electron_vz[electron_size]", electron_vz, &b_electron_vz); fChain->SetBranchAddress("electron_y[electron_size]", electron_y, &b_electron_y); fChain->SetBranchAddress("electron_trackiso[electron_size]", electron_trackiso, &b_electron_trackiso); fChain->SetBranchAddress("electron_ecaliso[electron_size]", electron_ecaliso, &b_electron_ecaliso); fChain->SetBranchAddress("electron_hcaliso[electron_size]", electron_hcaliso, &b_electron_hcaliso); fChain->SetBranchAddress("electron_classification[electron_size]", electron_classification, &b_electron_classification); fChain->SetBranchAddress("electron_HoverE[electron_size]", electron_HoverE, &b_electron_HoverE); fChain->SetBranchAddress("electron_EoverP[electron_size]", electron_EoverP, &b_electron_EoverP); fChain->SetBranchAddress("electron_DeltaEta[electron_size]", electron_DeltaEta, &b_electron_DeltaEta); fChain->SetBranchAddress("electron_DeltaPhi[electron_size]", electron_DeltaPhi, &b_electron_DeltaPhi); fChain->SetBranchAddress("electron_numberOfBrems[electron_size]", electron_numberOfBrems, &b_electron_numberOfBrems); fChain->SetBranchAddress("electron_BremFraction[electron_size]", electron_BremFraction, &b_electron_BremFraction); fChain->SetBranchAddress("electron_SigmaIetaIeta[electron_size]", electron_SigmaIetaIeta, &b_electron_SigmaIetaIeta); fChain->SetBranchAddress("electron_missingHits[electron_size]", electron_missingHits, &b_electron_missingHits); fChain->SetBranchAddress("electron_convDist[electron_size]", electron_convDist, &b_electron_convDist); fChain->SetBranchAddress("electron_convDcot[electron_size]", electron_convDcot, &b_electron_convDcot); fChain->SetBranchAddress("electron_convRadius[electron_size]", electron_convRadius, &b_electron_convRadius); fChain->SetBranchAddress("electron_pfiso_chargedHadron[electron_size]", electron_pfiso_chargedHadron, &b_electron_pfiso_chargedHadron); fChain->SetBranchAddress("electron_pfiso_photon[electron_size]", electron_pfiso_photon, &b_electron_pfiso_photon); fChain->SetBranchAddress("electron_pfiso_neutralHadron[electron_size]", electron_pfiso_neutralHadron, &b_electron_pfiso_neutralHadron); fChain->SetBranchAddress("electron_pfiso_EffAreaPU[electron_size]", electron_pfiso_EffAreaPU, &b_electron_pfiso_EffAreaPU); fChain->SetBranchAddress("electron_pfiso_pfIsoEA[electron_size]", electron_pfiso_pfIsoEA, &b_electron_pfiso_pfIsoEA); fChain->SetBranchAddress("electron_d0bsp[electron_size]", electron_d0bsp, &b_electron_d0bsp); fChain->SetBranchAddress("electron_dz000[electron_size]", electron_dz000, &b_electron_dz000); fChain->SetBranchAddress("electron_IP3D[electron_size]", electron_IP3D, &b_electron_IP3D); fChain->SetBranchAddress("electron_dzPV[electron_size]", electron_dzPV, &b_electron_dzPV); fChain->SetBranchAddress("jet_size", &jet_size, &b_jet_size); fChain->SetBranchAddress("jet_px[jet_size]", jet_px, &b_jet_px); fChain->SetBranchAddress("jet_py[jet_size]", jet_py, &b_jet_py); fChain->SetBranchAddress("jet_pz[jet_size]", jet_pz, &b_jet_pz); fChain->SetBranchAddress("jet_E[jet_size]", jet_E, &b_jet_E); fChain->SetBranchAddress("jet_pt[jet_size]", jet_pt, &b_jet_pt); fChain->SetBranchAddress("jet_eta[jet_size]", jet_eta, &b_jet_eta); fChain->SetBranchAddress("jet_phi[jet_size]", jet_phi, &b_jet_phi); fChain->SetBranchAddress("jet_y[jet_size]", jet_y, &b_jet_y); fChain->SetBranchAddress("jet_area[jet_size]", jet_area, &b_jet_area); fChain->SetBranchAddress("jet_bDiscriminatorSSVHE[jet_size]", jet_bDiscriminatorSSVHE, &b_jet_bDiscriminatorSSVHE); fChain->SetBranchAddress("jet_bDiscriminatorTCHE[jet_size]", jet_bDiscriminatorTCHE, &b_jet_bDiscriminatorTCHE); fChain->SetBranchAddress("jet_bDiscriminatorCSV[jet_size]", jet_bDiscriminatorCSV, &b_jet_bDiscriminatorCSV); fChain->SetBranchAddress("jet_bDiscriminatorJP[jet_size]", jet_bDiscriminatorJP, &b_jet_bDiscriminatorJP); fChain->SetBranchAddress("jet_bDiscriminatorSSVHP[jet_size]", jet_bDiscriminatorSSVHP, &b_jet_bDiscriminatorSSVHP); fChain->SetBranchAddress("jet_bDiscriminatorTCHP[jet_size]", jet_bDiscriminatorTCHP, &b_jet_bDiscriminatorTCHP); fChain->SetBranchAddress("photon_size", &photon_size, &b_photon_size); fChain->SetBranchAddress("photon_px[photon_size]", photon_px, &b_photon_px); fChain->SetBranchAddress("photon_py[photon_size]", photon_py, &b_photon_py); fChain->SetBranchAddress("photon_pz[photon_size]", photon_pz, &b_photon_pz); fChain->SetBranchAddress("photon_E[photon_size]", photon_E, &b_photon_E); fChain->SetBranchAddress("photon_pt[photon_size]", photon_pt, &b_photon_pt); fChain->SetBranchAddress("photon_eta[photon_size]", photon_eta, &b_photon_eta); fChain->SetBranchAddress("photon_phi[photon_size]", photon_phi, &b_photon_phi); fChain->SetBranchAddress("photon_vx[photon_size]", photon_vx, &b_photon_vx); fChain->SetBranchAddress("photon_vy[photon_size]", photon_vy, &b_photon_vy); fChain->SetBranchAddress("photon_vz[photon_size]", photon_vz, &b_photon_vz); fChain->SetBranchAddress("photon_trackiso[photon_size]", photon_trackiso, &b_photon_trackiso); fChain->SetBranchAddress("photon_ecaliso[photon_size]", photon_ecaliso, &b_photon_ecaliso); fChain->SetBranchAddress("photon_hcaliso[photon_size]", photon_hcaliso, &b_photon_hcaliso); fChain->SetBranchAddress("photon_HoverE[photon_size]", photon_HoverE, &b_photon_HoverE); fChain->SetBranchAddress("photon_SigmaIetaIeta[photon_size]", photon_SigmaIetaIeta, &b_photon_SigmaIetaIeta); fChain->SetBranchAddress("photon_hasPixelSeed[photon_size]", photon_hasPixelSeed, &b_photon_hasPixelSeed); fChain->SetBranchAddress("photon_passElecVeto[photon_size]", photon_passElecVeto, &b_photon_passElecVeto); fChain->SetBranchAddress("genParticle_size", &genParticle_size, &b_genParticle_size); fChain->SetBranchAddress("genParticle_px[genParticle_size]", genParticle_px, &b_genParticle_px); fChain->SetBranchAddress("genParticle_py[genParticle_size]", genParticle_py, &b_genParticle_py); fChain->SetBranchAddress("genParticle_pz[genParticle_size]", genParticle_pz, &b_genParticle_pz); fChain->SetBranchAddress("genParticle_e[genParticle_size]", genParticle_e, &b_genParticle_e); fChain->SetBranchAddress("genParticle_pt[genParticle_size]", genParticle_pt, &b_genParticle_pt); fChain->SetBranchAddress("genParticle_eta[genParticle_size]", genParticle_eta, &b_genParticle_eta); fChain->SetBranchAddress("genParticle_phi[genParticle_size]", genParticle_phi, &b_genParticle_phi); fChain->SetBranchAddress("genParticle_charge[genParticle_size]", genParticle_charge, &b_genParticle_charge); fChain->SetBranchAddress("genParticle_vx[genParticle_size]", genParticle_vx, &b_genParticle_vx); fChain->SetBranchAddress("genParticle_vy[genParticle_size]", genParticle_vy, &b_genParticle_vy); fChain->SetBranchAddress("genParticle_vz[genParticle_size]", genParticle_vz, &b_genParticle_vz); fChain->SetBranchAddress("genParticle_y[genParticle_size]", genParticle_y, &b_genParticle_y); fChain->SetBranchAddress("genPart_Status[genParticle_size]", genPart_Status, &b_genPart_Status); fChain->SetBranchAddress("genPart_pdgId[genParticle_size]", genPart_pdgId, &b_genPart_pdgId); fChain->SetBranchAddress("genjet_size", &genjet_size, &b_genjet_size); fChain->SetBranchAddress("genjet_px[genjet_size]", genjet_px, &b_genjet_px); fChain->SetBranchAddress("genjet_py[genjet_size]", genjet_py, &b_genjet_py); fChain->SetBranchAddress("genjet_pz[genjet_size]", genjet_pz, &b_genjet_pz); fChain->SetBranchAddress("genjet_E[genjet_size]", genjet_E, &b_genjet_E); fChain->SetBranchAddress("genjet_pt[genjet_size]", genjet_pt, &b_genjet_pt); fChain->SetBranchAddress("genjet_eta[genjet_size]", genjet_eta, &b_genjet_eta); fChain->SetBranchAddress("genjet_phi[genjet_size]", genjet_phi, &b_genjet_phi); fChain->SetBranchAddress("genjet_y[genjet_size]", genjet_y, &b_genjet_y); fChain->SetBranchAddress("genjet_area[genjet_size]", genjet_area, &b_genjet_area); Notify(); } Bool_t FullSim::Notify() { // The Notify() function is called when a new file is opened. This // can be either for a new TTree in a TChain or when when a new TTree // is started when using PROOF. It is normally not necessary to make changes // to the generated code, but the routine can be extended by the // user if needed. The return value is currently not used. return kTRUE; } void FullSim::Show(Long64_t entry) { // Print contents of entry. // If entry is not specified, print current entry if (!fChain) return; fChain->Show(entry); } Int_t FullSim::Cut(Long64_t entry) { // This function may be called from Loop. // returns 1 if entry is accepted. // returns -1 otherwise. return 1; } #endif // #ifdef FullSim_cxx