////////////////////////////////////////////////////////// // This class has been automatically generated on // Mon Feb 1 13:57:10 2010 by ROOT version 5.26/00 // from TTree ntp2/myNtuple // found on file: data/SP-989-Run1-1.root ////////////////////////////////////////////////////////// #ifndef histAnalysis_h #define histAnalysis_h #include #include #include #include class histAnalysis : public TSelector { public : TTree *fChain; //!pointer to the analyzed TTree or TChain // Declaration of leaf types Int_t runNumber; Int_t platform; Int_t partition; Int_t upperID; Int_t lowerID; Float_t eePx; Float_t eePy; Float_t eePz; Float_t eeE; Float_t beamSX; Float_t beamSY; Float_t beamSZ; Float_t beamSCovXX; Float_t beamSCovYY; Float_t beamSCovZZ; Float_t beamSCovXZ; Int_t nTracks; Float_t R2All; Float_t xPrimaryVtx; Float_t yPrimaryVtx; Float_t zPrimaryVtx; Int_t mcLen; Int_t mcLund[200]; //[mcLen] Int_t mothIdx[200]; //[mcLen] Int_t dauLen[200]; //[mcLen] Int_t dauIdx[200]; //[mcLen] Float_t mcmass[200]; //[mcLen] Float_t mcp3CM[200]; //[mcLen] Float_t mccosthCM[200]; //[mcLen] Float_t mcphiCM[200]; //[mcLen] Float_t mcp3[200]; //[mcLen] Float_t mccosth[200]; //[mcLen] Float_t mcphi[200]; //[mcLen] Float_t mcVtxx[200]; //[mcLen] Float_t mcVtxy[200]; //[mcLen] Float_t mcVtxz[200]; //[mcLen] Int_t nB; Float_t BChi2[50]; //[nB] Float_t BMass[50]; //[nB] Float_t BMassErr[50]; //[nB] Float_t BVtxx[50]; //[nB] Float_t BVtxy[50]; //[nB] Float_t BVtxz[50]; //[nB] Float_t Bcosth[50]; //[nB] Float_t BcosthCM[50]; //[nB] Float_t Bp3[50]; //[nB] Float_t Bp3CM[50]; //[nB] Float_t Bphi[50]; //[nB] Float_t BphiCM[50]; //[nB] Float_t BpostFitCmsCosTheta[50]; //[nB] Float_t BpostFitDeltaE[50]; //[nB] Float_t BpostFitMes[50]; //[nB] Float_t BpostFitMmiss[50]; //[nB] Float_t BpostFitProbChiSq[50]; //[nB] Float_t BpreFitDeltaE[50]; //[nB] Float_t BpreFitMes[50]; //[nB] Int_t BLund[50]; //[nB] Int_t BMCIdx[50]; //[nB] Int_t BVtxStatus[50]; //[nB] Int_t BnDof[50]; //[nB] Int_t Bd1Lund[50]; //[nB] Int_t Bd1Idx[50]; //[nB] Int_t Bd2Lund[50]; //[nB] Int_t Bd2Idx[50]; //[nB] Int_t nJpsi; Float_t JpsiChi2[50]; //[nJpsi] Float_t JpsiMass[50]; //[nJpsi] Float_t JpsiMassErr[50]; //[nJpsi] Float_t JpsiUncMass[50]; //[nJpsi] Float_t JpsiUncMassErr[50]; //[nJpsi] Float_t JpsiVtxx[50]; //[nJpsi] Float_t JpsiVtxy[50]; //[nJpsi] Float_t JpsiVtxz[50]; //[nJpsi] Float_t Jpsicosth[50]; //[nJpsi] Float_t Jpsip3[50]; //[nJpsi] Float_t Jpsiphi[50]; //[nJpsi] Int_t JpsiLund[50]; //[nJpsi] Int_t JpsiMCIdx[50]; //[nJpsi] Int_t JpsiVtxStatus[50]; //[nJpsi] Int_t JpsinDof[50]; //[nJpsi] Int_t Jpsid1Lund[50]; //[nJpsi] Int_t Jpsid1Idx[50]; //[nJpsi] Int_t Jpsid2Lund[50]; //[nJpsi] Int_t Jpsid2Idx[50]; //[nJpsi] Int_t nK; Float_t KKLHLoose_w[60]; //[nK] Float_t KKLHLoose_werr[60]; //[nK] Float_t KKLHTight_w[60]; //[nK] Float_t KKLHTight_werr[60]; //[nK] Float_t KKLHVeryLoose_w[60]; //[nK] Float_t KKLHVeryLoose_werr[60]; //[nK] Float_t Kcosth[60]; //[nK] Float_t Kp3[60]; //[nK] Float_t Kphi[60]; //[nK] Int_t KKLHLoose_stat[60]; //[nK] Int_t KKLHTight_stat[60]; //[nK] Int_t KKLHVeryLoose_stat[60]; //[nK] Int_t KLund[60]; //[nK] Int_t KMCIdx[60]; //[nK] Int_t KTrkIdx[60]; //[nK] Int_t nmu; Float_t mucosth[50]; //[nmu] Float_t mumuNNLoose_w[50]; //[nmu] Float_t mumuNNLoose_werr[50]; //[nmu] Float_t mumuNNVeryLoose_w[50]; //[nmu] Float_t mumuNNVeryLoose_werr[50]; //[nmu] Float_t mup3[50]; //[nmu] Float_t muphi[50]; //[nmu] Int_t muLund[50]; //[nmu] Int_t muMCIdx[50]; //[nmu] Int_t mumuNNLoose_stat[50]; //[nmu] Int_t mumuNNVeryLoose_stat[50]; //[nmu] Int_t muTrkIdx[50]; //[nmu] Int_t ngamma; Float_t gammacosth[60]; //[ngamma] Float_t gammap3[60]; //[ngamma] Float_t gammaphi[60]; //[ngamma] Int_t gammaLund[60]; //[ngamma] Int_t gammaMCIdx[60]; //[ngamma] Int_t nTRK; Float_t TRKDoca[12]; //[nTRK] Float_t TRKDocaErr[12]; //[nTRK] Float_t TRKDocaXY_xy[12]; //[nTRK] Float_t TRKDocaXY_xyErr[12]; //[nTRK] Float_t TRKDocaXY_z[12]; //[nTRK] Float_t TRKDocaXY_zErr[12]; //[nTRK] Float_t TRKDoca_z[12]; //[nTRK] Float_t TRKDoca_zErr[12]; //[nTRK] Int_t TRKLund[12]; //[nTRK] Int_t TRKnSvt[12]; //[nTRK] Int_t TRKnDch[12]; //[nTRK] Int_t TRKnHit[12]; //[nTRK] Float_t TRKEff[12]; //[nTRK] Float_t TRKEfferr[12]; //[nTRK] Int_t pSelectorsMap[12]; //[nTRK] Int_t KSelectorsMap[12]; //[nTRK] Int_t piSelectorsMap[12]; //[nTRK] Int_t muSelectorsMap[12]; //[nTRK] Int_t eSelectorsMap[12]; //[nTRK] Int_t TracksMap[12]; //[nTRK] Float_t gammaLat[60]; //[ngamma] Float_t gammaA42[60]; //[ngamma] Float_t gammaECal[60]; //[ngamma] Float_t gammaErawCal[60]; //[ngamma] Float_t gammaCentx[60]; //[ngamma] Float_t gammaCenty[60]; //[ngamma] Float_t gammaCentz[60]; //[ngamma] Int_t gammanCrys[60]; //[ngamma] // List of branches TBranch *b_runNumber; //! TBranch *b_platform; //! TBranch *b_partition; //! TBranch *b_upperID; //! TBranch *b_lowerID; //! TBranch *b_eePx; //! TBranch *b_eePy; //! TBranch *b_eePz; //! TBranch *b_eeE; //! TBranch *b_beamSX; //! TBranch *b_beamSY; //! TBranch *b_beamSZ; //! TBranch *b_beamSCovXX; //! TBranch *b_beamSCovYY; //! TBranch *b_beamSCovZZ; //! TBranch *b_beamSCovXZ; //! TBranch *b_nTracks; //! TBranch *b_R2All; //! TBranch *b_xPrimaryVtx; //! TBranch *b_yPrimaryVtx; //! TBranch *b_zPrimaryVtx; //! TBranch *b_mcLen; //! TBranch *b_mcLund; //! TBranch *b_mothIdx; //! TBranch *b_dauLen; //! TBranch *b_dauIdx; //! TBranch *b_mcmass; //! TBranch *b_mcp3CM; //! TBranch *b_mccosthCM; //! TBranch *b_mcphiCM; //! TBranch *b_mcp3; //! TBranch *b_mccosth; //! TBranch *b_mcphi; //! TBranch *b_mcVtxx; //! TBranch *b_mcVtxy; //! TBranch *b_mcVtxz; //! TBranch *b_nB; //! TBranch *b_BChi2; //! TBranch *b_BMass; //! TBranch *b_BMassErr; //! TBranch *b_BVtxx; //! TBranch *b_BVtxy; //! TBranch *b_BVtxz; //! TBranch *b_Bcosth; //! TBranch *b_BcosthCM; //! TBranch *b_Bp3; //! TBranch *b_Bp3CM; //! TBranch *b_Bphi; //! TBranch *b_BphiCM; //! TBranch *b_BpostFitCmsCosTheta; //! TBranch *b_BpostFitDeltaE; //! TBranch *b_BpostFitMes; //! TBranch *b_BpostFitMmiss; //! TBranch *b_BpostFitProbChiSq; //! TBranch *b_BpreFitDeltaE; //! TBranch *b_BpreFitMes; //! TBranch *b_BLund; //! TBranch *b_BMCIdx; //! TBranch *b_BVtxStatus; //! TBranch *b_BnDof; //! TBranch *b_Bd1Lund; //! TBranch *b_Bd1Idx; //! TBranch *b_Bd2Lund; //! TBranch *b_Bd2Idx; //! TBranch *b_nJpsi; //! TBranch *b_JpsiChi2; //! TBranch *b_JpsiMass; //! TBranch *b_JpsiMassErr; //! TBranch *b_JpsiUncMass; //! TBranch *b_JpsiUncMassErr; //! TBranch *b_JpsiVtxx; //! TBranch *b_JpsiVtxy; //! TBranch *b_JpsiVtxz; //! TBranch *b_Jpsicosth; //! TBranch *b_Jpsip3; //! TBranch *b_Jpsiphi; //! TBranch *b_JpsiLund; //! TBranch *b_JpsiMCIdx; //! TBranch *b_JpsiVtxStatus; //! TBranch *b_JpsinDof; //! TBranch *b_Jpsid1Lund; //! TBranch *b_Jpsid1Idx; //! TBranch *b_Jpsid2Lund; //! TBranch *b_Jpsid2Idx; //! TBranch *b_nK; //! TBranch *b_KKLHLoose_w; //! TBranch *b_KKLHLoose_werr; //! TBranch *b_KKLHTight_w; //! TBranch *b_KKLHTight_werr; //! TBranch *b_KKLHVeryLoose_w; //! TBranch *b_KKLHVeryLoose_werr; //! TBranch *b_Kcosth; //! TBranch *b_Kp3; //! TBranch *b_Kphi; //! TBranch *b_KKLHLoose_stat; //! TBranch *b_KKLHTight_stat; //! TBranch *b_KKLHVeryLoose_stat; //! TBranch *b_KLund; //! TBranch *b_KMCIdx; //! TBranch *b_KTrkIdx; //! TBranch *b_nmu; //! TBranch *b_mucosth; //! TBranch *b_mumuNNLoose_w; //! TBranch *b_mumuNNLoose_werr; //! TBranch *b_mumuNNVeryLoose_w; //! TBranch *b_mumuNNVeryLoose_werr; //! TBranch *b_mup3; //! TBranch *b_muphi; //! TBranch *b_muLund; //! TBranch *b_muMCIdx; //! TBranch *b_mumuNNLoose_stat; //! TBranch *b_mumuNNVeryLoose_stat; //! TBranch *b_muTrkIdx; //! TBranch *b_ngamma; //! TBranch *b_gammacosth; //! TBranch *b_gammap3; //! TBranch *b_gammaphi; //! TBranch *b_gammaLund; //! TBranch *b_gammaMCIdx; //! TBranch *b_nTRK; //! TBranch *b_TRKDoca; //! TBranch *b_TRKDocaErr; //! TBranch *b_TRKDocaXY_xy; //! TBranch *b_TRKDocaXY_xyErr; //! TBranch *b_TRKDocaXY_z; //! TBranch *b_TRKDocaXY_zErr; //! TBranch *b_TRKDoca_z; //! TBranch *b_TRKDoca_zErr; //! TBranch *b_TRKLund; //! TBranch *b_TRKnSvt; //! TBranch *b_TRKnDch; //! TBranch *b_TRKnHit; //! TBranch *b_TRKEff; //! TBranch *b_TRKEfferr; //! TBranch *b_pSelectorsMap; //! TBranch *b_KSelectorsMap; //! TBranch *b_piSelectorsMap; //! TBranch *b_muSelectorsMap; //! TBranch *b_eSelectorsMap; //! TBranch *b_TracksMap; //! TBranch *b_gammaLat; //! TBranch *b_gammaA42; //! TBranch *b_gammaECal; //! TBranch *b_gammaErawCal; //! TBranch *b_gammaCentx; //! TBranch *b_gammaCenty; //! TBranch *b_gammaCentz; //! TBranch *b_gammanCrys; //! histAnalysis(TTree * /*tree*/ =0) { } virtual ~histAnalysis() { } 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(); Int_t CheckMC(Int_t mcLund[200], Int_t mothIdx[200], Int_t dauLen[200], Int_t dauIdx[200], Int_t mcLen, Float_t sqrts); ClassDef(histAnalysis,0); }; #endif #ifdef histAnalysis_cxx void histAnalysis::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; fChain->SetMakeClass(1); fChain->SetBranchAddress("runNumber", &runNumber, &b_runNumber); fChain->SetBranchAddress("platform", &platform, &b_platform); fChain->SetBranchAddress("partition", &partition, &b_partition); fChain->SetBranchAddress("upperID", &upperID, &b_upperID); fChain->SetBranchAddress("lowerID", &lowerID, &b_lowerID); fChain->SetBranchAddress("eePx", &eePx, &b_eePx); fChain->SetBranchAddress("eePy", &eePy, &b_eePy); fChain->SetBranchAddress("eePz", &eePz, &b_eePz); fChain->SetBranchAddress("eeE", &eeE, &b_eeE); fChain->SetBranchAddress("beamSX", &beamSX, &b_beamSX); fChain->SetBranchAddress("beamSY", &beamSY, &b_beamSY); fChain->SetBranchAddress("beamSZ", &beamSZ, &b_beamSZ); fChain->SetBranchAddress("beamSCovXX", &beamSCovXX, &b_beamSCovXX); fChain->SetBranchAddress("beamSCovYY", &beamSCovYY, &b_beamSCovYY); fChain->SetBranchAddress("beamSCovZZ", &beamSCovZZ, &b_beamSCovZZ); fChain->SetBranchAddress("beamSCovXZ", &beamSCovXZ, &b_beamSCovXZ); fChain->SetBranchAddress("nTracks", &nTracks, &b_nTracks); fChain->SetBranchAddress("R2All", &R2All, &b_R2All); fChain->SetBranchAddress("xPrimaryVtx", &xPrimaryVtx, &b_xPrimaryVtx); fChain->SetBranchAddress("yPrimaryVtx", &yPrimaryVtx, &b_yPrimaryVtx); fChain->SetBranchAddress("zPrimaryVtx", &zPrimaryVtx, &b_zPrimaryVtx); fChain->SetBranchAddress("mcLen", &mcLen, &b_mcLen); fChain->SetBranchAddress("mcLund", mcLund, &b_mcLund); fChain->SetBranchAddress("mothIdx", mothIdx, &b_mothIdx); fChain->SetBranchAddress("dauLen", dauLen, &b_dauLen); fChain->SetBranchAddress("dauIdx", dauIdx, &b_dauIdx); fChain->SetBranchAddress("mcmass", mcmass, &b_mcmass); fChain->SetBranchAddress("mcp3CM", mcp3CM, &b_mcp3CM); fChain->SetBranchAddress("mccosthCM", mccosthCM, &b_mccosthCM); fChain->SetBranchAddress("mcphiCM", mcphiCM, &b_mcphiCM); fChain->SetBranchAddress("mcp3", mcp3, &b_mcp3); fChain->SetBranchAddress("mccosth", mccosth, &b_mccosth); fChain->SetBranchAddress("mcphi", mcphi, &b_mcphi); fChain->SetBranchAddress("mcVtxx", mcVtxx, &b_mcVtxx); fChain->SetBranchAddress("mcVtxy", mcVtxy, &b_mcVtxy); fChain->SetBranchAddress("mcVtxz", mcVtxz, &b_mcVtxz); fChain->SetBranchAddress("nB", &nB, &b_nB); fChain->SetBranchAddress("BChi2", BChi2, &b_BChi2); fChain->SetBranchAddress("BMass", BMass, &b_BMass); fChain->SetBranchAddress("BMassErr", BMassErr, &b_BMassErr); fChain->SetBranchAddress("BVtxx", BVtxx, &b_BVtxx); fChain->SetBranchAddress("BVtxy", BVtxy, &b_BVtxy); fChain->SetBranchAddress("BVtxz", BVtxz, &b_BVtxz); fChain->SetBranchAddress("Bcosth", Bcosth, &b_Bcosth); fChain->SetBranchAddress("BcosthCM", BcosthCM, &b_BcosthCM); fChain->SetBranchAddress("Bp3", Bp3, &b_Bp3); fChain->SetBranchAddress("Bp3CM", Bp3CM, &b_Bp3CM); fChain->SetBranchAddress("Bphi", Bphi, &b_Bphi); fChain->SetBranchAddress("BphiCM", BphiCM, &b_BphiCM); fChain->SetBranchAddress("BpostFitCmsCosTheta", BpostFitCmsCosTheta, &b_BpostFitCmsCosTheta); fChain->SetBranchAddress("BpostFitDeltaE", BpostFitDeltaE, &b_BpostFitDeltaE); fChain->SetBranchAddress("BpostFitMes", BpostFitMes, &b_BpostFitMes); fChain->SetBranchAddress("BpostFitMmiss", BpostFitMmiss, &b_BpostFitMmiss); fChain->SetBranchAddress("BpostFitProbChiSq", BpostFitProbChiSq, &b_BpostFitProbChiSq); fChain->SetBranchAddress("BpreFitDeltaE", BpreFitDeltaE, &b_BpreFitDeltaE); fChain->SetBranchAddress("BpreFitMes", BpreFitMes, &b_BpreFitMes); fChain->SetBranchAddress("BLund", BLund, &b_BLund); fChain->SetBranchAddress("BMCIdx", BMCIdx, &b_BMCIdx); fChain->SetBranchAddress("BVtxStatus", BVtxStatus, &b_BVtxStatus); fChain->SetBranchAddress("BnDof", BnDof, &b_BnDof); fChain->SetBranchAddress("Bd1Lund", Bd1Lund, &b_Bd1Lund); fChain->SetBranchAddress("Bd1Idx", Bd1Idx, &b_Bd1Idx); fChain->SetBranchAddress("Bd2Lund", Bd2Lund, &b_Bd2Lund); fChain->SetBranchAddress("Bd2Idx", Bd2Idx, &b_Bd2Idx); fChain->SetBranchAddress("nJpsi", &nJpsi, &b_nJpsi); fChain->SetBranchAddress("JpsiChi2", JpsiChi2, &b_JpsiChi2); fChain->SetBranchAddress("JpsiMass", JpsiMass, &b_JpsiMass); fChain->SetBranchAddress("JpsiMassErr", JpsiMassErr, &b_JpsiMassErr); fChain->SetBranchAddress("JpsiUncMass", JpsiUncMass, &b_JpsiUncMass); fChain->SetBranchAddress("JpsiUncMassErr", JpsiUncMassErr, &b_JpsiUncMassErr); fChain->SetBranchAddress("JpsiVtxx", JpsiVtxx, &b_JpsiVtxx); fChain->SetBranchAddress("JpsiVtxy", JpsiVtxy, &b_JpsiVtxy); fChain->SetBranchAddress("JpsiVtxz", JpsiVtxz, &b_JpsiVtxz); fChain->SetBranchAddress("Jpsicosth", Jpsicosth, &b_Jpsicosth); fChain->SetBranchAddress("Jpsip3", Jpsip3, &b_Jpsip3); fChain->SetBranchAddress("Jpsiphi", Jpsiphi, &b_Jpsiphi); fChain->SetBranchAddress("JpsiLund", JpsiLund, &b_JpsiLund); fChain->SetBranchAddress("JpsiMCIdx", JpsiMCIdx, &b_JpsiMCIdx); fChain->SetBranchAddress("JpsiVtxStatus", JpsiVtxStatus, &b_JpsiVtxStatus); fChain->SetBranchAddress("JpsinDof", JpsinDof, &b_JpsinDof); fChain->SetBranchAddress("Jpsid1Lund", Jpsid1Lund, &b_Jpsid1Lund); fChain->SetBranchAddress("Jpsid1Idx", Jpsid1Idx, &b_Jpsid1Idx); fChain->SetBranchAddress("Jpsid2Lund", Jpsid2Lund, &b_Jpsid2Lund); fChain->SetBranchAddress("Jpsid2Idx", Jpsid2Idx, &b_Jpsid2Idx); fChain->SetBranchAddress("nK", &nK, &b_nK); fChain->SetBranchAddress("KKLHLoose_w", KKLHLoose_w, &b_KKLHLoose_w); fChain->SetBranchAddress("KKLHLoose_werr", KKLHLoose_werr, &b_KKLHLoose_werr); fChain->SetBranchAddress("KKLHTight_w", KKLHTight_w, &b_KKLHTight_w); fChain->SetBranchAddress("KKLHTight_werr", KKLHTight_werr, &b_KKLHTight_werr); fChain->SetBranchAddress("KKLHVeryLoose_w", KKLHVeryLoose_w, &b_KKLHVeryLoose_w); fChain->SetBranchAddress("KKLHVeryLoose_werr", KKLHVeryLoose_werr, &b_KKLHVeryLoose_werr); fChain->SetBranchAddress("Kcosth", Kcosth, &b_Kcosth); fChain->SetBranchAddress("Kp3", Kp3, &b_Kp3); fChain->SetBranchAddress("Kphi", Kphi, &b_Kphi); fChain->SetBranchAddress("KKLHLoose_stat", KKLHLoose_stat, &b_KKLHLoose_stat); fChain->SetBranchAddress("KKLHTight_stat", KKLHTight_stat, &b_KKLHTight_stat); fChain->SetBranchAddress("KKLHVeryLoose_stat", KKLHVeryLoose_stat, &b_KKLHVeryLoose_stat); fChain->SetBranchAddress("KLund", KLund, &b_KLund); fChain->SetBranchAddress("KMCIdx", KMCIdx, &b_KMCIdx); fChain->SetBranchAddress("KTrkIdx", KTrkIdx, &b_KTrkIdx); fChain->SetBranchAddress("nmu", &nmu, &b_nmu); fChain->SetBranchAddress("mucosth", mucosth, &b_mucosth); fChain->SetBranchAddress("mumuNNLoose_w", mumuNNLoose_w, &b_mumuNNLoose_w); fChain->SetBranchAddress("mumuNNLoose_werr", mumuNNLoose_werr, &b_mumuNNLoose_werr); fChain->SetBranchAddress("mumuNNVeryLoose_w", mumuNNVeryLoose_w, &b_mumuNNVeryLoose_w); fChain->SetBranchAddress("mumuNNVeryLoose_werr", mumuNNVeryLoose_werr, &b_mumuNNVeryLoose_werr); fChain->SetBranchAddress("mup3", mup3, &b_mup3); fChain->SetBranchAddress("muphi", muphi, &b_muphi); fChain->SetBranchAddress("muLund", muLund, &b_muLund); fChain->SetBranchAddress("muMCIdx", muMCIdx, &b_muMCIdx); fChain->SetBranchAddress("mumuNNLoose_stat", mumuNNLoose_stat, &b_mumuNNLoose_stat); fChain->SetBranchAddress("mumuNNVeryLoose_stat", mumuNNVeryLoose_stat, &b_mumuNNVeryLoose_stat); fChain->SetBranchAddress("muTrkIdx", muTrkIdx, &b_muTrkIdx); fChain->SetBranchAddress("ngamma", &ngamma, &b_ngamma); fChain->SetBranchAddress("gammacosth", gammacosth, &b_gammacosth); fChain->SetBranchAddress("gammap3", gammap3, &b_gammap3); fChain->SetBranchAddress("gammaphi", gammaphi, &b_gammaphi); fChain->SetBranchAddress("gammaLund", gammaLund, &b_gammaLund); fChain->SetBranchAddress("gammaMCIdx", gammaMCIdx, &b_gammaMCIdx); fChain->SetBranchAddress("nTRK", &nTRK, &b_nTRK); fChain->SetBranchAddress("TRKDoca", TRKDoca, &b_TRKDoca); fChain->SetBranchAddress("TRKDocaErr", TRKDocaErr, &b_TRKDocaErr); fChain->SetBranchAddress("TRKDocaXY_xy", TRKDocaXY_xy, &b_TRKDocaXY_xy); fChain->SetBranchAddress("TRKDocaXY_xyErr", TRKDocaXY_xyErr, &b_TRKDocaXY_xyErr); fChain->SetBranchAddress("TRKDocaXY_z", TRKDocaXY_z, &b_TRKDocaXY_z); fChain->SetBranchAddress("TRKDocaXY_zErr", TRKDocaXY_zErr, &b_TRKDocaXY_zErr); fChain->SetBranchAddress("TRKDoca_z", TRKDoca_z, &b_TRKDoca_z); fChain->SetBranchAddress("TRKDoca_zErr", TRKDoca_zErr, &b_TRKDoca_zErr); fChain->SetBranchAddress("TRKLund", TRKLund, &b_TRKLund); fChain->SetBranchAddress("TRKnSvt", TRKnSvt, &b_TRKnSvt); fChain->SetBranchAddress("TRKnDch", TRKnDch, &b_TRKnDch); fChain->SetBranchAddress("TRKnHit", TRKnHit, &b_TRKnHit); fChain->SetBranchAddress("TRKEff", TRKEff, &b_TRKEff); fChain->SetBranchAddress("TRKEfferr", TRKEfferr, &b_TRKEfferr); fChain->SetBranchAddress("pSelectorsMap", pSelectorsMap, &b_pSelectorsMap); fChain->SetBranchAddress("KSelectorsMap", KSelectorsMap, &b_KSelectorsMap); fChain->SetBranchAddress("piSelectorsMap", piSelectorsMap, &b_piSelectorsMap); fChain->SetBranchAddress("muSelectorsMap", muSelectorsMap, &b_muSelectorsMap); fChain->SetBranchAddress("eSelectorsMap", eSelectorsMap, &b_eSelectorsMap); fChain->SetBranchAddress("TracksMap", TracksMap, &b_TracksMap); fChain->SetBranchAddress("gammaLat", gammaLat, &b_gammaLat); fChain->SetBranchAddress("gammaA42", gammaA42, &b_gammaA42); fChain->SetBranchAddress("gammaECal", gammaECal, &b_gammaECal); fChain->SetBranchAddress("gammaErawCal", gammaErawCal, &b_gammaErawCal); fChain->SetBranchAddress("gammaCentx", gammaCentx, &b_gammaCentx); fChain->SetBranchAddress("gammaCenty", gammaCenty, &b_gammaCenty); fChain->SetBranchAddress("gammaCentz", gammaCentz, &b_gammaCentz); fChain->SetBranchAddress("gammanCrys", gammanCrys, &b_gammanCrys); } Bool_t histAnalysis::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 histAnalysis_cxx