////////////////////////////////////////////////////////// // This class has been automatically generated on // Mon Nov 6 15:59:13 2017 by ROOT version 6.10/06 // from TTree tree/tree // found on file: trackingNtuple.root ////////////////////////////////////////////////////////// #ifndef TrackingNtuple_h #define TrackingNtuple_h #include #include #include // Header file for the classes stored in the TTree if any. #include class TrackingNtuple { public : TTree *fChain; //!pointer to the analyzed TTree or TChain Int_t fCurrent; //!current Tree number in a TChain // Fixed size dimensions of array or collections stored in the TTree if any. // Declaration of leaf types ULong64_t event; UInt_t lumi; UInt_t run; vector *trk_px; vector *trk_py; vector *trk_pz; vector *trk_pt; vector *trk_inner_px; vector *trk_inner_py; vector *trk_inner_pz; vector *trk_inner_pt; vector *trk_outer_px; vector *trk_outer_py; vector *trk_outer_pz; vector *trk_outer_pt; vector *trk_eta; vector *trk_lambda; vector *trk_cotTheta; vector *trk_phi; vector *trk_dxy; vector *trk_dz; vector *trk_ptErr; vector *trk_etaErr; vector *trk_lambdaErr; vector *trk_phiErr; vector *trk_dxyErr; vector *trk_dzErr; vector *trk_refpoint_x; vector *trk_refpoint_y; vector *trk_refpoint_z; vector *trk_nChi2; vector *trk_q; vector *trk_nValid; vector *trk_nInvalid; vector *trk_nPixel; vector *trk_nStrip; vector *trk_nPixelLay; vector *trk_nStripLay; vector *trk_n3DLay; vector *trk_nOuterLost; vector *trk_nInnerLost; vector *trk_algo; vector *trk_originalAlgo; vector *trk_algoMask; vector *trk_stopReason; vector *trk_isHP; vector *trk_seedIdx; vector *trk_vtxx; vector *trk_vtxy; vector *trk_vtxz; vector > *trk_shareFrac; vector > *trk_simTrkIdx; vector > *trk_hitIdx; vector > *trk_hitType; vector *trk_genIdx; vector *trk_genDR; vector *sim_event; vector *sim_bunchCrossing; vector *sim_pdgId; vector > *sim_genPdgIds; vector *sim_isFromBHadron; vector *sim_px; vector *sim_py; vector *sim_pz; vector *sim_pt; vector *sim_eta; vector *sim_phi; vector *sim_pca_pt; vector *sim_pca_eta; vector *sim_pca_lambda; vector *sim_pca_cotTheta; vector *sim_pca_phi; vector *sim_pca_dxy; vector *sim_pca_dz; vector *sim_q; vector *sim_nValid; vector *sim_nPixel; vector *sim_nStrip; vector *sim_nLay; vector *sim_nPixelLay; vector *sim_n3DLay; vector > *sim_trkIdx; vector > *sim_shareFrac; vector > *sim_seedIdx; vector *sim_parentVtxIdx; vector > *sim_decayVtxIdx; vector > *sim_simHitIdx; vector *pix_isBarrel; vector *pix_ladder; vector *pix_blade; vector *pix_panel; vector *pix_detId; vector *pix_subdet; vector *pix_layer; vector *pix_side; vector *pix_module; vector > *pix_trkIdx; vector > *pix_seeIdx; vector > *pix_simHitIdx; vector > *pix_chargeFraction; vector *pix_simType; vector *pix_x; vector *pix_y; vector *pix_z; vector *pix_xx; vector *pix_xy; vector *pix_yy; vector *pix_yz; vector *pix_zz; vector *pix_zx; vector *pix_radL; vector *pix_bbxi; vector *str_isBarrel; vector *str_string; vector *str_petalNumber; vector *str_isStereo; vector *str_isRPhi; vector *str_isGlued; vector *str_order; vector *str_ring; vector *str_rod; vector *str_detId; vector *str_subdet; vector *str_layer; vector *str_side; vector *str_module; vector > *str_trkIdx; vector > *str_seeIdx; vector > *str_simHitIdx; vector > *str_chargeFraction; vector *str_simType; vector *str_x; vector *str_y; vector *str_z; vector *str_xx; vector *str_xy; vector *str_yy; vector *str_yz; vector *str_zz; vector *str_zx; vector *str_radL; vector *str_bbxi; vector *glu_isBarrel; vector *glu_string; vector *glu_petalNumber; vector *glu_isStereo; vector *glu_isRPhi; vector *glu_isGlued; vector *glu_order; vector *glu_ring; vector *glu_rod; vector *glu_detId; vector *glu_subdet; vector *glu_layer; vector *glu_side; vector *glu_module; vector *glu_monoIdx; vector *glu_stereoIdx; vector > *glu_seeIdx; vector *glu_x; vector *glu_y; vector *glu_z; vector *glu_xx; vector *glu_xy; vector *glu_yy; vector *glu_yz; vector *glu_zz; vector *glu_zx; vector *glu_radL; vector *glu_bbxi; vector *inv_isBarrel; vector *inv_string; vector *inv_petalNumber; vector *inv_isStereo; vector *inv_isRPhi; vector *inv_isGlued; vector *inv_order; vector *inv_ring; vector *inv_rod; vector *inv_ladder; vector *inv_blade; vector *inv_panel; vector *inv_detId; vector *inv_subdet; vector *inv_layer; vector *inv_side; vector *inv_module; vector *inv_type; vector *simhit_string; vector *simhit_petalNumber; vector *simhit_isStereo; vector *simhit_isRPhi; vector *simhit_isGlued; vector *simhit_order; vector *simhit_ring; vector *simhit_rod; vector *simhit_ladder; vector *simhit_blade; vector *simhit_panel; vector *simhit_detId; vector *simhit_subdet; vector *simhit_layer; vector *simhit_side; vector *simhit_module; vector *simhit_x; vector *simhit_y; vector *simhit_z; vector *simhit_particle; vector *simhit_process; vector *simhit_eloss; vector *simhit_tof; vector *simhit_simTrkIdx; vector > *simhit_hitIdx; vector > *simhit_hitType; Float_t bsp_x; Float_t bsp_y; Float_t bsp_z; Float_t bsp_sigmax; Float_t bsp_sigmay; Float_t bsp_sigmaz; vector *see_fitok; vector *see_px; vector *see_py; vector *see_pz; vector *see_pt; vector *see_eta; vector *see_phi; vector *see_dxy; vector *see_dz; vector *see_ptErr; vector *see_etaErr; vector *see_phiErr; vector *see_dxyErr; vector *see_dzErr; vector *see_chi2; vector *see_statePt; vector *see_stateTrajX; vector *see_stateTrajY; vector *see_stateTrajPx; vector *see_stateTrajPy; vector *see_stateTrajPz; vector *see_q; vector *see_nValid; vector *see_nPixel; vector *see_nGlued; vector *see_nStrip; vector *see_nPhase2OT; vector *see_algo; vector *see_stopReason; vector *see_algoOriginal; vector *see_trkIdx; vector > *see_shareFrac; vector > *see_simTrkIdx; vector > *see_hitIdx; vector > *see_hitType; vector *see_offset; vector *see_hitsMask; vector *see_subDet2; vector *see_dRz2; vector *see_dPhi2; vector *see_dRz2Pos; vector *see_dPhi2Pos; vector *see_subDet1; vector *see_dRz1; vector *see_dPhi1; vector *see_dRz1Pos; vector *see_dPhi1Pos; vector *see_superClusterEnergy; vector *see_superClusterEta; vector *see_superClusterPhi; vector *see_superClusterEt; vector *see_superClusterIdx; vector *see_ecalDriven; vector *see_trkDriven; vector *vtx_x; vector *vtx_y; vector *vtx_z; vector *vtx_xErr; vector *vtx_yErr; vector *vtx_zErr; vector *vtx_ndof; vector *vtx_chi2; vector *vtx_fake; vector *vtx_valid; vector > *vtx_trkIdx; vector *gen_px; vector *gen_py; vector *gen_pz; vector *gen_charge; vector *gen_pdgId; vector *gen_vx; vector *gen_vy; vector *gen_vz; vector *gen_status; vector *gen_mother; vector *gen_isTauDecayProduct; vector *gen_isDirectHadronDecayProduct; vector *gen_isPrompt; vector *simvtx_event; vector *simvtx_bunchCrossing; vector *simvtx_processType; vector *simvtx_x; vector *simvtx_y; vector *simvtx_z; vector > *simvtx_sourceSimIdx; vector > *simvtx_daughterSimIdx; vector *simpv_idx; vector *scl_e; vector *scl_px; vector *scl_py; vector *scl_pz; vector *scl_x; vector *scl_y; vector *scl_z; vector > *scl_charge; vector > *scl_subDet1; vector > *scl_subDet2; vector > *scl_dRz1; vector > *scl_dPhi1; vector > *scl_dRz2; vector > *scl_dPhi2; vector > *scl_seedType; vector > *scl_hitsMask; // List of branches TBranch *b_event; //! TBranch *b_lumi; //! TBranch *b_run; //! TBranch *b_trk_px; //! TBranch *b_trk_py; //! TBranch *b_trk_pz; //! TBranch *b_trk_pt; //! TBranch *b_trk_inner_px; //! TBranch *b_trk_inner_py; //! TBranch *b_trk_inner_pz; //! TBranch *b_trk_inner_pt; //! TBranch *b_trk_outer_px; //! TBranch *b_trk_outer_py; //! TBranch *b_trk_outer_pz; //! TBranch *b_trk_outer_pt; //! TBranch *b_trk_eta; //! TBranch *b_trk_lambda; //! TBranch *b_trk_cotTheta; //! TBranch *b_trk_phi; //! TBranch *b_trk_dxy; //! TBranch *b_trk_dz; //! TBranch *b_trk_ptErr; //! TBranch *b_trk_etaErr; //! TBranch *b_trk_lambdaErr; //! TBranch *b_trk_phiErr; //! TBranch *b_trk_dxyErr; //! TBranch *b_trk_dzErr; //! TBranch *b_trk_refpoint_x; //! TBranch *b_trk_refpoint_y; //! TBranch *b_trk_refpoint_z; //! TBranch *b_trk_nChi2; //! TBranch *b_trk_q; //! TBranch *b_trk_nValid; //! TBranch *b_trk_nInvalid; //! TBranch *b_trk_nPixel; //! TBranch *b_trk_nStrip; //! TBranch *b_trk_nPixelLay; //! TBranch *b_trk_nStripLay; //! TBranch *b_trk_n3DLay; //! TBranch *b_trk_nOuterLost; //! TBranch *b_trk_nInnerLost; //! TBranch *b_trk_algo; //! TBranch *b_trk_originalAlgo; //! TBranch *b_trk_algoMask; //! TBranch *b_trk_stopReason; //! TBranch *b_trk_isHP; //! TBranch *b_trk_seedIdx; //! TBranch *b_trk_vtxx; //! TBranch *b_trk_vtxy; //! TBranch *b_trk_vtxz; //! TBranch *b_trk_shareFrac; //! TBranch *b_trk_simTrkIdx; //! TBranch *b_trk_hitIdx; //! TBranch *b_trk_hitType; //! TBranch *b_trk_genIdx; //! TBranch *b_trk_genDR; //! TBranch *b_sim_event; //! TBranch *b_sim_bunchCrossing; //! TBranch *b_sim_pdgId; //! TBranch *b_sim_genPdgIds; //! TBranch *b_sim_isFromBHadron; //! TBranch *b_sim_px; //! TBranch *b_sim_py; //! TBranch *b_sim_pz; //! TBranch *b_sim_pt; //! TBranch *b_sim_eta; //! TBranch *b_sim_phi; //! TBranch *b_sim_pca_pt; //! TBranch *b_sim_pca_eta; //! TBranch *b_sim_pca_lambda; //! TBranch *b_sim_pca_cotTheta; //! TBranch *b_sim_pca_phi; //! TBranch *b_sim_pca_dxy; //! TBranch *b_sim_pca_dz; //! TBranch *b_sim_q; //! TBranch *b_sim_nValid; //! TBranch *b_sim_nPixel; //! TBranch *b_sim_nStrip; //! TBranch *b_sim_nLay; //! TBranch *b_sim_nPixelLay; //! TBranch *b_sim_n3DLay; //! TBranch *b_sim_trkIdx; //! TBranch *b_sim_shareFrac; //! TBranch *b_sim_seedIdx; //! TBranch *b_sim_parentVtxIdx; //! TBranch *b_sim_decayVtxIdx; //! TBranch *b_sim_simHitIdx; //! TBranch *b_pix_isBarrel; //! TBranch *b_pix_ladder; //! TBranch *b_pix_blade; //! TBranch *b_pix_panel; //! TBranch *b_pix_detId; //! TBranch *b_pix_subdet; //! TBranch *b_pix_layer; //! TBranch *b_pix_side; //! TBranch *b_pix_module; //! TBranch *b_pix_trkIdx; //! TBranch *b_pix_seeIdx; //! TBranch *b_pix_simHitIdx; //! TBranch *b_pix_chargeFraction; //! TBranch *b_pix_simType; //! TBranch *b_pix_x; //! TBranch *b_pix_y; //! TBranch *b_pix_z; //! TBranch *b_pix_xx; //! TBranch *b_pix_xy; //! TBranch *b_pix_yy; //! TBranch *b_pix_yz; //! TBranch *b_pix_zz; //! TBranch *b_pix_zx; //! TBranch *b_pix_radL; //! TBranch *b_pix_bbxi; //! TBranch *b_str_isBarrel; //! TBranch *b_str_string; //! TBranch *b_str_petalNumber; //! TBranch *b_str_isStereo; //! TBranch *b_str_isRPhi; //! TBranch *b_str_isGlued; //! TBranch *b_str_order; //! TBranch *b_str_ring; //! TBranch *b_str_rod; //! TBranch *b_str_detId; //! TBranch *b_str_subdet; //! TBranch *b_str_layer; //! TBranch *b_str_side; //! TBranch *b_str_module; //! TBranch *b_str_trkIdx; //! TBranch *b_str_seeIdx; //! TBranch *b_str_simHitIdx; //! TBranch *b_str_chargeFraction; //! TBranch *b_str_simType; //! TBranch *b_str_x; //! TBranch *b_str_y; //! TBranch *b_str_z; //! TBranch *b_str_xx; //! TBranch *b_str_xy; //! TBranch *b_str_yy; //! TBranch *b_str_yz; //! TBranch *b_str_zz; //! TBranch *b_str_zx; //! TBranch *b_str_radL; //! TBranch *b_str_bbxi; //! TBranch *b_glu_isBarrel; //! TBranch *b_glu_string; //! TBranch *b_glu_petalNumber; //! TBranch *b_glu_isStereo; //! TBranch *b_glu_isRPhi; //! TBranch *b_glu_isGlued; //! TBranch *b_glu_order; //! TBranch *b_glu_ring; //! TBranch *b_glu_rod; //! TBranch *b_glu_detId; //! TBranch *b_glu_subdet; //! TBranch *b_glu_layer; //! TBranch *b_glu_side; //! TBranch *b_glu_module; //! TBranch *b_glu_monoIdx; //! TBranch *b_glu_stereoIdx; //! TBranch *b_glu_seeIdx; //! TBranch *b_glu_x; //! TBranch *b_glu_y; //! TBranch *b_glu_z; //! TBranch *b_glu_xx; //! TBranch *b_glu_xy; //! TBranch *b_glu_yy; //! TBranch *b_glu_yz; //! TBranch *b_glu_zz; //! TBranch *b_glu_zx; //! TBranch *b_glu_radL; //! TBranch *b_glu_bbxi; //! TBranch *b_inv_isBarrel; //! TBranch *b_inv_string; //! TBranch *b_inv_petalNumber; //! TBranch *b_inv_isStereo; //! TBranch *b_inv_isRPhi; //! TBranch *b_inv_isGlued; //! TBranch *b_inv_order; //! TBranch *b_inv_ring; //! TBranch *b_inv_rod; //! TBranch *b_inv_ladder; //! TBranch *b_inv_blade; //! TBranch *b_inv_panel; //! TBranch *b_inv_detId; //! TBranch *b_inv_subdet; //! TBranch *b_inv_layer; //! TBranch *b_inv_side; //! TBranch *b_inv_module; //! TBranch *b_inv_type; //! TBranch *b_simhit_string; //! TBranch *b_simhit_petalNumber; //! TBranch *b_simhit_isStereo; //! TBranch *b_simhit_isRPhi; //! TBranch *b_simhit_isGlued; //! TBranch *b_simhit_order; //! TBranch *b_simhit_ring; //! TBranch *b_simhit_rod; //! TBranch *b_simhit_ladder; //! TBranch *b_simhit_blade; //! TBranch *b_simhit_panel; //! TBranch *b_simhit_detId; //! TBranch *b_simhit_subdet; //! TBranch *b_simhit_layer; //! TBranch *b_simhit_side; //! TBranch *b_simhit_module; //! TBranch *b_simhit_x; //! TBranch *b_simhit_y; //! TBranch *b_simhit_z; //! TBranch *b_simhit_particle; //! TBranch *b_simhit_process; //! TBranch *b_simhit_eloss; //! TBranch *b_simhit_tof; //! TBranch *b_simhit_simTrkIdx; //! TBranch *b_simhit_hitIdx; //! TBranch *b_simhit_hitType; //! TBranch *b_bsp_x; //! TBranch *b_bsp_y; //! TBranch *b_bsp_z; //! TBranch *b_bsp_sigmax; //! TBranch *b_bsp_sigmay; //! TBranch *b_bsp_sigmaz; //! TBranch *b_see_fitok; //! TBranch *b_see_px; //! TBranch *b_see_py; //! TBranch *b_see_pz; //! TBranch *b_see_pt; //! TBranch *b_see_eta; //! TBranch *b_see_phi; //! TBranch *b_see_dxy; //! TBranch *b_see_dz; //! TBranch *b_see_ptErr; //! TBranch *b_see_etaErr; //! TBranch *b_see_phiErr; //! TBranch *b_see_dxyErr; //! TBranch *b_see_dzErr; //! TBranch *b_see_chi2; //! TBranch *b_see_statePt; //! TBranch *b_see_stateTrajX; //! TBranch *b_see_stateTrajY; //! TBranch *b_see_stateTrajPx; //! TBranch *b_see_stateTrajPy; //! TBranch *b_see_stateTrajPz; //! TBranch *b_see_q; //! TBranch *b_see_nValid; //! TBranch *b_see_nPixel; //! TBranch *b_see_nGlued; //! TBranch *b_see_nStrip; //! TBranch *b_see_nPhase2OT; //! TBranch *b_see_algo; //! TBranch *b_see_stopReason; //! TBranch *b_see_algoOriginal; //! TBranch *b_see_trkIdx; //! TBranch *b_see_shareFrac; //! TBranch *b_see_simTrkIdx; //! TBranch *b_see_hitIdx; //! TBranch *b_see_hitType; //! TBranch *b_see_offset; //! TBranch *b_see_hitsMask; //! TBranch *b_see_subDet2; //! TBranch *b_see_dRz2; //! TBranch *b_see_dPhi2; //! TBranch *b_see_dRz2Pos; //! TBranch *b_see_dPhi2Pos; //! TBranch *b_see_subDet1; //! TBranch *b_see_dRz1; //! TBranch *b_see_dPhi1; //! TBranch *b_see_dRz1Pos; //! TBranch *b_see_dPhi1Pos; //! TBranch *b_see_superClusterEnergy; //! TBranch *b_see_superClusterEta; //! TBranch *b_see_superClusterPhi; //! TBranch *b_see_superClusterEt; //! TBranch *b_see_superClusterIdx; //! TBranch *b_see_ecalDriven; //! TBranch *b_see_trkDriven; //! TBranch *b_vtx_x; //! TBranch *b_vtx_y; //! TBranch *b_vtx_z; //! TBranch *b_vtx_xErr; //! TBranch *b_vtx_yErr; //! TBranch *b_vtx_zErr; //! TBranch *b_vtx_ndof; //! TBranch *b_vtx_chi2; //! TBranch *b_vtx_fake; //! TBranch *b_vtx_valid; //! TBranch *b_vtx_trkIdx; //! TBranch *b_gen_px; //! TBranch *b_gen_py; //! TBranch *b_gen_pz; //! TBranch *b_gen_charge; //! TBranch *b_gen_pdgId; //! TBranch *b_gen_vx; //! TBranch *b_gen_vy; //! TBranch *b_gen_vz; //! TBranch *b_gen_status; //! TBranch *b_gen_mother; //! TBranch *b_gen_isTauDecayProduct; //! TBranch *b_gen_isDirectHadronDecayProduct; //! TBranch *b_gen_isPrompt; //! TBranch *b_simvtx_event; //! TBranch *b_simvtx_bunchCrossing; //! TBranch *b_simvtx_processType; //! TBranch *b_simvtx_x; //! TBranch *b_simvtx_y; //! TBranch *b_simvtx_z; //! TBranch *b_simvtx_sourceSimIdx; //! TBranch *b_simvtx_daughterSimIdx; //! TBranch *b_simpv_idx; //! TBranch *b_scl_e; //! TBranch *b_scl_px; //! TBranch *b_scl_py; //! TBranch *b_scl_pz; //! TBranch *b_scl_x; //! TBranch *b_scl_y; //! TBranch *b_scl_z; //! TBranch *b_scl_charge; //! TBranch *b_scl_subDet1; //! TBranch *b_scl_subDet2; //! TBranch *b_scl_dRz1; //! TBranch *b_scl_dPhi1; //! TBranch *b_scl_dRz2; //! TBranch *b_scl_dPhi2; //! TBranch *b_scl_seedType; //! TBranch *b_scl_hitsMask; //! TrackingNtuple(TTree *tree=0); virtual ~TrackingNtuple(); 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 Bool_t Notify(); virtual void Show(Long64_t entry = -1); }; TrackingNtuple::TrackingNtuple(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("trackingNtuple.root"); if (!f || !f->IsOpen()) { f = new TFile("trackingNtuple.root"); } TDirectory * dir = (TDirectory*)f->Get("trackingNtuple.root:/trackingNtuple"); dir->GetObject("tree",tree); } Init(tree); } TrackingNtuple::~TrackingNtuple() { if (!fChain) return; delete fChain->GetCurrentFile(); } Int_t TrackingNtuple::GetEntry(Long64_t entry) { // Read contents of entry. if (!fChain) return 0; return fChain->GetEntry(entry); } Long64_t TrackingNtuple::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 TrackingNtuple::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 object pointer trk_px = 0; trk_py = 0; trk_pz = 0; trk_pt = 0; trk_inner_px = 0; trk_inner_py = 0; trk_inner_pz = 0; trk_inner_pt = 0; trk_outer_px = 0; trk_outer_py = 0; trk_outer_pz = 0; trk_outer_pt = 0; trk_eta = 0; trk_lambda = 0; trk_cotTheta = 0; trk_phi = 0; trk_dxy = 0; trk_dz = 0; trk_ptErr = 0; trk_etaErr = 0; trk_lambdaErr = 0; trk_phiErr = 0; trk_dxyErr = 0; trk_dzErr = 0; trk_refpoint_x = 0; trk_refpoint_y = 0; trk_refpoint_z = 0; trk_nChi2 = 0; trk_q = 0; trk_nValid = 0; trk_nInvalid = 0; trk_nPixel = 0; trk_nStrip = 0; trk_nPixelLay = 0; trk_nStripLay = 0; trk_n3DLay = 0; trk_nOuterLost = 0; trk_nInnerLost = 0; trk_algo = 0; trk_originalAlgo = 0; trk_algoMask = 0; trk_stopReason = 0; trk_isHP = 0; trk_seedIdx = 0; trk_vtxx = 0; trk_vtxy = 0; trk_vtxz = 0; trk_shareFrac = 0; trk_simTrkIdx = 0; trk_hitIdx = 0; trk_hitType = 0; trk_genIdx = 0; trk_genDR = 0; sim_event = 0; sim_bunchCrossing = 0; sim_pdgId = 0; sim_genPdgIds = 0; sim_isFromBHadron = 0; sim_px = 0; sim_py = 0; sim_pz = 0; sim_pt = 0; sim_eta = 0; sim_phi = 0; sim_pca_pt = 0; sim_pca_eta = 0; sim_pca_lambda = 0; sim_pca_cotTheta = 0; sim_pca_phi = 0; sim_pca_dxy = 0; sim_pca_dz = 0; sim_q = 0; sim_nValid = 0; sim_nPixel = 0; sim_nStrip = 0; sim_nLay = 0; sim_nPixelLay = 0; sim_n3DLay = 0; sim_trkIdx = 0; sim_shareFrac = 0; sim_seedIdx = 0; sim_parentVtxIdx = 0; sim_decayVtxIdx = 0; sim_simHitIdx = 0; pix_isBarrel = 0; pix_ladder = 0; pix_blade = 0; pix_panel = 0; pix_detId = 0; pix_subdet = 0; pix_layer = 0; pix_side = 0; pix_module = 0; pix_trkIdx = 0; pix_seeIdx = 0; pix_simHitIdx = 0; pix_chargeFraction = 0; pix_simType = 0; pix_x = 0; pix_y = 0; pix_z = 0; pix_xx = 0; pix_xy = 0; pix_yy = 0; pix_yz = 0; pix_zz = 0; pix_zx = 0; pix_radL = 0; pix_bbxi = 0; str_isBarrel = 0; str_string = 0; str_petalNumber = 0; str_isStereo = 0; str_isRPhi = 0; str_isGlued = 0; str_order = 0; str_ring = 0; str_rod = 0; str_detId = 0; str_subdet = 0; str_layer = 0; str_side = 0; str_module = 0; str_trkIdx = 0; str_seeIdx = 0; str_simHitIdx = 0; str_chargeFraction = 0; str_simType = 0; str_x = 0; str_y = 0; str_z = 0; str_xx = 0; str_xy = 0; str_yy = 0; str_yz = 0; str_zz = 0; str_zx = 0; str_radL = 0; str_bbxi = 0; glu_isBarrel = 0; glu_string = 0; glu_petalNumber = 0; glu_isStereo = 0; glu_isRPhi = 0; glu_isGlued = 0; glu_order = 0; glu_ring = 0; glu_rod = 0; glu_detId = 0; glu_subdet = 0; glu_layer = 0; glu_side = 0; glu_module = 0; glu_monoIdx = 0; glu_stereoIdx = 0; glu_seeIdx = 0; glu_x = 0; glu_y = 0; glu_z = 0; glu_xx = 0; glu_xy = 0; glu_yy = 0; glu_yz = 0; glu_zz = 0; glu_zx = 0; glu_radL = 0; glu_bbxi = 0; inv_isBarrel = 0; inv_string = 0; inv_petalNumber = 0; inv_isStereo = 0; inv_isRPhi = 0; inv_isGlued = 0; inv_order = 0; inv_ring = 0; inv_rod = 0; inv_ladder = 0; inv_blade = 0; inv_panel = 0; inv_detId = 0; inv_subdet = 0; inv_layer = 0; inv_side = 0; inv_module = 0; inv_type = 0; simhit_string = 0; simhit_petalNumber = 0; simhit_isStereo = 0; simhit_isRPhi = 0; simhit_isGlued = 0; simhit_order = 0; simhit_ring = 0; simhit_rod = 0; simhit_ladder = 0; simhit_blade = 0; simhit_panel = 0; simhit_detId = 0; simhit_subdet = 0; simhit_layer = 0; simhit_side = 0; simhit_module = 0; simhit_x = 0; simhit_y = 0; simhit_z = 0; simhit_particle = 0; simhit_process = 0; simhit_eloss = 0; simhit_tof = 0; simhit_simTrkIdx = 0; simhit_hitIdx = 0; simhit_hitType = 0; see_fitok = 0; see_px = 0; see_py = 0; see_pz = 0; see_pt = 0; see_eta = 0; see_phi = 0; see_dxy = 0; see_dz = 0; see_ptErr = 0; see_etaErr = 0; see_phiErr = 0; see_dxyErr = 0; see_dzErr = 0; see_chi2 = 0; see_statePt = 0; see_stateTrajX = 0; see_stateTrajY = 0; see_stateTrajPx = 0; see_stateTrajPy = 0; see_stateTrajPz = 0; see_q = 0; see_nValid = 0; see_nPixel = 0; see_nGlued = 0; see_nStrip = 0; see_nPhase2OT = 0; see_algo = 0; see_stopReason = 0; see_algoOriginal = 0; see_trkIdx = 0; see_shareFrac = 0; see_simTrkIdx = 0; see_hitIdx = 0; see_hitType = 0; see_offset = 0; see_hitsMask = 0; see_subDet2 = 0; see_dRz2 = 0; see_dPhi2 = 0; see_dRz2Pos = 0; see_dPhi2Pos = 0; see_subDet1 = 0; see_dRz1 = 0; see_dPhi1 = 0; see_dRz1Pos = 0; see_dPhi1Pos = 0; see_superClusterEnergy = 0; see_superClusterEta = 0; see_superClusterPhi = 0; see_superClusterEt = 0; see_superClusterIdx = 0; see_ecalDriven = 0; see_trkDriven = 0; vtx_x = 0; vtx_y = 0; vtx_z = 0; vtx_xErr = 0; vtx_yErr = 0; vtx_zErr = 0; vtx_ndof = 0; vtx_chi2 = 0; vtx_fake = 0; vtx_valid = 0; vtx_trkIdx = 0; gen_px = 0; gen_py = 0; gen_pz = 0; gen_charge = 0; gen_pdgId = 0; gen_vx = 0; gen_vy = 0; gen_vz = 0; gen_status = 0; gen_mother = 0; gen_isTauDecayProduct = 0; gen_isDirectHadronDecayProduct = 0; gen_isPrompt = 0; simvtx_event = 0; simvtx_bunchCrossing = 0; simvtx_processType = 0; simvtx_x = 0; simvtx_y = 0; simvtx_z = 0; simvtx_sourceSimIdx = 0; simvtx_daughterSimIdx = 0; simpv_idx = 0; scl_e = 0; scl_px = 0; scl_py = 0; scl_pz = 0; scl_x = 0; scl_y = 0; scl_z = 0; scl_charge = 0; scl_subDet1 = 0; scl_subDet2 = 0; scl_dRz1 = 0; scl_dPhi1 = 0; scl_dRz2 = 0; scl_dPhi2 = 0; scl_seedType = 0; scl_hitsMask = 0; // Set branch addresses and branch pointers if (!tree) return; fChain = tree; fCurrent = -1; fChain->SetMakeClass(1); fChain->SetBranchAddress("event", &event, &b_event); fChain->SetBranchAddress("lumi", &lumi, &b_lumi); fChain->SetBranchAddress("run", &run, &b_run); fChain->SetBranchAddress("trk_px", &trk_px, &b_trk_px); fChain->SetBranchAddress("trk_py", &trk_py, &b_trk_py); fChain->SetBranchAddress("trk_pz", &trk_pz, &b_trk_pz); fChain->SetBranchAddress("trk_pt", &trk_pt, &b_trk_pt); fChain->SetBranchAddress("trk_inner_px", &trk_inner_px, &b_trk_inner_px); fChain->SetBranchAddress("trk_inner_py", &trk_inner_py, &b_trk_inner_py); fChain->SetBranchAddress("trk_inner_pz", &trk_inner_pz, &b_trk_inner_pz); fChain->SetBranchAddress("trk_inner_pt", &trk_inner_pt, &b_trk_inner_pt); fChain->SetBranchAddress("trk_outer_px", &trk_outer_px, &b_trk_outer_px); fChain->SetBranchAddress("trk_outer_py", &trk_outer_py, &b_trk_outer_py); fChain->SetBranchAddress("trk_outer_pz", &trk_outer_pz, &b_trk_outer_pz); fChain->SetBranchAddress("trk_outer_pt", &trk_outer_pt, &b_trk_outer_pt); fChain->SetBranchAddress("trk_eta", &trk_eta, &b_trk_eta); fChain->SetBranchAddress("trk_lambda", &trk_lambda, &b_trk_lambda); fChain->SetBranchAddress("trk_cotTheta", &trk_cotTheta, &b_trk_cotTheta); fChain->SetBranchAddress("trk_phi", &trk_phi, &b_trk_phi); fChain->SetBranchAddress("trk_dxy", &trk_dxy, &b_trk_dxy); fChain->SetBranchAddress("trk_dz", &trk_dz, &b_trk_dz); fChain->SetBranchAddress("trk_ptErr", &trk_ptErr, &b_trk_ptErr); fChain->SetBranchAddress("trk_etaErr", &trk_etaErr, &b_trk_etaErr); fChain->SetBranchAddress("trk_lambdaErr", &trk_lambdaErr, &b_trk_lambdaErr); fChain->SetBranchAddress("trk_phiErr", &trk_phiErr, &b_trk_phiErr); fChain->SetBranchAddress("trk_dxyErr", &trk_dxyErr, &b_trk_dxyErr); fChain->SetBranchAddress("trk_dzErr", &trk_dzErr, &b_trk_dzErr); fChain->SetBranchAddress("trk_refpoint_x", &trk_refpoint_x, &b_trk_refpoint_x); fChain->SetBranchAddress("trk_refpoint_y", &trk_refpoint_y, &b_trk_refpoint_y); fChain->SetBranchAddress("trk_refpoint_z", &trk_refpoint_z, &b_trk_refpoint_z); fChain->SetBranchAddress("trk_nChi2", &trk_nChi2, &b_trk_nChi2); fChain->SetBranchAddress("trk_q", &trk_q, &b_trk_q); fChain->SetBranchAddress("trk_nValid", &trk_nValid, &b_trk_nValid); fChain->SetBranchAddress("trk_nInvalid", &trk_nInvalid, &b_trk_nInvalid); fChain->SetBranchAddress("trk_nPixel", &trk_nPixel, &b_trk_nPixel); fChain->SetBranchAddress("trk_nStrip", &trk_nStrip, &b_trk_nStrip); fChain->SetBranchAddress("trk_nPixelLay", &trk_nPixelLay, &b_trk_nPixelLay); fChain->SetBranchAddress("trk_nStripLay", &trk_nStripLay, &b_trk_nStripLay); fChain->SetBranchAddress("trk_n3DLay", &trk_n3DLay, &b_trk_n3DLay); fChain->SetBranchAddress("trk_nOuterLost", &trk_nOuterLost, &b_trk_nOuterLost); fChain->SetBranchAddress("trk_nInnerLost", &trk_nInnerLost, &b_trk_nInnerLost); fChain->SetBranchAddress("trk_algo", &trk_algo, &b_trk_algo); fChain->SetBranchAddress("trk_originalAlgo", &trk_originalAlgo, &b_trk_originalAlgo); fChain->SetBranchAddress("trk_algoMask", &trk_algoMask, &b_trk_algoMask); fChain->SetBranchAddress("trk_stopReason", &trk_stopReason, &b_trk_stopReason); fChain->SetBranchAddress("trk_isHP", &trk_isHP, &b_trk_isHP); fChain->SetBranchAddress("trk_seedIdx", &trk_seedIdx, &b_trk_seedIdx); fChain->SetBranchAddress("trk_vtxx", &trk_vtxx, &b_trk_vtxx); fChain->SetBranchAddress("trk_vtxy", &trk_vtxy, &b_trk_vtxy); fChain->SetBranchAddress("trk_vtxz", &trk_vtxz, &b_trk_vtxz); fChain->SetBranchAddress("trk_shareFrac", &trk_shareFrac, &b_trk_shareFrac); fChain->SetBranchAddress("trk_simTrkIdx", &trk_simTrkIdx, &b_trk_simTrkIdx); fChain->SetBranchAddress("trk_hitIdx", &trk_hitIdx, &b_trk_hitIdx); fChain->SetBranchAddress("trk_hitType", &trk_hitType, &b_trk_hitType); fChain->SetBranchAddress("trk_genIdx", &trk_genIdx, &b_trk_genIdx); fChain->SetBranchAddress("trk_genDR", &trk_genDR, &b_trk_genDR); fChain->SetBranchAddress("sim_event", &sim_event, &b_sim_event); fChain->SetBranchAddress("sim_bunchCrossing", &sim_bunchCrossing, &b_sim_bunchCrossing); fChain->SetBranchAddress("sim_pdgId", &sim_pdgId, &b_sim_pdgId); fChain->SetBranchAddress("sim_genPdgIds", &sim_genPdgIds, &b_sim_genPdgIds); fChain->SetBranchAddress("sim_isFromBHadron", &sim_isFromBHadron, &b_sim_isFromBHadron); fChain->SetBranchAddress("sim_px", &sim_px, &b_sim_px); fChain->SetBranchAddress("sim_py", &sim_py, &b_sim_py); fChain->SetBranchAddress("sim_pz", &sim_pz, &b_sim_pz); fChain->SetBranchAddress("sim_pt", &sim_pt, &b_sim_pt); fChain->SetBranchAddress("sim_eta", &sim_eta, &b_sim_eta); fChain->SetBranchAddress("sim_phi", &sim_phi, &b_sim_phi); fChain->SetBranchAddress("sim_pca_pt", &sim_pca_pt, &b_sim_pca_pt); fChain->SetBranchAddress("sim_pca_eta", &sim_pca_eta, &b_sim_pca_eta); fChain->SetBranchAddress("sim_pca_lambda", &sim_pca_lambda, &b_sim_pca_lambda); fChain->SetBranchAddress("sim_pca_cotTheta", &sim_pca_cotTheta, &b_sim_pca_cotTheta); fChain->SetBranchAddress("sim_pca_phi", &sim_pca_phi, &b_sim_pca_phi); fChain->SetBranchAddress("sim_pca_dxy", &sim_pca_dxy, &b_sim_pca_dxy); fChain->SetBranchAddress("sim_pca_dz", &sim_pca_dz, &b_sim_pca_dz); fChain->SetBranchAddress("sim_q", &sim_q, &b_sim_q); fChain->SetBranchAddress("sim_nValid", &sim_nValid, &b_sim_nValid); fChain->SetBranchAddress("sim_nPixel", &sim_nPixel, &b_sim_nPixel); fChain->SetBranchAddress("sim_nStrip", &sim_nStrip, &b_sim_nStrip); fChain->SetBranchAddress("sim_nLay", &sim_nLay, &b_sim_nLay); fChain->SetBranchAddress("sim_nPixelLay", &sim_nPixelLay, &b_sim_nPixelLay); fChain->SetBranchAddress("sim_n3DLay", &sim_n3DLay, &b_sim_n3DLay); fChain->SetBranchAddress("sim_trkIdx", &sim_trkIdx, &b_sim_trkIdx); fChain->SetBranchAddress("sim_shareFrac", &sim_shareFrac, &b_sim_shareFrac); fChain->SetBranchAddress("sim_seedIdx", &sim_seedIdx, &b_sim_seedIdx); fChain->SetBranchAddress("sim_parentVtxIdx", &sim_parentVtxIdx, &b_sim_parentVtxIdx); fChain->SetBranchAddress("sim_decayVtxIdx", &sim_decayVtxIdx, &b_sim_decayVtxIdx); fChain->SetBranchAddress("sim_simHitIdx", &sim_simHitIdx, &b_sim_simHitIdx); fChain->SetBranchAddress("pix_isBarrel", &pix_isBarrel, &b_pix_isBarrel); fChain->SetBranchAddress("pix_ladder", &pix_ladder, &b_pix_ladder); fChain->SetBranchAddress("pix_blade", &pix_blade, &b_pix_blade); fChain->SetBranchAddress("pix_panel", &pix_panel, &b_pix_panel); fChain->SetBranchAddress("pix_detId", &pix_detId, &b_pix_detId); fChain->SetBranchAddress("pix_subdet", &pix_subdet, &b_pix_subdet); fChain->SetBranchAddress("pix_layer", &pix_layer, &b_pix_layer); fChain->SetBranchAddress("pix_side", &pix_side, &b_pix_side); fChain->SetBranchAddress("pix_module", &pix_module, &b_pix_module); fChain->SetBranchAddress("pix_trkIdx", &pix_trkIdx, &b_pix_trkIdx); fChain->SetBranchAddress("pix_seeIdx", &pix_seeIdx, &b_pix_seeIdx); fChain->SetBranchAddress("pix_simHitIdx", &pix_simHitIdx, &b_pix_simHitIdx); fChain->SetBranchAddress("pix_chargeFraction", &pix_chargeFraction, &b_pix_chargeFraction); fChain->SetBranchAddress("pix_simType", &pix_simType, &b_pix_simType); fChain->SetBranchAddress("pix_x", &pix_x, &b_pix_x); fChain->SetBranchAddress("pix_y", &pix_y, &b_pix_y); fChain->SetBranchAddress("pix_z", &pix_z, &b_pix_z); fChain->SetBranchAddress("pix_xx", &pix_xx, &b_pix_xx); fChain->SetBranchAddress("pix_xy", &pix_xy, &b_pix_xy); fChain->SetBranchAddress("pix_yy", &pix_yy, &b_pix_yy); fChain->SetBranchAddress("pix_yz", &pix_yz, &b_pix_yz); fChain->SetBranchAddress("pix_zz", &pix_zz, &b_pix_zz); fChain->SetBranchAddress("pix_zx", &pix_zx, &b_pix_zx); fChain->SetBranchAddress("pix_radL", &pix_radL, &b_pix_radL); fChain->SetBranchAddress("pix_bbxi", &pix_bbxi, &b_pix_bbxi); fChain->SetBranchAddress("str_isBarrel", &str_isBarrel, &b_str_isBarrel); fChain->SetBranchAddress("str_string", &str_string, &b_str_string); fChain->SetBranchAddress("str_petalNumber", &str_petalNumber, &b_str_petalNumber); fChain->SetBranchAddress("str_isStereo", &str_isStereo, &b_str_isStereo); fChain->SetBranchAddress("str_isRPhi", &str_isRPhi, &b_str_isRPhi); fChain->SetBranchAddress("str_isGlued", &str_isGlued, &b_str_isGlued); fChain->SetBranchAddress("str_order", &str_order, &b_str_order); fChain->SetBranchAddress("str_ring", &str_ring, &b_str_ring); fChain->SetBranchAddress("str_rod", &str_rod, &b_str_rod); fChain->SetBranchAddress("str_detId", &str_detId, &b_str_detId); fChain->SetBranchAddress("str_subdet", &str_subdet, &b_str_subdet); fChain->SetBranchAddress("str_layer", &str_layer, &b_str_layer); fChain->SetBranchAddress("str_side", &str_side, &b_str_side); fChain->SetBranchAddress("str_module", &str_module, &b_str_module); fChain->SetBranchAddress("str_trkIdx", &str_trkIdx, &b_str_trkIdx); fChain->SetBranchAddress("str_seeIdx", &str_seeIdx, &b_str_seeIdx); fChain->SetBranchAddress("str_simHitIdx", &str_simHitIdx, &b_str_simHitIdx); fChain->SetBranchAddress("str_chargeFraction", &str_chargeFraction, &b_str_chargeFraction); fChain->SetBranchAddress("str_simType", &str_simType, &b_str_simType); fChain->SetBranchAddress("str_x", &str_x, &b_str_x); fChain->SetBranchAddress("str_y", &str_y, &b_str_y); fChain->SetBranchAddress("str_z", &str_z, &b_str_z); fChain->SetBranchAddress("str_xx", &str_xx, &b_str_xx); fChain->SetBranchAddress("str_xy", &str_xy, &b_str_xy); fChain->SetBranchAddress("str_yy", &str_yy, &b_str_yy); fChain->SetBranchAddress("str_yz", &str_yz, &b_str_yz); fChain->SetBranchAddress("str_zz", &str_zz, &b_str_zz); fChain->SetBranchAddress("str_zx", &str_zx, &b_str_zx); fChain->SetBranchAddress("str_radL", &str_radL, &b_str_radL); fChain->SetBranchAddress("str_bbxi", &str_bbxi, &b_str_bbxi); fChain->SetBranchAddress("glu_isBarrel", &glu_isBarrel, &b_glu_isBarrel); fChain->SetBranchAddress("glu_string", &glu_string, &b_glu_string); fChain->SetBranchAddress("glu_petalNumber", &glu_petalNumber, &b_glu_petalNumber); fChain->SetBranchAddress("glu_isStereo", &glu_isStereo, &b_glu_isStereo); fChain->SetBranchAddress("glu_isRPhi", &glu_isRPhi, &b_glu_isRPhi); fChain->SetBranchAddress("glu_isGlued", &glu_isGlued, &b_glu_isGlued); fChain->SetBranchAddress("glu_order", &glu_order, &b_glu_order); fChain->SetBranchAddress("glu_ring", &glu_ring, &b_glu_ring); fChain->SetBranchAddress("glu_rod", &glu_rod, &b_glu_rod); fChain->SetBranchAddress("glu_detId", &glu_detId, &b_glu_detId); fChain->SetBranchAddress("glu_subdet", &glu_subdet, &b_glu_subdet); fChain->SetBranchAddress("glu_layer", &glu_layer, &b_glu_layer); fChain->SetBranchAddress("glu_side", &glu_side, &b_glu_side); fChain->SetBranchAddress("glu_module", &glu_module, &b_glu_module); fChain->SetBranchAddress("glu_monoIdx", &glu_monoIdx, &b_glu_monoIdx); fChain->SetBranchAddress("glu_stereoIdx", &glu_stereoIdx, &b_glu_stereoIdx); fChain->SetBranchAddress("glu_seeIdx", &glu_seeIdx, &b_glu_seeIdx); fChain->SetBranchAddress("glu_x", &glu_x, &b_glu_x); fChain->SetBranchAddress("glu_y", &glu_y, &b_glu_y); fChain->SetBranchAddress("glu_z", &glu_z, &b_glu_z); fChain->SetBranchAddress("glu_xx", &glu_xx, &b_glu_xx); fChain->SetBranchAddress("glu_xy", &glu_xy, &b_glu_xy); fChain->SetBranchAddress("glu_yy", &glu_yy, &b_glu_yy); fChain->SetBranchAddress("glu_yz", &glu_yz, &b_glu_yz); fChain->SetBranchAddress("glu_zz", &glu_zz, &b_glu_zz); fChain->SetBranchAddress("glu_zx", &glu_zx, &b_glu_zx); fChain->SetBranchAddress("glu_radL", &glu_radL, &b_glu_radL); fChain->SetBranchAddress("glu_bbxi", &glu_bbxi, &b_glu_bbxi); fChain->SetBranchAddress("inv_isBarrel", &inv_isBarrel, &b_inv_isBarrel); fChain->SetBranchAddress("inv_string", &inv_string, &b_inv_string); fChain->SetBranchAddress("inv_petalNumber", &inv_petalNumber, &b_inv_petalNumber); fChain->SetBranchAddress("inv_isStereo", &inv_isStereo, &b_inv_isStereo); fChain->SetBranchAddress("inv_isRPhi", &inv_isRPhi, &b_inv_isRPhi); fChain->SetBranchAddress("inv_isGlued", &inv_isGlued, &b_inv_isGlued); fChain->SetBranchAddress("inv_order", &inv_order, &b_inv_order); fChain->SetBranchAddress("inv_ring", &inv_ring, &b_inv_ring); fChain->SetBranchAddress("inv_rod", &inv_rod, &b_inv_rod); fChain->SetBranchAddress("inv_ladder", &inv_ladder, &b_inv_ladder); fChain->SetBranchAddress("inv_blade", &inv_blade, &b_inv_blade); fChain->SetBranchAddress("inv_panel", &inv_panel, &b_inv_panel); fChain->SetBranchAddress("inv_detId", &inv_detId, &b_inv_detId); fChain->SetBranchAddress("inv_subdet", &inv_subdet, &b_inv_subdet); fChain->SetBranchAddress("inv_layer", &inv_layer, &b_inv_layer); fChain->SetBranchAddress("inv_side", &inv_side, &b_inv_side); fChain->SetBranchAddress("inv_module", &inv_module, &b_inv_module); fChain->SetBranchAddress("inv_type", &inv_type, &b_inv_type); fChain->SetBranchAddress("simhit_string", &simhit_string, &b_simhit_string); fChain->SetBranchAddress("simhit_petalNumber", &simhit_petalNumber, &b_simhit_petalNumber); fChain->SetBranchAddress("simhit_isStereo", &simhit_isStereo, &b_simhit_isStereo); fChain->SetBranchAddress("simhit_isRPhi", &simhit_isRPhi, &b_simhit_isRPhi); fChain->SetBranchAddress("simhit_isGlued", &simhit_isGlued, &b_simhit_isGlued); fChain->SetBranchAddress("simhit_order", &simhit_order, &b_simhit_order); fChain->SetBranchAddress("simhit_ring", &simhit_ring, &b_simhit_ring); fChain->SetBranchAddress("simhit_rod", &simhit_rod, &b_simhit_rod); fChain->SetBranchAddress("simhit_ladder", &simhit_ladder, &b_simhit_ladder); fChain->SetBranchAddress("simhit_blade", &simhit_blade, &b_simhit_blade); fChain->SetBranchAddress("simhit_panel", &simhit_panel, &b_simhit_panel); fChain->SetBranchAddress("simhit_detId", &simhit_detId, &b_simhit_detId); fChain->SetBranchAddress("simhit_subdet", &simhit_subdet, &b_simhit_subdet); fChain->SetBranchAddress("simhit_layer", &simhit_layer, &b_simhit_layer); fChain->SetBranchAddress("simhit_side", &simhit_side, &b_simhit_side); fChain->SetBranchAddress("simhit_module", &simhit_module, &b_simhit_module); fChain->SetBranchAddress("simhit_x", &simhit_x, &b_simhit_x); fChain->SetBranchAddress("simhit_y", &simhit_y, &b_simhit_y); fChain->SetBranchAddress("simhit_z", &simhit_z, &b_simhit_z); fChain->SetBranchAddress("simhit_particle", &simhit_particle, &b_simhit_particle); fChain->SetBranchAddress("simhit_process", &simhit_process, &b_simhit_process); fChain->SetBranchAddress("simhit_eloss", &simhit_eloss, &b_simhit_eloss); fChain->SetBranchAddress("simhit_tof", &simhit_tof, &b_simhit_tof); fChain->SetBranchAddress("simhit_simTrkIdx", &simhit_simTrkIdx, &b_simhit_simTrkIdx); fChain->SetBranchAddress("simhit_hitIdx", &simhit_hitIdx, &b_simhit_hitIdx); fChain->SetBranchAddress("simhit_hitType", &simhit_hitType, &b_simhit_hitType); fChain->SetBranchAddress("bsp_x", &bsp_x, &b_bsp_x); fChain->SetBranchAddress("bsp_y", &bsp_y, &b_bsp_y); fChain->SetBranchAddress("bsp_z", &bsp_z, &b_bsp_z); fChain->SetBranchAddress("bsp_sigmax", &bsp_sigmax, &b_bsp_sigmax); fChain->SetBranchAddress("bsp_sigmay", &bsp_sigmay, &b_bsp_sigmay); fChain->SetBranchAddress("bsp_sigmaz", &bsp_sigmaz, &b_bsp_sigmaz); fChain->SetBranchAddress("see_fitok", &see_fitok, &b_see_fitok); fChain->SetBranchAddress("see_px", &see_px, &b_see_px); fChain->SetBranchAddress("see_py", &see_py, &b_see_py); fChain->SetBranchAddress("see_pz", &see_pz, &b_see_pz); fChain->SetBranchAddress("see_pt", &see_pt, &b_see_pt); fChain->SetBranchAddress("see_eta", &see_eta, &b_see_eta); fChain->SetBranchAddress("see_phi", &see_phi, &b_see_phi); fChain->SetBranchAddress("see_dxy", &see_dxy, &b_see_dxy); fChain->SetBranchAddress("see_dz", &see_dz, &b_see_dz); fChain->SetBranchAddress("see_ptErr", &see_ptErr, &b_see_ptErr); fChain->SetBranchAddress("see_etaErr", &see_etaErr, &b_see_etaErr); fChain->SetBranchAddress("see_phiErr", &see_phiErr, &b_see_phiErr); fChain->SetBranchAddress("see_dxyErr", &see_dxyErr, &b_see_dxyErr); fChain->SetBranchAddress("see_dzErr", &see_dzErr, &b_see_dzErr); fChain->SetBranchAddress("see_chi2", &see_chi2, &b_see_chi2); fChain->SetBranchAddress("see_statePt", &see_statePt, &b_see_statePt); fChain->SetBranchAddress("see_stateTrajX", &see_stateTrajX, &b_see_stateTrajX); fChain->SetBranchAddress("see_stateTrajY", &see_stateTrajY, &b_see_stateTrajY); fChain->SetBranchAddress("see_stateTrajPx", &see_stateTrajPx, &b_see_stateTrajPx); fChain->SetBranchAddress("see_stateTrajPy", &see_stateTrajPy, &b_see_stateTrajPy); fChain->SetBranchAddress("see_stateTrajPz", &see_stateTrajPz, &b_see_stateTrajPz); fChain->SetBranchAddress("see_q", &see_q, &b_see_q); fChain->SetBranchAddress("see_nValid", &see_nValid, &b_see_nValid); fChain->SetBranchAddress("see_nPixel", &see_nPixel, &b_see_nPixel); fChain->SetBranchAddress("see_nGlued", &see_nGlued, &b_see_nGlued); fChain->SetBranchAddress("see_nStrip", &see_nStrip, &b_see_nStrip); fChain->SetBranchAddress("see_nPhase2OT", &see_nPhase2OT, &b_see_nPhase2OT); fChain->SetBranchAddress("see_algo", &see_algo, &b_see_algo); fChain->SetBranchAddress("see_stopReason", &see_stopReason, &b_see_stopReason); fChain->SetBranchAddress("see_algoOriginal", &see_algoOriginal, &b_see_algoOriginal); fChain->SetBranchAddress("see_trkIdx", &see_trkIdx, &b_see_trkIdx); fChain->SetBranchAddress("see_shareFrac", &see_shareFrac, &b_see_shareFrac); fChain->SetBranchAddress("see_simTrkIdx", &see_simTrkIdx, &b_see_simTrkIdx); fChain->SetBranchAddress("see_hitIdx", &see_hitIdx, &b_see_hitIdx); fChain->SetBranchAddress("see_hitType", &see_hitType, &b_see_hitType); fChain->SetBranchAddress("see_offset", &see_offset, &b_see_offset); fChain->SetBranchAddress("see_hitsMask", &see_hitsMask, &b_see_hitsMask); fChain->SetBranchAddress("see_subDet2", &see_subDet2, &b_see_subDet2); fChain->SetBranchAddress("see_dRz2", &see_dRz2, &b_see_dRz2); fChain->SetBranchAddress("see_dPhi2", &see_dPhi2, &b_see_dPhi2); fChain->SetBranchAddress("see_dRz2Pos", &see_dRz2Pos, &b_see_dRz2Pos); fChain->SetBranchAddress("see_dPhi2Pos", &see_dPhi2Pos, &b_see_dPhi2Pos); fChain->SetBranchAddress("see_subDet1", &see_subDet1, &b_see_subDet1); fChain->SetBranchAddress("see_dRz1", &see_dRz1, &b_see_dRz1); fChain->SetBranchAddress("see_dPhi1", &see_dPhi1, &b_see_dPhi1); fChain->SetBranchAddress("see_dRz1Pos", &see_dRz1Pos, &b_see_dRz1Pos); fChain->SetBranchAddress("see_dPhi1Pos", &see_dPhi1Pos, &b_see_dPhi1Pos); fChain->SetBranchAddress("see_superClusterEnergy", &see_superClusterEnergy, &b_see_superClusterEnergy); fChain->SetBranchAddress("see_superClusterEta", &see_superClusterEta, &b_see_superClusterEta); fChain->SetBranchAddress("see_superClusterPhi", &see_superClusterPhi, &b_see_superClusterPhi); fChain->SetBranchAddress("see_superClusterEt", &see_superClusterEt, &b_see_superClusterEt); fChain->SetBranchAddress("see_superClusterIdx", &see_superClusterIdx, &b_see_superClusterIdx); fChain->SetBranchAddress("see_ecalDriven", &see_ecalDriven, &b_see_ecalDriven); fChain->SetBranchAddress("see_trkDriven", &see_trkDriven, &b_see_trkDriven); fChain->SetBranchAddress("vtx_x", &vtx_x, &b_vtx_x); fChain->SetBranchAddress("vtx_y", &vtx_y, &b_vtx_y); fChain->SetBranchAddress("vtx_z", &vtx_z, &b_vtx_z); fChain->SetBranchAddress("vtx_xErr", &vtx_xErr, &b_vtx_xErr); fChain->SetBranchAddress("vtx_yErr", &vtx_yErr, &b_vtx_yErr); fChain->SetBranchAddress("vtx_zErr", &vtx_zErr, &b_vtx_zErr); fChain->SetBranchAddress("vtx_ndof", &vtx_ndof, &b_vtx_ndof); fChain->SetBranchAddress("vtx_chi2", &vtx_chi2, &b_vtx_chi2); fChain->SetBranchAddress("vtx_fake", &vtx_fake, &b_vtx_fake); fChain->SetBranchAddress("vtx_valid", &vtx_valid, &b_vtx_valid); fChain->SetBranchAddress("vtx_trkIdx", &vtx_trkIdx, &b_vtx_trkIdx); fChain->SetBranchAddress("gen_px", &gen_px, &b_gen_px); fChain->SetBranchAddress("gen_py", &gen_py, &b_gen_py); fChain->SetBranchAddress("gen_pz", &gen_pz, &b_gen_pz); fChain->SetBranchAddress("gen_charge", &gen_charge, &b_gen_charge); fChain->SetBranchAddress("gen_pdgId", &gen_pdgId, &b_gen_pdgId); fChain->SetBranchAddress("gen_vx", &gen_vx, &b_gen_vx); fChain->SetBranchAddress("gen_vy", &gen_vy, &b_gen_vy); fChain->SetBranchAddress("gen_vz", &gen_vz, &b_gen_vz); fChain->SetBranchAddress("gen_status", &gen_status, &b_gen_status); fChain->SetBranchAddress("gen_mother", &gen_mother, &b_gen_mother); fChain->SetBranchAddress("gen_isTauDecayProduct", &gen_isTauDecayProduct, &b_gen_isTauDecayProduct); fChain->SetBranchAddress("gen_isDirectHadronDecayProduct", &gen_isDirectHadronDecayProduct, &b_gen_isDirectHadronDecayProduct); fChain->SetBranchAddress("gen_isPrompt", &gen_isPrompt, &b_gen_isPrompt); fChain->SetBranchAddress("simvtx_event", &simvtx_event, &b_simvtx_event); fChain->SetBranchAddress("simvtx_bunchCrossing", &simvtx_bunchCrossing, &b_simvtx_bunchCrossing); fChain->SetBranchAddress("simvtx_processType", &simvtx_processType, &b_simvtx_processType); fChain->SetBranchAddress("simvtx_x", &simvtx_x, &b_simvtx_x); fChain->SetBranchAddress("simvtx_y", &simvtx_y, &b_simvtx_y); fChain->SetBranchAddress("simvtx_z", &simvtx_z, &b_simvtx_z); fChain->SetBranchAddress("simvtx_sourceSimIdx", &simvtx_sourceSimIdx, &b_simvtx_sourceSimIdx); fChain->SetBranchAddress("simvtx_daughterSimIdx", &simvtx_daughterSimIdx, &b_simvtx_daughterSimIdx); fChain->SetBranchAddress("simpv_idx", &simpv_idx, &b_simpv_idx); fChain->SetBranchAddress("scl_e", &scl_e, &b_scl_e); fChain->SetBranchAddress("scl_px", &scl_px, &b_scl_px); fChain->SetBranchAddress("scl_py", &scl_py, &b_scl_py); fChain->SetBranchAddress("scl_pz", &scl_pz, &b_scl_pz); fChain->SetBranchAddress("scl_x", &scl_x, &b_scl_x); fChain->SetBranchAddress("scl_y", &scl_y, &b_scl_y); fChain->SetBranchAddress("scl_z", &scl_z, &b_scl_z); fChain->SetBranchAddress("scl_charge", &scl_charge, &b_scl_charge); fChain->SetBranchAddress("scl_subDet1", &scl_subDet1, &b_scl_subDet1); fChain->SetBranchAddress("scl_subDet2", &scl_subDet2, &b_scl_subDet2); fChain->SetBranchAddress("scl_dRz1", &scl_dRz1, &b_scl_dRz1); fChain->SetBranchAddress("scl_dPhi1", &scl_dPhi1, &b_scl_dPhi1); fChain->SetBranchAddress("scl_dRz2", &scl_dRz2, &b_scl_dRz2); fChain->SetBranchAddress("scl_dPhi2", &scl_dPhi2, &b_scl_dPhi2); fChain->SetBranchAddress("scl_seedType", &scl_seedType, &b_scl_seedType); fChain->SetBranchAddress("scl_hitsMask", &scl_hitsMask, &b_scl_hitsMask); Notify(); } Bool_t TrackingNtuple::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 TrackingNtuple::Show(Long64_t entry) { // Print contents of entry. // If entry is not specified, print current entry if (!fChain) return; fChain->Show(entry); } Int_t TrackingNtuple::Cut(Long64_t entry) { // This function may be called from Loop. // returns 1 if entry is accepted. // returns -1 otherwise. return 1; } #endif // TrackingNtuple_h