////////////////////////////////////////////////////////// // This class has been automatically generated on // Wed Feb 11 17:07:22 2015 by ROOT version 5.34/01 // from TTree KsHunt_Tree/KsHunt_Tree // found on file: tree_KsHunt.root ////////////////////////////////////////////////////////// #ifndef KsHunt_selector_h #define KsHunt_selector_h #include #include #include #include #include #include #include #include #include #include // Header file for the classes stored in the TTree if any. #include #include // Need full path for rootcint dictionary generation to work... #include "/home/kmoriya/builds/sim-recon/sim-recon-commissioning/src/libraries/include/particleType.h" // Fixed size dimensions of array or collections stored in the TTree if any. class KsHunt_selector : public TSelector { public : TTree *fChain; //!pointer to the analyzed TTree or TChain // Declaration of leaf types UInt_t RunNumber; UInt_t EventNumber; Float_t RFTime_Measured; Float_t ChiSq_KinFit; UInt_t NDF_KinFit; Float_t RFTime_KinFit; TLorentzVector *Production__X4; Int_t BeamPhoton__ObjectID; TLorentzVector *BeamPhoton__X4_Measured; TLorentzVector *BeamPhoton__P4_Measured; TLorentzVector *BeamPhoton__X4_KinFit; TLorentzVector *BeamPhoton__P4_KinFit; Int_t PiPlus__ObjectID; TLorentzVector *PiPlus__X4_Measured; TLorentzVector *PiPlus__P4_Measured; TLorentzVector *PiPlus__X4_KinFit; TLorentzVector *PiPlus__P4_KinFit; Float_t PiPlus__AvgBeta_Timing; Float_t PiPlus__HitTime; Float_t PiPlus__ChiSq_Timing_Measured; Float_t PiPlus__ChiSq_Timing_KinFit; UInt_t PiPlus__NDF_Timing; Float_t PiPlus__ChiSq_Tracking; UInt_t PiPlus__NDF_Tracking; Float_t PiPlus__ChiSq_DCdEdx; UInt_t PiPlus__NDF_DCdEdx; Float_t PiPlus__dEdx_CDC; Float_t PiPlus__dEdx_FDC; Float_t PiPlus__dEdx_TOF; Float_t PiPlus__dEdx_ST; Float_t PiPlus__Energy_BCAL; Float_t PiPlus__Energy_FCAL; Float_t PiPlus__TrackBCAL_DeltaPhi; Float_t PiPlus__TrackBCAL_DeltaZ; Float_t PiPlus__TrackFCAL_DOCA; Int_t PiMinus__ObjectID; TLorentzVector *PiMinus__X4_Measured; TLorentzVector *PiMinus__P4_Measured; TLorentzVector *PiMinus__X4_KinFit; TLorentzVector *PiMinus__P4_KinFit; Float_t PiMinus__AvgBeta_Timing; Float_t PiMinus__HitTime; Float_t PiMinus__ChiSq_Timing_Measured; Float_t PiMinus__ChiSq_Timing_KinFit; UInt_t PiMinus__NDF_Timing; Float_t PiMinus__ChiSq_Tracking; UInt_t PiMinus__NDF_Tracking; Float_t PiMinus__ChiSq_DCdEdx; UInt_t PiMinus__NDF_DCdEdx; Float_t PiMinus__dEdx_CDC; Float_t PiMinus__dEdx_FDC; Float_t PiMinus__dEdx_TOF; Float_t PiMinus__dEdx_ST; Float_t PiMinus__Energy_BCAL; Float_t PiMinus__Energy_FCAL; Float_t PiMinus__TrackBCAL_DeltaPhi; Float_t PiMinus__TrackBCAL_DeltaZ; Float_t PiMinus__TrackFCAL_DOCA; TLorentzVector *MissingUnknown__X4; TLorentzVector *MissingUnknown__P4; UInt_t NumUnused; Int_t Unused__ObjectID[500]; //[NumUnused] Int_t Unused__PID[500]; //[NumUnused] TClonesArray *Unused__X4_Measured; TClonesArray *Unused__P4_Measured; Float_t Unused__ChiSq_Tracking[500]; //[NumUnused] UInt_t Unused__NDF_Tracking[500]; //[NumUnused] Float_t Unused__AvgBeta_Timing[500]; //[NumUnused] Float_t Unused__HitTime[500]; //[NumUnused] Float_t Unused__ChiSq_Timing[500]; //[NumUnused] UInt_t Unused__NDF_Timing[500]; //[NumUnused] Float_t Unused__ChiSq_DCdEdx[500]; //[NumUnused] UInt_t Unused__NDF_DCdEdx[500]; //[NumUnused] Float_t Unused__dEdx_CDC[500]; //[NumUnused] Float_t Unused__dEdx_FDC[500]; //[NumUnused] Float_t Unused__dEdx_TOF[500]; //[NumUnused] Float_t Unused__dEdx_ST[500]; //[NumUnused] Float_t Unused__Energy_BCAL[500]; //[NumUnused] Float_t Unused__Energy_FCAL[500]; //[NumUnused] Float_t Unused__TrackBCAL_DeltaPhi[500]; //[NumUnused] Float_t Unused__TrackBCAL_DeltaZ[500]; //[NumUnused] Float_t Unused__TrackFCAL_DOCA[500]; //[NumUnused] // List of branches TBranch *b_RunNumber; //! TBranch *b_EventNumber; //! TBranch *b_RFTime_Measured; //! TBranch *b_ChiSq_KinFit; //! TBranch *b_NDF_KinFit; //! TBranch *b_RFTime_KinFit; //! TBranch *b_Production__X4; //! TBranch *b_BeamPhoton__ObjectID; //! TBranch *b_BeamPhoton__X4_Measured; //! TBranch *b_BeamPhoton__P4_Measured; //! TBranch *b_BeamPhoton__X4_KinFit; //! TBranch *b_BeamPhoton__P4_KinFit; //! TBranch *b_PiPlus__ObjectID; //! TBranch *b_PiPlus__X4_Measured; //! TBranch *b_PiPlus__P4_Measured; //! TBranch *b_PiPlus__X4_KinFit; //! TBranch *b_PiPlus__P4_KinFit; //! TBranch *b_PiPlus__AvgBeta_Timing; //! TBranch *b_PiPlus__HitTime; //! TBranch *b_PiPlus__ChiSq_Timing_Measured; //! TBranch *b_PiPlus__ChiSq_Timing_KinFit; //! TBranch *b_PiPlus__NDF_Timing; //! TBranch *b_PiPlus__ChiSq_Tracking; //! TBranch *b_PiPlus__NDF_Tracking; //! TBranch *b_PiPlus__ChiSq_DCdEdx; //! TBranch *b_PiPlus__NDF_DCdEdx; //! TBranch *b_PiPlus__dEdx_CDC; //! TBranch *b_PiPlus__dEdx_FDC; //! TBranch *b_PiPlus__dEdx_TOF; //! TBranch *b_PiPlus__dEdx_ST; //! TBranch *b_PiPlus__Energy_BCAL; //! TBranch *b_PiPlus__Energy_FCAL; //! TBranch *b_PiPlus__TrackBCAL_DeltaPhi; //! TBranch *b_PiPlus__TrackBCAL_DeltaZ; //! TBranch *b_PiPlus__TrackFCAL_DOCA; //! TBranch *b_PiMinus__ObjectID; //! TBranch *b_PiMinus__X4_Measured; //! TBranch *b_PiMinus__P4_Measured; //! TBranch *b_PiMinus__X4_KinFit; //! TBranch *b_PiMinus__P4_KinFit; //! TBranch *b_PiMinus__AvgBeta_Timing; //! TBranch *b_PiMinus__HitTime; //! TBranch *b_PiMinus__ChiSq_Timing_Measured; //! TBranch *b_PiMinus__ChiSq_Timing_KinFit; //! TBranch *b_PiMinus__NDF_Timing; //! TBranch *b_PiMinus__ChiSq_Tracking; //! TBranch *b_PiMinus__NDF_Tracking; //! TBranch *b_PiMinus__ChiSq_DCdEdx; //! TBranch *b_PiMinus__NDF_DCdEdx; //! TBranch *b_PiMinus__dEdx_CDC; //! TBranch *b_PiMinus__dEdx_FDC; //! TBranch *b_PiMinus__dEdx_TOF; //! TBranch *b_PiMinus__dEdx_ST; //! TBranch *b_PiMinus__Energy_BCAL; //! TBranch *b_PiMinus__Energy_FCAL; //! TBranch *b_PiMinus__TrackBCAL_DeltaPhi; //! TBranch *b_PiMinus__TrackBCAL_DeltaZ; //! TBranch *b_PiMinus__TrackFCAL_DOCA; //! TBranch *b_MissingUnknown__X4; //! TBranch *b_MissingUnknown__P4; //! TBranch *b_NumUnused; //! TBranch *b_Unused__ObjectID; //! TBranch *b_Unused__PID; //! TBranch *b_Unused__X4_Measured; //! TBranch *b_Unused__P4_Measured; //! TBranch *b_Unused__ChiSq_Tracking; //! TBranch *b_Unused__NDF_Tracking; //! TBranch *b_Unused__AvgBeta_Timing; //! TBranch *b_Unused__HitTime; //! TBranch *b_Unused__ChiSq_Timing; //! TBranch *b_Unused__NDF_Timing; //! TBranch *b_Unused__ChiSq_DCdEdx; //! TBranch *b_Unused__NDF_DCdEdx; //! TBranch *b_Unused__dEdx_CDC; //! TBranch *b_Unused__dEdx_FDC; //! TBranch *b_Unused__dEdx_TOF; //! TBranch *b_Unused__dEdx_ST; //! TBranch *b_Unused__Energy_BCAL; //! TBranch *b_Unused__Energy_FCAL; //! TBranch *b_Unused__TrackBCAL_DeltaPhi; //! TBranch *b_Unused__TrackBCAL_DeltaZ; //! TBranch *b_Unused__TrackFCAL_DOCA; //! KsHunt_selector(TTree * /*tree*/ =0) : fChain(0) { } virtual ~KsHunt_selector() { } virtual Int_t Version() const { return 2; } virtual void Begin(TTree *tree); virtual void SlaveBegin(TTree *tree); virtual void Init(TTree *tree); virtual Bool_t Notify(); virtual Bool_t Process(Long64_t entry); virtual Int_t GetEntry(Long64_t entry, Int_t getall = 0) { return fChain ? fChain->GetTree()->GetEntry(entry, getall) : 0; } virtual void SetOption(const char *option) { fOption = option; } virtual void SetObject(TObject *obj) { fObject = obj; } virtual void SetInputList(TList *input) { fInput = input; } virtual TList *GetOutputList() const { return fOutput; } virtual void SlaveTerminate(); virtual void Terminate(); // KM my stuff TFile *outfile; ////////////////////////////////////////////////////// // // // histograms // // // ////////////////////////////////////////////////////// // kfit info TH1F *hkfitCL; // M(pi+,pi-) TH1F *hM2pi; TH2F *hvrho_M2pi; TH2F *hvz_M2pi; TH1F *hM2pi_allVertexSelect; // M(pi+,pi-,unused pi+-) TH1F *hM3pi; TH1F *hM3pi_allVertexKsSelect; // M(unused p,unused pi-) TH1F *hMppi; TH1F *hMppi_allVertexKsSelect; // MM from Ks vs M(pi+,pi-) TH2F *hMM_M2pi; TH2F *hMM_M2pi_allVertexKsSelect; // Momentum TH2F *hPpip_Ppim; TH2F *hPpip_Ppim_allVertexKsSelect; TH1F *hPKs; TH1F *hPKs_allVertexKsSelect; // dEdx vs |p| // all pi+, pi- TH2F *hdEdx_pip_CDC; TH2F *hdEdx_pip_FDC; TH2F *hdEdx_pip_ST; TH2F *hdEdx_pim_CDC; TH2F *hdEdx_pim_FDC; TH2F *hdEdx_pim_ST; // p, pi- in Ks mass range TH2F *hdEdx_pip_CDC_selectKs; TH2F *hdEdx_pip_FDC_selectKs; TH2F *hdEdx_pip_ST_selectKs; TH2F *hdEdx_pim_CDC_selectKs; TH2F *hdEdx_pim_FDC_selectKs; TH2F *hdEdx_pim_ST_selectKs; // unused K+- TH2F *hdEdx_kp_CDC; TH2F *hdEdx_kp_FDC; TH2F *hdEdx_kp_ST; TH2F *hdEdx_km_CDC; TH2F *hdEdx_km_FDC; TH2F *hdEdx_km_ST; TH2F *hdEdx_kp_CDC_selectKs; TH2F *hdEdx_kp_FDC_selectKs; TH2F *hdEdx_kp_ST_selectKs; TH2F *hdEdx_km_CDC_selectKs; TH2F *hdEdx_km_FDC_selectKs; TH2F *hdEdx_km_ST_selectKs; // vertices TH2F *hvy_vx_pip_measured; TH2F *hvy_vx_pip; TH1F *hvz_pip_measured; TH1F *hvz_pip; TH2F *hvy_vx_pim_measured; TH2F *hvy_vx_pim; TH1F *hvz_pim_measured; TH1F *hvz_pim; TH2F *hvz_pip_pim_measured; TH2F *hvz_pip_pim; ////////////////////////////////////////////////////// // // // 4-moms. // // // ////////////////////////////////////////////////////// // no kfit TLorentzVector p4init_photon_PreKinFit; TLorentzVector p4init_proton_PreKinFit; TLorentzVector p4pip_PreKinFit; TLorentzVector p4pim_PreKinFit; TLorentzVector x4pip_PreKinFit; TLorentzVector x4pim_PreKinFit; // kfit TLorentzVector p4init_photon; TLorentzVector p4init_proton; TLorentzVector p4pip; TLorentzVector p4pim; TLorentzVector x4pip; TLorentzVector x4pim; // unused tracks enum { NumUnusedMax = 100 }; TLorentzVector* p4unused[NumUnusedMax]; TLorentzVector p4unused_; // generic dummy TLorentzVector p4unused_Proton[NumUnusedMax]; TLorentzVector p4unused_PiMinus[NumUnusedMax]; TLorentzVector* x4unused[NumUnusedMax]; TLorentzVector x4unused_; // generic dummy TLorentzVector x4unused_Proton[NumUnusedMax]; TLorentzVector x4unused_PiMinus[NumUnusedMax]; Int_t objectID_Proton[NumUnusedMax]; Int_t objectID_PiMinus[NumUnusedMax]; ClassDef(KsHunt_selector,0); }; #endif #ifdef KsHunt_selector_cxx void KsHunt_selector::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 Production__X4 = 0; BeamPhoton__X4_Measured = 0; BeamPhoton__P4_Measured = 0; BeamPhoton__X4_KinFit = 0; BeamPhoton__P4_KinFit = 0; PiPlus__X4_Measured = 0; PiPlus__P4_Measured = 0; PiPlus__X4_KinFit = 0; PiPlus__P4_KinFit = 0; PiMinus__X4_Measured = 0; PiMinus__P4_Measured = 0; PiMinus__X4_KinFit = 0; PiMinus__P4_KinFit = 0; MissingUnknown__X4 = 0; MissingUnknown__P4 = 0; Unused__X4_Measured = 0; Unused__P4_Measured = 0; // Set branch addresses and branch pointers if (!tree) return; fChain = tree; fChain->SetMakeClass(1); fChain->SetBranchAddress("RunNumber", &RunNumber, &b_RunNumber); fChain->SetBranchAddress("EventNumber", &EventNumber, &b_EventNumber); fChain->SetBranchAddress("RFTime_Measured", &RFTime_Measured, &b_RFTime_Measured); fChain->SetBranchAddress("ChiSq_KinFit", &ChiSq_KinFit, &b_ChiSq_KinFit); fChain->SetBranchAddress("NDF_KinFit", &NDF_KinFit, &b_NDF_KinFit); fChain->SetBranchAddress("RFTime_KinFit", &RFTime_KinFit, &b_RFTime_KinFit); fChain->SetBranchAddress("Production__X4", &Production__X4, &b_Production__X4); fChain->SetBranchAddress("BeamPhoton__ObjectID", &BeamPhoton__ObjectID, &b_BeamPhoton__ObjectID); fChain->SetBranchAddress("BeamPhoton__X4_Measured", &BeamPhoton__X4_Measured, &b_BeamPhoton__X4_Measured); fChain->SetBranchAddress("BeamPhoton__P4_Measured", &BeamPhoton__P4_Measured, &b_BeamPhoton__P4_Measured); fChain->SetBranchAddress("BeamPhoton__X4_KinFit", &BeamPhoton__X4_KinFit, &b_BeamPhoton__X4_KinFit); fChain->SetBranchAddress("BeamPhoton__P4_KinFit", &BeamPhoton__P4_KinFit, &b_BeamPhoton__P4_KinFit); fChain->SetBranchAddress("PiPlus__ObjectID", &PiPlus__ObjectID, &b_PiPlus__ObjectID); fChain->SetBranchAddress("PiPlus__X4_Measured", &PiPlus__X4_Measured, &b_PiPlus__X4_Measured); fChain->SetBranchAddress("PiPlus__P4_Measured", &PiPlus__P4_Measured, &b_PiPlus__P4_Measured); fChain->SetBranchAddress("PiPlus__X4_KinFit", &PiPlus__X4_KinFit, &b_PiPlus__X4_KinFit); fChain->SetBranchAddress("PiPlus__P4_KinFit", &PiPlus__P4_KinFit, &b_PiPlus__P4_KinFit); fChain->SetBranchAddress("PiPlus__AvgBeta_Timing", &PiPlus__AvgBeta_Timing, &b_PiPlus__AvgBeta_Timing); fChain->SetBranchAddress("PiPlus__HitTime", &PiPlus__HitTime, &b_PiPlus__HitTime); fChain->SetBranchAddress("PiPlus__ChiSq_Timing_Measured", &PiPlus__ChiSq_Timing_Measured, &b_PiPlus__ChiSq_Timing_Measured); fChain->SetBranchAddress("PiPlus__ChiSq_Timing_KinFit", &PiPlus__ChiSq_Timing_KinFit, &b_PiPlus__ChiSq_Timing_KinFit); fChain->SetBranchAddress("PiPlus__NDF_Timing", &PiPlus__NDF_Timing, &b_PiPlus__NDF_Timing); fChain->SetBranchAddress("PiPlus__ChiSq_Tracking", &PiPlus__ChiSq_Tracking, &b_PiPlus__ChiSq_Tracking); fChain->SetBranchAddress("PiPlus__NDF_Tracking", &PiPlus__NDF_Tracking, &b_PiPlus__NDF_Tracking); fChain->SetBranchAddress("PiPlus__ChiSq_DCdEdx", &PiPlus__ChiSq_DCdEdx, &b_PiPlus__ChiSq_DCdEdx); fChain->SetBranchAddress("PiPlus__NDF_DCdEdx", &PiPlus__NDF_DCdEdx, &b_PiPlus__NDF_DCdEdx); fChain->SetBranchAddress("PiPlus__dEdx_CDC", &PiPlus__dEdx_CDC, &b_PiPlus__dEdx_CDC); fChain->SetBranchAddress("PiPlus__dEdx_FDC", &PiPlus__dEdx_FDC, &b_PiPlus__dEdx_FDC); fChain->SetBranchAddress("PiPlus__dEdx_TOF", &PiPlus__dEdx_TOF, &b_PiPlus__dEdx_TOF); fChain->SetBranchAddress("PiPlus__dEdx_ST", &PiPlus__dEdx_ST, &b_PiPlus__dEdx_ST); fChain->SetBranchAddress("PiPlus__Energy_BCAL", &PiPlus__Energy_BCAL, &b_PiPlus__Energy_BCAL); fChain->SetBranchAddress("PiPlus__Energy_FCAL", &PiPlus__Energy_FCAL, &b_PiPlus__Energy_FCAL); fChain->SetBranchAddress("PiPlus__TrackBCAL_DeltaPhi", &PiPlus__TrackBCAL_DeltaPhi, &b_PiPlus__TrackBCAL_DeltaPhi); fChain->SetBranchAddress("PiPlus__TrackBCAL_DeltaZ", &PiPlus__TrackBCAL_DeltaZ, &b_PiPlus__TrackBCAL_DeltaZ); fChain->SetBranchAddress("PiPlus__TrackFCAL_DOCA", &PiPlus__TrackFCAL_DOCA, &b_PiPlus__TrackFCAL_DOCA); fChain->SetBranchAddress("PiMinus__ObjectID", &PiMinus__ObjectID, &b_PiMinus__ObjectID); fChain->SetBranchAddress("PiMinus__X4_Measured", &PiMinus__X4_Measured, &b_PiMinus__X4_Measured); fChain->SetBranchAddress("PiMinus__P4_Measured", &PiMinus__P4_Measured, &b_PiMinus__P4_Measured); fChain->SetBranchAddress("PiMinus__X4_KinFit", &PiMinus__X4_KinFit, &b_PiMinus__X4_KinFit); fChain->SetBranchAddress("PiMinus__P4_KinFit", &PiMinus__P4_KinFit, &b_PiMinus__P4_KinFit); fChain->SetBranchAddress("PiMinus__AvgBeta_Timing", &PiMinus__AvgBeta_Timing, &b_PiMinus__AvgBeta_Timing); fChain->SetBranchAddress("PiMinus__HitTime", &PiMinus__HitTime, &b_PiMinus__HitTime); fChain->SetBranchAddress("PiMinus__ChiSq_Timing_Measured", &PiMinus__ChiSq_Timing_Measured, &b_PiMinus__ChiSq_Timing_Measured); fChain->SetBranchAddress("PiMinus__ChiSq_Timing_KinFit", &PiMinus__ChiSq_Timing_KinFit, &b_PiMinus__ChiSq_Timing_KinFit); fChain->SetBranchAddress("PiMinus__NDF_Timing", &PiMinus__NDF_Timing, &b_PiMinus__NDF_Timing); fChain->SetBranchAddress("PiMinus__ChiSq_Tracking", &PiMinus__ChiSq_Tracking, &b_PiMinus__ChiSq_Tracking); fChain->SetBranchAddress("PiMinus__NDF_Tracking", &PiMinus__NDF_Tracking, &b_PiMinus__NDF_Tracking); fChain->SetBranchAddress("PiMinus__ChiSq_DCdEdx", &PiMinus__ChiSq_DCdEdx, &b_PiMinus__ChiSq_DCdEdx); fChain->SetBranchAddress("PiMinus__NDF_DCdEdx", &PiMinus__NDF_DCdEdx, &b_PiMinus__NDF_DCdEdx); fChain->SetBranchAddress("PiMinus__dEdx_CDC", &PiMinus__dEdx_CDC, &b_PiMinus__dEdx_CDC); fChain->SetBranchAddress("PiMinus__dEdx_FDC", &PiMinus__dEdx_FDC, &b_PiMinus__dEdx_FDC); fChain->SetBranchAddress("PiMinus__dEdx_TOF", &PiMinus__dEdx_TOF, &b_PiMinus__dEdx_TOF); fChain->SetBranchAddress("PiMinus__dEdx_ST", &PiMinus__dEdx_ST, &b_PiMinus__dEdx_ST); fChain->SetBranchAddress("PiMinus__Energy_BCAL", &PiMinus__Energy_BCAL, &b_PiMinus__Energy_BCAL); fChain->SetBranchAddress("PiMinus__Energy_FCAL", &PiMinus__Energy_FCAL, &b_PiMinus__Energy_FCAL); fChain->SetBranchAddress("PiMinus__TrackBCAL_DeltaPhi", &PiMinus__TrackBCAL_DeltaPhi, &b_PiMinus__TrackBCAL_DeltaPhi); fChain->SetBranchAddress("PiMinus__TrackBCAL_DeltaZ", &PiMinus__TrackBCAL_DeltaZ, &b_PiMinus__TrackBCAL_DeltaZ); fChain->SetBranchAddress("PiMinus__TrackFCAL_DOCA", &PiMinus__TrackFCAL_DOCA, &b_PiMinus__TrackFCAL_DOCA); fChain->SetBranchAddress("MissingUnknown__X4", &MissingUnknown__X4, &b_MissingUnknown__X4); fChain->SetBranchAddress("MissingUnknown__P4", &MissingUnknown__P4, &b_MissingUnknown__P4); fChain->SetBranchAddress("NumUnused", &NumUnused, &b_NumUnused); fChain->SetBranchAddress("Unused__ObjectID", Unused__ObjectID, &b_Unused__ObjectID); fChain->SetBranchAddress("Unused__PID", Unused__PID, &b_Unused__PID); fChain->SetBranchAddress("Unused__X4_Measured", &Unused__X4_Measured, &b_Unused__X4_Measured); fChain->SetBranchAddress("Unused__P4_Measured", &Unused__P4_Measured, &b_Unused__P4_Measured); fChain->SetBranchAddress("Unused__ChiSq_Tracking", Unused__ChiSq_Tracking, &b_Unused__ChiSq_Tracking); fChain->SetBranchAddress("Unused__NDF_Tracking", Unused__NDF_Tracking, &b_Unused__NDF_Tracking); fChain->SetBranchAddress("Unused__AvgBeta_Timing", Unused__AvgBeta_Timing, &b_Unused__AvgBeta_Timing); fChain->SetBranchAddress("Unused__HitTime", Unused__HitTime, &b_Unused__HitTime); fChain->SetBranchAddress("Unused__ChiSq_Timing", Unused__ChiSq_Timing, &b_Unused__ChiSq_Timing); fChain->SetBranchAddress("Unused__NDF_Timing", Unused__NDF_Timing, &b_Unused__NDF_Timing); fChain->SetBranchAddress("Unused__ChiSq_DCdEdx", Unused__ChiSq_DCdEdx, &b_Unused__ChiSq_DCdEdx); fChain->SetBranchAddress("Unused__NDF_DCdEdx", Unused__NDF_DCdEdx, &b_Unused__NDF_DCdEdx); fChain->SetBranchAddress("Unused__dEdx_CDC", Unused__dEdx_CDC, &b_Unused__dEdx_CDC); fChain->SetBranchAddress("Unused__dEdx_FDC", Unused__dEdx_FDC, &b_Unused__dEdx_FDC); fChain->SetBranchAddress("Unused__dEdx_TOF", Unused__dEdx_TOF, &b_Unused__dEdx_TOF); fChain->SetBranchAddress("Unused__dEdx_ST", Unused__dEdx_ST, &b_Unused__dEdx_ST); fChain->SetBranchAddress("Unused__Energy_BCAL", Unused__Energy_BCAL, &b_Unused__Energy_BCAL); fChain->SetBranchAddress("Unused__Energy_FCAL", Unused__Energy_FCAL, &b_Unused__Energy_FCAL); fChain->SetBranchAddress("Unused__TrackBCAL_DeltaPhi", Unused__TrackBCAL_DeltaPhi, &b_Unused__TrackBCAL_DeltaPhi); fChain->SetBranchAddress("Unused__TrackBCAL_DeltaZ", Unused__TrackBCAL_DeltaZ, &b_Unused__TrackBCAL_DeltaZ); fChain->SetBranchAddress("Unused__TrackFCAL_DOCA", Unused__TrackFCAL_DOCA, &b_Unused__TrackFCAL_DOCA); } Bool_t KsHunt_selector::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; } #endif // #ifdef KsHunt_selector_cxx