////////////////////////////////////////////////////////// // This class has been automatically generated on // Mon Mar 23 11:14:17 2009 by ROOT version 5.14/00e // from TChain ntp1/ ////////////////////////////////////////////////////////// #ifndef doubleTagFinalLoop_h #define doubleTagFinalLoop_h #include "/net/g20/ph/1/cxc078300/root/include/TROOT.h" #include "/net/g20/ph/1/cxc078300/root/include/TChain.h" #include "/net/g20/ph/1/cxc078300/root/include/TFile.h" #include "/net/g20/ph/1/cxc078300/root/include/TSelector.h" #include "/net/g20/ph/1/cxc078300/root/include/TLorentzVector.h" #include "/net/g20/ph/1/cxc078300/root/include/TVector3.h" #include "/net/g20/ph/1/cxc078300/root/include/TSystem.h" #include "/net/g20/ph/1/cxc078300/root/include/TStyle.h" #include "/net/g20/ph/1/cxc078300/root/include/TMath.h" #include "/net/g20/ph/1/cxc078300/root/include/TH1.h" #include "/net/g20/ph/1/cxc078300/root/include/TH1F.h" #include "/net/g20/ph/1/cxc078300/root/include/TH2.h" #include "/net/g20/ph/1/cxc078300/root/include/TNtuple.h" #include "/net/g20/ph/1/cxc078300/root/include/TProofServ.h" #include "/net/g20/ph/1/cxc078300/mainpartI.h" class doubleTagFinalLoop : public TSelector { public : TTree *fChain; //!pointer to the analyzed TTree or TChain // Declaration of leave types Int_t runNumber; Int_t platform; Int_t partition; Int_t upperID; Int_t lowerID; Int_t majorID; // Int_t configKey; Int_t date; // Int_t ddate; 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[50]; //[mcLen] Int_t mothIdx[50]; //[mcLen] Int_t dauLen[50]; //[mcLen] Int_t dauIdx[50]; //[mcLen] Float_t mcmass[50]; //[mcLen] Float_t mcp3CM[50]; //[mcLen] Float_t mccosthCM[50]; //[mcLen] Float_t mcphiCM[50]; //[mcLen] Float_t mcenergyCM[50]; //[mcLen] Float_t mcp3[50]; //[mcLen] Float_t mccosth[50]; //[mcLen] Float_t mcphi[50]; //[mcLen] Float_t mcenergy[50]; //[mcLen] Float_t mcVtxx[50]; //[mcLen] Float_t mcVtxy[50]; //[mcLen] Float_t mcVtxz[50]; //[mcLen] Int_t nmyComposite; Float_t myCompositeChi2[50]; //[nmyComposite] Float_t myCompositeMass[50]; //[nmyComposite] Float_t myCompositeMassErr[50]; //[nmyComposite] Float_t myCompositeVtxx[50]; //[nmyComposite] Float_t myCompositeVtxy[50]; //[nmyComposite] Float_t myCompositeVtxz[50]; //[nmyComposite] Float_t myCompositecosth[50]; //[nmyComposite] Float_t myCompositecosthCM[50]; //[nmyComposite] Float_t myCompositeenergy[50]; //[nmyComposite] Float_t myCompositeenergyCM[50]; //[nmyComposite] Float_t myCompositep3[50]; //[nmyComposite] Float_t myCompositep3CM[50]; //[nmyComposite] Float_t myCompositephi[50]; //[nmyComposite] Float_t myCompositephiCM[50]; //[nmyComposite] Int_t myCompositeLund[50]; //[nmyComposite] Int_t myCompositeMCIdx[50]; //[nmyComposite] Int_t myCompositeVtxStatus[50]; //[nmyComposite] Int_t myCompositenDof[50]; //[nmyComposite] Int_t myComposited1Lund[50]; //[nmyComposite] Int_t myComposited1Idx[50]; //[nmyComposite] Int_t myComposited2Lund[50]; //[nmyComposite] Int_t myComposited2Idx[50]; //[nmyComposite] Int_t nmyLambdaC; Float_t myLambdaCChi2[50]; //[nmyLambdaC] Float_t myLambdaCMass[50]; //[nmyLambdaC] Float_t myLambdaCMassErr[50]; //[nmyLambdaC] Float_t myLambdaCVtxx[50]; //[nmyLambdaC] Float_t myLambdaCVtxy[50]; //[nmyLambdaC] Float_t myLambdaCVtxz[50]; //[nmyLambdaC] Float_t myLambdaCcosth[50]; //[nmyLambdaC] Float_t myLambdaCcosthCM[50]; //[nmyLambdaC] Float_t myLambdaCenergy[50]; //[nmyLambdaC] Float_t myLambdaCenergyCM[50]; //[nmyLambdaC] Float_t myLambdaCp3[50]; //[nmyLambdaC] Float_t myLambdaCp3CM[50]; //[nmyLambdaC] Float_t myLambdaCphi[50]; //[nmyLambdaC] Float_t myLambdaCphiCM[50]; //[nmyLambdaC] Int_t myLambdaCLund[50]; //[nmyLambdaC] Int_t myLambdaCMCIdx[50]; //[nmyLambdaC] Int_t myLambdaCVtxStatus[50]; //[nmyLambdaC] Int_t myLambdaCnDof[50]; //[nmyLambdaC] Int_t myLambdaCd1Lund[50]; //[nmyLambdaC] Int_t myLambdaCd1Idx[50]; //[nmyLambdaC] Int_t myLambdaCd2Lund[50]; //[nmyLambdaC] Int_t myLambdaCd2Idx[50]; //[nmyLambdaC] Int_t myLambdaCd3Lund[50]; //[nmyLambdaC] Int_t myLambdaCd3Idx[50]; //[nmyLambdaC] Int_t myLambdaCd4Lund[50]; //[nmyLambdaC] Int_t myLambdaCd4Idx[50]; //[nmyLambdaC] Int_t myLambdaCd5Lund[50]; //[nmyLambdaC] Int_t myLambdaCd5Idx[50]; //[nmyLambdaC] Int_t myLambdaCd6Lund[50]; //[nmyLambdaC] Int_t myLambdaCd6Idx[50]; //[nmyLambdaC] Int_t nmyKShort; Float_t myKShortChi2[50]; //[nmyKShort] Float_t myKShortMass[50]; //[nmyKShort] Float_t myKShortMassErr[50]; //[nmyKShort] Float_t myKShortVtxx[50]; //[nmyKShort] Float_t myKShortVtxy[50]; //[nmyKShort] Float_t myKShortVtxz[50]; //[nmyKShort] Float_t myKShortcosth[50]; //[nmyKShort] Float_t myKShortcosthCM[50]; //[nmyKShort] Float_t myKShortenergy[50]; //[nmyKShort] Float_t myKShortenergyCM[50]; //[nmyKShort] Float_t myKShortp3[50]; //[nmyKShort] Float_t myKShortp3CM[50]; //[nmyKShort] Float_t myKShortphi[50]; //[nmyKShort] Float_t myKShortphiCM[50]; //[nmyKShort] Int_t myKShortLund[50]; //[nmyKShort] Int_t myKShortMCIdx[50]; //[nmyKShort] Int_t myKShortVtxStatus[50]; //[nmyKShort] Int_t myKShortnDof[50]; //[nmyKShort] Int_t myKShortd1Lund[50]; //[nmyKShort] Int_t myKShortd1Idx[50]; //[nmyKShort] Int_t myKShortd2Lund[50]; //[nmyKShort] Int_t myKShortd2Idx[50]; //[nmyKShort] Int_t nmyLambda0; Float_t myLambda0Chi2[50]; //[nmyLambda0] Float_t myLambda0Mass[50]; //[nmyLambda0] Float_t myLambda0MassErr[50]; //[nmyLambda0] Float_t myLambda0Vtxx[50]; //[nmyLambda0] Float_t myLambda0Vtxy[50]; //[nmyLambda0] Float_t myLambda0Vtxz[50]; //[nmyLambda0] Float_t myLambda0costh[50]; //[nmyLambda0] Float_t myLambda0costhCM[50]; //[nmyLambda0] Float_t myLambda0energy[50]; //[nmyLambda0] Float_t myLambda0energyCM[50]; //[nmyLambda0] Float_t myLambda0p3[50]; //[nmyLambda0] Float_t myLambda0p3CM[50]; //[nmyLambda0] Float_t myLambda0phi[50]; //[nmyLambda0] Float_t myLambda0phiCM[50]; //[nmyLambda0] Int_t myLambda0Lund[50]; //[nmyLambda0] Int_t myLambda0MCIdx[50]; //[nmyLambda0] Int_t myLambda0VtxStatus[50]; //[nmyLambda0] Int_t myLambda0nDof[50]; //[nmyLambda0] Int_t myLambda0d1Lund[50]; //[nmyLambda0] Int_t myLambda0d1Idx[50]; //[nmyLambda0] Int_t myLambda0d2Lund[50]; //[nmyLambda0] Int_t myLambda0d2Idx[50]; //[nmyLambda0] Int_t nmySigma0; Float_t mySigma0Chi2[50]; //[nmySigma0] Float_t mySigma0Mass[50]; //[nmySigma0] Float_t mySigma0MassErr[50]; //[nmySigma0] Float_t mySigma0Vtxx[50]; //[nmySigma0] Float_t mySigma0Vtxy[50]; //[nmySigma0] Float_t mySigma0Vtxz[50]; //[nmySigma0] Float_t mySigma0costh[50]; //[nmySigma0] Float_t mySigma0costhCM[50]; //[nmySigma0] Float_t mySigma0energy[50]; //[nmySigma0] Float_t mySigma0energyCM[50]; //[nmySigma0] Float_t mySigma0p3[50]; //[nmySigma0] Float_t mySigma0p3CM[50]; //[nmySigma0] Float_t mySigma0phi[50]; //[nmySigma0] Float_t mySigma0phiCM[50]; //[nmySigma0] Int_t mySigma0Lund[50]; //[nmySigma0] Int_t mySigma0MCIdx[50]; //[nmySigma0] Int_t mySigma0VtxStatus[50]; //[nmySigma0] Int_t mySigma0nDof[50]; //[nmySigma0] Int_t mySigma0d1Lund[50]; //[nmySigma0] Int_t mySigma0d1Idx[50]; //[nmySigma0] Int_t mySigma0d2Lund[50]; //[nmySigma0] Int_t mySigma0d2Idx[50]; //[nmySigma0] Int_t nmyPion0; Float_t myPion0Chi2[50]; //[nmyPion0] Float_t myPion0Mass[50]; //[nmyPion0] Float_t myPion0MassErr[50]; //[nmyPion0] Float_t myPion0Vtxx[50]; //[nmyPion0] Float_t myPion0Vtxy[50]; //[nmyPion0] Float_t myPion0Vtxz[50]; //[nmyPion0] Float_t myPion0costh[50]; //[nmyPion0] Float_t myPion0costhCM[50]; //[nmyPion0] Float_t myPion0energy[50]; //[nmyPion0] Float_t myPion0energyCM[50]; //[nmyPion0] Float_t myPion0p3[50]; //[nmyPion0] Float_t myPion0p3CM[50]; //[nmyPion0] Float_t myPion0phi[50]; //[nmyPion0] Float_t myPion0phiCM[50]; //[nmyPion0] Int_t myPion0Lund[50]; //[nmyPion0] Int_t myPion0MCIdx[50]; //[nmyPion0] Int_t myPion0VtxStatus[50]; //[nmyPion0] Int_t myPion0nDof[50]; //[nmyPion0] Int_t myPion0d1Lund[50]; //[nmyPion0] Int_t myPion0d1Idx[50]; //[nmyPion0] Int_t myPion0d2Lund[50]; //[nmyPion0] Int_t myPion0d2Idx[50]; //[nmyPion0] Int_t nmyProton; Float_t myProtonChi2[50]; //[nmyProton] Float_t myProtonMass[50]; //[nmyProton] Float_t myProtonMassErr[50]; //[nmyProton] Float_t myProtonVtxx[50]; //[nmyProton] Float_t myProtonVtxy[50]; //[nmyProton] Float_t myProtonVtxz[50]; //[nmyProton] Float_t myProtoncosth[50]; //[nmyProton] Float_t myProtoncosthCM[50]; //[nmyProton] Float_t myProtonenergy[50]; //[nmyProton] Float_t myProtonenergyCM[50]; //[nmyProton] Float_t myProtonp3[50]; //[nmyProton] Float_t myProtonp3CM[50]; //[nmyProton] Float_t myProtonphi[50]; //[nmyProton] Float_t myProtonphiCM[50]; //[nmyProton] Int_t myProtonLund[50]; //[nmyProton] Int_t myProtonMCIdx[50]; //[nmyProton] Int_t myProtonVtxStatus[50]; //[nmyProton] Int_t myProtonnDof[50]; //[nmyProton] Int_t myProtonTrkIdx[50]; //[nmyProton] Int_t nmyKaon; Float_t myKaonChi2[50]; //[nmyKaon] Float_t myKaonMass[50]; //[nmyKaon] Float_t myKaonMassErr[50]; //[nmyKaon] Float_t myKaonVtxx[50]; //[nmyKaon] Float_t myKaonVtxy[50]; //[nmyKaon] Float_t myKaonVtxz[50]; //[nmyKaon] Float_t myKaoncosth[50]; //[nmyKaon] Float_t myKaoncosthCM[50]; //[nmyKaon] Float_t myKaonenergy[50]; //[nmyKaon] Float_t myKaonenergyCM[50]; //[nmyKaon] Float_t myKaonp3[50]; //[nmyKaon] Float_t myKaonp3CM[50]; //[nmyKaon] Float_t myKaonphi[50]; //[nmyKaon] Float_t myKaonphiCM[50]; //[nmyKaon] Int_t myKaonLund[50]; //[nmyKaon] Int_t myKaonMCIdx[50]; //[nmyKaon] Int_t myKaonVtxStatus[50]; //[nmyKaon] Int_t myKaonnDof[50]; //[nmyKaon] Int_t myKaonTrkIdx[50]; //[nmyKaon] Int_t nmyPion; Float_t myPionChi2[50]; //[nmyPion] Float_t myPionMass[50]; //[nmyPion] Float_t myPionMassErr[50]; //[nmyPion] Float_t myPionVtxx[50]; //[nmyPion] Float_t myPionVtxy[50]; //[nmyPion] Float_t myPionVtxz[50]; //[nmyPion] Float_t myPioncosth[50]; //[nmyPion] Float_t myPioncosthCM[50]; //[nmyPion] Float_t myPionenergy[50]; //[nmyPion] Float_t myPionenergyCM[50]; //[nmyPion] Float_t myPionp3[50]; //[nmyPion] Float_t myPionp3CM[50]; //[nmyPion] Float_t myPionphi[50]; //[nmyPion] Float_t myPionphiCM[50]; //[nmyPion] Int_t myPionLund[50]; //[nmyPion] Int_t myPionMCIdx[50]; //[nmyPion] Int_t myPionVtxStatus[50]; //[nmyPion] Int_t myPionnDof[50]; //[nmyPion] Int_t myPionTrkIdx[50]; //[nmyPion] Int_t ngamma; Float_t gammaChi2[60]; //[ngamma] Float_t gammaVtxx[60]; //[ngamma] Float_t gammaVtxy[60]; //[ngamma] Float_t gammaVtxz[60]; //[ngamma] Float_t gammacosth[60]; //[ngamma] Float_t gammacosthCM[60]; //[ngamma] Float_t gammaenergy[60]; //[ngamma] Float_t gammaenergyCM[60]; //[ngamma] Float_t gammap3[60]; //[ngamma] Float_t gammap3CM[60]; //[ngamma] Float_t gammaphi[60]; //[ngamma] Float_t gammaphiCM[60]; //[ngamma] Int_t gammaLund[60]; //[ngamma] Int_t gammaMCIdx[60]; //[ngamma] Int_t gammaVtxStatus[60]; //[ngamma] Int_t gammanDof[60]; //[ngamma] Int_t nTRK; Float_t TRKDoca[50]; //[nTRK] Float_t TRKDocaErr[50]; //[nTRK] Float_t TRKDocaXY_xy[50]; //[nTRK] Float_t TRKDocaXY_xyErr[50]; //[nTRK] Float_t TRKDocaXY_z[50]; //[nTRK] Float_t TRKDocaXY_zErr[50]; //[nTRK] Float_t TRKDoca_z[50]; //[nTRK] Float_t TRKDoca_zErr[50]; //[nTRK] Int_t TRKLund[50]; //[nTRK] Int_t TRKnSvt[50]; //[nTRK] Int_t TRKnDch[50]; //[nTRK] Int_t TRKnHit[50]; //[nTRK] Float_t TRKEff[50]; //[nTRK] Float_t TRKEfferr[50]; //[nTRK] Int_t pSelectorsMap[50]; //[nTRK] Int_t KSelectorsMap[50]; //[nTRK] Int_t piSelectorsMap[50]; //[nTRK] Int_t eSelectorsMap[50]; //[nTRK] Int_t muSelectorsMap[50]; //[nTRK] Int_t TracksMap[50]; //[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] // Float_t gamma2ndMomTP[60]; //[ngamma] // Float_t gammas9s25[60]; //[ngamma] // Float_t gammas1s9[60]; //[ngamma] // Float_t gammaaz42[60]; //[ngamma] // Float_t gammaaz20[60]; //[ngamma] // Int_t gammastatus[60]; //[ngamma] // Int_t gammaneutPid[60]; //[ngamma] // Int_t gammanBumps[60]; //[ngamma] // UChar_t gammaisOk[60]; //[ngamma] // UChar_t gammaisNoisy[60]; //[ngamma] // UChar_t gammaisNearDead[60]; //[ngamma] // UChar_t gammaisDamaged[60]; //[ngamma] // UChar_t gammaisFlickery[60]; //[ngamma] // UChar_t gammamaxIsNoisy[60]; //[ngamma] // UChar_t gammamaxIsNearDead[60]; //[ngamma] // UChar_t gammamaxIsDamaged[60]; //[ngamma] // UChar_t gammamaxIsFlickery[60]; //[ngamma] // List of branches TBranch *b_runNumber; //! TBranch *b_platform; //! TBranch *b_partition; //! TBranch *b_upperID; //! TBranch *b_lowerID; //! TBranch *b_majorID; //! // TBranch *b_configKey; //! TBranch *b_date; //! // TBranch *b_ddate; //! 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_mcenergyCM; //! TBranch *b_mcp3; //! TBranch *b_mccosth; //! TBranch *b_mcphi; //! TBranch *b_mcenergy; //! TBranch *b_mcVtxx; //! TBranch *b_mcVtxy; //! TBranch *b_mcVtxz; //! TBranch *b_nmyComposite; //! TBranch *b_myCompositeChi2; //! TBranch *b_myCompositeMass; //! TBranch *b_myCompositeMassErr; //! TBranch *b_myCompositeVtxx; //! TBranch *b_myCompositeVtxy; //! TBranch *b_myCompositeVtxz; //! TBranch *b_myCompositecosth; //! TBranch *b_myCompositecosthCM; //! TBranch *b_myCompositeenergy; //! TBranch *b_myCompositeenergyCM; //! TBranch *b_myCompositep3; //! TBranch *b_myCompositep3CM; //! TBranch *b_myCompositephi; //! TBranch *b_myCompositephiCM; //! TBranch *b_myCompositeLund; //! TBranch *b_myCompositeMCIdx; //! TBranch *b_myCompositeVtxStatus; //! TBranch *b_myCompositenDof; //! TBranch *b_myComposited1Lund; //! TBranch *b_myComposited1Idx; //! TBranch *b_myComposited2Lund; //! TBranch *b_myComposited2Idx; //! TBranch *b_nmyLambdaC; //! TBranch *b_myLambdaCChi2; //! TBranch *b_myLambdaCMass; //! TBranch *b_myLambdaCMassErr; //! TBranch *b_myLambdaCVtxx; //! TBranch *b_myLambdaCVtxy; //! TBranch *b_myLambdaCVtxz; //! TBranch *b_myLambdaCcosth; //! TBranch *b_myLambdaCcosthCM; //! TBranch *b_myLambdaCenergy; //! TBranch *b_myLambdaCenergyCM; //! TBranch *b_myLambdaCp3; //! TBranch *b_myLambdaCp3CM; //! TBranch *b_myLambdaCphi; //! TBranch *b_myLambdaCphiCM; //! TBranch *b_myLambdaCLund; //! TBranch *b_myLambdaCMCIdx; //! TBranch *b_myLambdaCVtxStatus; //! TBranch *b_myLambdaCnDof; //! TBranch *b_myLambdaCd1Lund; //! TBranch *b_myLambdaCd1Idx; //! TBranch *b_myLambdaCd2Lund; //! TBranch *b_myLambdaCd2Idx; //! TBranch *b_myLambdaCd3Lund; //! TBranch *b_myLambdaCd3Idx; //! TBranch *b_myLambdaCd4Lund; //! TBranch *b_myLambdaCd4Idx; //! TBranch *b_myLambdaCd5Lund; //! TBranch *b_myLambdaCd5Idx; //! TBranch *b_myLambdaCd6Lund; //! TBranch *b_myLambdaCd6Idx; //! TBranch *b_nmyKShort; //! TBranch *b_myKShortChi2; //! TBranch *b_myKShortMass; //! TBranch *b_myKShortMassErr; //! TBranch *b_myKShortVtxx; //! TBranch *b_myKShortVtxy; //! TBranch *b_myKShortVtxz; //! TBranch *b_myKShortcosth; //! TBranch *b_myKShortcosthCM; //! TBranch *b_myKShortenergy; //! TBranch *b_myKShortenergyCM; //! TBranch *b_myKShortp3; //! TBranch *b_myKShortp3CM; //! TBranch *b_myKShortphi; //! TBranch *b_myKShortphiCM; //! TBranch *b_myKShortLund; //! TBranch *b_myKShortMCIdx; //! TBranch *b_myKShortVtxStatus; //! TBranch *b_myKShortnDof; //! TBranch *b_myKShortd1Lund; //! TBranch *b_myKShortd1Idx; //! TBranch *b_myKShortd2Lund; //! TBranch *b_myKShortd2Idx; //! TBranch *b_nmyLambda0; //! TBranch *b_myLambda0Chi2; //! TBranch *b_myLambda0Mass; //! TBranch *b_myLambda0MassErr; //! TBranch *b_myLambda0Vtxx; //! TBranch *b_myLambda0Vtxy; //! TBranch *b_myLambda0Vtxz; //! TBranch *b_myLambda0costh; //! TBranch *b_myLambda0costhCM; //! TBranch *b_myLambda0energy; //! TBranch *b_myLambda0energyCM; //! TBranch *b_myLambda0p3; //! TBranch *b_myLambda0p3CM; //! TBranch *b_myLambda0phi; //! TBranch *b_myLambda0phiCM; //! TBranch *b_myLambda0Lund; //! TBranch *b_myLambda0MCIdx; //! TBranch *b_myLambda0VtxStatus; //! TBranch *b_myLambda0nDof; //! TBranch *b_myLambda0d1Lund; //! TBranch *b_myLambda0d1Idx; //! TBranch *b_myLambda0d2Lund; //! TBranch *b_myLambda0d2Idx; //! TBranch *b_nmySigma0; //! TBranch *b_mySigma0Chi2; //! TBranch *b_mySigma0Mass; //! TBranch *b_mySigma0MassErr; //! TBranch *b_mySigma0Vtxx; //! TBranch *b_mySigma0Vtxy; //! TBranch *b_mySigma0Vtxz; //! TBranch *b_mySigma0costh; //! TBranch *b_mySigma0costhCM; //! TBranch *b_mySigma0energy; //! TBranch *b_mySigma0energyCM; //! TBranch *b_mySigma0p3; //! TBranch *b_mySigma0p3CM; //! TBranch *b_mySigma0phi; //! TBranch *b_mySigma0phiCM; //! TBranch *b_mySigma0Lund; //! TBranch *b_mySigma0MCIdx; //! TBranch *b_mySigma0VtxStatus; //! TBranch *b_mySigma0nDof; //! TBranch *b_mySigma0d1Lund; //! TBranch *b_mySigma0d1Idx; //! TBranch *b_mySigma0d2Lund; //! TBranch *b_mySigma0d2Idx; //! TBranch *b_nmyPion0; //! TBranch *b_myPion0Chi2; //! TBranch *b_myPion0Mass; //! TBranch *b_myPion0MassErr; //! TBranch *b_myPion0Vtxx; //! TBranch *b_myPion0Vtxy; //! TBranch *b_myPion0Vtxz; //! TBranch *b_myPion0costh; //! TBranch *b_myPion0costhCM; //! TBranch *b_myPion0energy; //! TBranch *b_myPion0energyCM; //! TBranch *b_myPion0p3; //! TBranch *b_myPion0p3CM; //! TBranch *b_myPion0phi; //! TBranch *b_myPion0phiCM; //! TBranch *b_myPion0Lund; //! TBranch *b_myPion0MCIdx; //! TBranch *b_myPion0VtxStatus; //! TBranch *b_myPion0nDof; //! TBranch *b_myPion0d1Lund; //! TBranch *b_myPion0d1Idx; //! TBranch *b_myPion0d2Lund; //! TBranch *b_myPion0d2Idx; //! TBranch *b_nmyProton; //! TBranch *b_myProtonChi2; //! TBranch *b_myProtonMass; //! TBranch *b_myProtonMassErr; //! TBranch *b_myProtonVtxx; //! TBranch *b_myProtonVtxy; //! TBranch *b_myProtonVtxz; //! TBranch *b_myProtoncosth; //! TBranch *b_myProtoncosthCM; //! TBranch *b_myProtonenergy; //! TBranch *b_myProtonenergyCM; //! TBranch *b_myProtonp3; //! TBranch *b_myProtonp3CM; //! TBranch *b_myProtonphi; //! TBranch *b_myProtonphiCM; //! TBranch *b_myProtonLund; //! TBranch *b_myProtonMCIdx; //! TBranch *b_myProtonVtxStatus; //! TBranch *b_myProtonnDof; //! TBranch *b_myProtonTrkIdx; //! TBranch *b_nmyKaon; //! TBranch *b_myKaonChi2; //! TBranch *b_myKaonMass; //! TBranch *b_myKaonMassErr; //! TBranch *b_myKaonVtxx; //! TBranch *b_myKaonVtxy; //! TBranch *b_myKaonVtxz; //! TBranch *b_myKaoncosth; //! TBranch *b_myKaoncosthCM; //! TBranch *b_myKaonenergy; //! TBranch *b_myKaonenergyCM; //! TBranch *b_myKaonp3; //! TBranch *b_myKaonp3CM; //! TBranch *b_myKaonphi; //! TBranch *b_myKaonphiCM; //! TBranch *b_myKaonLund; //! TBranch *b_myKaonMCIdx; //! TBranch *b_myKaonVtxStatus; //! TBranch *b_myKaonnDof; //! TBranch *b_myKaonTrkIdx; //! TBranch *b_nmyPion; //! TBranch *b_myPionChi2; //! TBranch *b_myPionMass; //! TBranch *b_myPionMassErr; //! TBranch *b_myPionVtxx; //! TBranch *b_myPionVtxy; //! TBranch *b_myPionVtxz; //! TBranch *b_myPioncosth; //! TBranch *b_myPioncosthCM; //! TBranch *b_myPionenergy; //! TBranch *b_myPionenergyCM; //! TBranch *b_myPionp3; //! TBranch *b_myPionp3CM; //! TBranch *b_myPionphi; //! TBranch *b_myPionphiCM; //! TBranch *b_myPionLund; //! TBranch *b_myPionMCIdx; //! TBranch *b_myPionVtxStatus; //! TBranch *b_myPionnDof; //! TBranch *b_myPionTrkIdx; //! TBranch *b_ngamma; //! TBranch *b_gammaChi2; //! TBranch *b_gammaVtxx; //! TBranch *b_gammaVtxy; //! TBranch *b_gammaVtxz; //! TBranch *b_gammacosth; //! TBranch *b_gammacosthCM; //! TBranch *b_gammaenergy; //! TBranch *b_gammaenergyCM; //! TBranch *b_gammap3; //! TBranch *b_gammap3CM; //! TBranch *b_gammaphi; //! TBranch *b_gammaphiCM; //! TBranch *b_gammaLund; //! TBranch *b_gammaMCIdx; //! TBranch *b_gammaVtxStatus; //! TBranch *b_gammanDof; //! 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_eSelectorsMap; //! TBranch *b_muSelectorsMap; //! 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; //! // TBranch *b_gamma2ndMomTP; //! // TBranch *b_gammas9s25; //! // TBranch *b_gammas1s9; //! // TBranch *b_gammaaz42; //! // TBranch *b_gammaaz20; //! // TBranch *b_gammastatus; //! // TBranch *b_gammaneutPid; //! // TBranch *b_gammanBumps; //! // TBranch *b_gammaisOk; //! // TBranch *b_gammaisNoisy; //! // TBranch *b_gammaisNearDead; //! // TBranch *b_gammaisDamaged; //! // TBranch *b_gammaisFlickery; //! // TBranch *b_gammamaxIsNoisy; //! // TBranch *b_gammamaxIsNearDead; //! // TBranch *b_gammamaxIsDamaged; //! // TBranch *b_gammamaxIsFlickery; //! virtual Long64_t GetEntries() {return fChain->GetEntries();} //TTree * /*tree*/=0 doubleTagFinalLoop( ) {} virtual ~doubleTagFinalLoop() { } virtual Int_t Version() const { return 2; } virtual void CreateOutputList(); 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(); TLorentzVector SetMagCosThetaPhiMass(Double_t mag, Double_t cosTheta, Double_t phi, Double_t mass); // Double_t luminosityFunction(Double_t MassLcLc, Double_t sval, Double_t binWidth); Double_t evalEfficiency(Double_t MassLcLc); Int_t determineDecMode(Int_t LambdaC1d1, Int_t LambdaC1d2, Int_t LambdaC1d3, Int_t LambdaC1d4, Int_t LambdaC2d1, Int_t LambdaC2d2, Int_t LambdaC2d3, Int_t LambdaC2d4, Int_t LambdaC1Lund); bool passesSelectorTest(Int_t selectorMapVal, Int_t selectorBar); Double_t absolute(Double_t value); // Double_t unbinnedLumi(Double_t MassLcLc, Double_t sval); Double_t pKpipKpiEff(Double_t MassLcLc); Double_t pKpipKsEff(Double_t MassLcLc); Double_t pKpiLzpiEff(Double_t MassLcLc); Double_t pKspKsEff(Double_t MassLcLc); Double_t pKsLzpiEff(Double_t MassLcLc); ClassDef(doubleTagFinalLoop,0); }; #endif #ifdef doubleTagFinalLoop_cxx void doubleTagFinalLoop::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 normaly 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("majorID", &majorID, &b_majorID); // fChain->SetBranchAddress("configKey", &configKey, &b_configKey); fChain->SetBranchAddress("date", &date, &b_date); // fChain->SetBranchAddress("ddate", &ddate, &b_ddate); 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("mcenergyCM", &mcenergyCM, &b_mcenergyCM); fChain->SetBranchAddress("mcp3", &mcp3, &b_mcp3); fChain->SetBranchAddress("mccosth", &mccosth, &b_mccosth); fChain->SetBranchAddress("mcphi", &mcphi, &b_mcphi); fChain->SetBranchAddress("mcenergy", &mcenergy, &b_mcenergy); fChain->SetBranchAddress("mcVtxx", &mcVtxx, &b_mcVtxx); fChain->SetBranchAddress("mcVtxy", &mcVtxy, &b_mcVtxy); fChain->SetBranchAddress("mcVtxz", &mcVtxz, &b_mcVtxz); fChain->SetBranchAddress("nmyComposite", &nmyComposite, &b_nmyComposite); fChain->SetBranchAddress("myCompositeChi2", myCompositeChi2, &b_myCompositeChi2); fChain->SetBranchAddress("myCompositeMass", myCompositeMass, &b_myCompositeMass); fChain->SetBranchAddress("myCompositeMassErr", myCompositeMassErr, &b_myCompositeMassErr); fChain->SetBranchAddress("myCompositeVtxx", myCompositeVtxx, &b_myCompositeVtxx); fChain->SetBranchAddress("myCompositeVtxy", myCompositeVtxy, &b_myCompositeVtxy); fChain->SetBranchAddress("myCompositeVtxz", myCompositeVtxz, &b_myCompositeVtxz); fChain->SetBranchAddress("myCompositecosth", myCompositecosth, &b_myCompositecosth); fChain->SetBranchAddress("myCompositecosthCM", myCompositecosthCM, &b_myCompositecosthCM); fChain->SetBranchAddress("myCompositeenergy", myCompositeenergy, &b_myCompositeenergy); fChain->SetBranchAddress("myCompositeenergyCM", myCompositeenergyCM, &b_myCompositeenergyCM); fChain->SetBranchAddress("myCompositep3", myCompositep3, &b_myCompositep3); fChain->SetBranchAddress("myCompositep3CM", myCompositep3CM, &b_myCompositep3CM); fChain->SetBranchAddress("myCompositephi", myCompositephi, &b_myCompositephi); fChain->SetBranchAddress("myCompositephiCM", myCompositephiCM, &b_myCompositephiCM); fChain->SetBranchAddress("myCompositeLund", myCompositeLund, &b_myCompositeLund); fChain->SetBranchAddress("myCompositeMCIdx", myCompositeMCIdx, &b_myCompositeMCIdx); fChain->SetBranchAddress("myCompositeVtxStatus", myCompositeVtxStatus, &b_myCompositeVtxStatus); fChain->SetBranchAddress("myCompositenDof", myCompositenDof, &b_myCompositenDof); fChain->SetBranchAddress("myComposited1Lund", myComposited1Lund, &b_myComposited1Lund); fChain->SetBranchAddress("myComposited1Idx", myComposited1Idx, &b_myComposited1Idx); fChain->SetBranchAddress("myComposited2Lund", myComposited2Lund, &b_myComposited2Lund); fChain->SetBranchAddress("myComposited2Idx", myComposited2Idx, &b_myComposited2Idx); fChain->SetBranchAddress("nmyLambdaC", &nmyLambdaC, &b_nmyLambdaC); fChain->SetBranchAddress("myLambdaCChi2", myLambdaCChi2, &b_myLambdaCChi2); fChain->SetBranchAddress("myLambdaCMass", myLambdaCMass, &b_myLambdaCMass); fChain->SetBranchAddress("myLambdaCMassErr", myLambdaCMassErr, &b_myLambdaCMassErr); fChain->SetBranchAddress("myLambdaCVtxx", myLambdaCVtxx, &b_myLambdaCVtxx); fChain->SetBranchAddress("myLambdaCVtxy", myLambdaCVtxy, &b_myLambdaCVtxy); fChain->SetBranchAddress("myLambdaCVtxz", myLambdaCVtxz, &b_myLambdaCVtxz); fChain->SetBranchAddress("myLambdaCcosth", myLambdaCcosth, &b_myLambdaCcosth); fChain->SetBranchAddress("myLambdaCcosthCM", myLambdaCcosthCM, &b_myLambdaCcosthCM); fChain->SetBranchAddress("myLambdaCenergy", myLambdaCenergy, &b_myLambdaCenergy); fChain->SetBranchAddress("myLambdaCenergyCM", myLambdaCenergyCM, &b_myLambdaCenergyCM); fChain->SetBranchAddress("myLambdaCp3", myLambdaCp3, &b_myLambdaCp3); fChain->SetBranchAddress("myLambdaCp3CM", myLambdaCp3CM, &b_myLambdaCp3CM); fChain->SetBranchAddress("myLambdaCphi", myLambdaCphi, &b_myLambdaCphi); fChain->SetBranchAddress("myLambdaCphiCM", myLambdaCphiCM, &b_myLambdaCphiCM); fChain->SetBranchAddress("myLambdaCLund", myLambdaCLund, &b_myLambdaCLund); fChain->SetBranchAddress("myLambdaCMCIdx", myLambdaCMCIdx, &b_myLambdaCMCIdx); fChain->SetBranchAddress("myLambdaCVtxStatus", myLambdaCVtxStatus, &b_myLambdaCVtxStatus); fChain->SetBranchAddress("myLambdaCnDof", myLambdaCnDof, &b_myLambdaCnDof); fChain->SetBranchAddress("myLambdaCd1Lund", myLambdaCd1Lund, &b_myLambdaCd1Lund); fChain->SetBranchAddress("myLambdaCd1Idx", myLambdaCd1Idx, &b_myLambdaCd1Idx); fChain->SetBranchAddress("myLambdaCd2Lund", myLambdaCd2Lund, &b_myLambdaCd2Lund); fChain->SetBranchAddress("myLambdaCd2Idx", myLambdaCd2Idx, &b_myLambdaCd2Idx); fChain->SetBranchAddress("myLambdaCd3Lund", myLambdaCd3Lund, &b_myLambdaCd3Lund); fChain->SetBranchAddress("myLambdaCd3Idx", myLambdaCd3Idx, &b_myLambdaCd3Idx); fChain->SetBranchAddress("myLambdaCd4Lund", myLambdaCd4Lund, &b_myLambdaCd4Lund); fChain->SetBranchAddress("myLambdaCd4Idx", myLambdaCd4Idx, &b_myLambdaCd4Idx); fChain->SetBranchAddress("myLambdaCd5Lund", myLambdaCd5Lund, &b_myLambdaCd5Lund); fChain->SetBranchAddress("myLambdaCd5Idx", myLambdaCd5Idx, &b_myLambdaCd5Idx); fChain->SetBranchAddress("myLambdaCd6Lund", myLambdaCd6Lund, &b_myLambdaCd6Lund); fChain->SetBranchAddress("myLambdaCd6Idx", myLambdaCd6Idx, &b_myLambdaCd6Idx); fChain->SetBranchAddress("nmyKShort", &nmyKShort, &b_nmyKShort); fChain->SetBranchAddress("myKShortChi2", myKShortChi2, &b_myKShortChi2); fChain->SetBranchAddress("myKShortMass", myKShortMass, &b_myKShortMass); fChain->SetBranchAddress("myKShortMassErr", myKShortMassErr, &b_myKShortMassErr); fChain->SetBranchAddress("myKShortVtxx", myKShortVtxx, &b_myKShortVtxx); fChain->SetBranchAddress("myKShortVtxy", myKShortVtxy, &b_myKShortVtxy); fChain->SetBranchAddress("myKShortVtxz", myKShortVtxz, &b_myKShortVtxz); fChain->SetBranchAddress("myKShortcosth", myKShortcosth, &b_myKShortcosth); fChain->SetBranchAddress("myKShortcosthCM", myKShortcosthCM, &b_myKShortcosthCM); fChain->SetBranchAddress("myKShortenergy", myKShortenergy, &b_myKShortenergy); fChain->SetBranchAddress("myKShortenergyCM", myKShortenergyCM, &b_myKShortenergyCM); fChain->SetBranchAddress("myKShortp3", myKShortp3, &b_myKShortp3); fChain->SetBranchAddress("myKShortp3CM", myKShortp3CM, &b_myKShortp3CM); fChain->SetBranchAddress("myKShortphi", myKShortphi, &b_myKShortphi); fChain->SetBranchAddress("myKShortphiCM", myKShortphiCM, &b_myKShortphiCM); fChain->SetBranchAddress("myKShortLund", myKShortLund, &b_myKShortLund); fChain->SetBranchAddress("myKShortMCIdx", myKShortMCIdx, &b_myKShortMCIdx); fChain->SetBranchAddress("myKShortVtxStatus", myKShortVtxStatus, &b_myKShortVtxStatus); fChain->SetBranchAddress("myKShortnDof", myKShortnDof, &b_myKShortnDof); fChain->SetBranchAddress("myKShortd1Lund", myKShortd1Lund, &b_myKShortd1Lund); fChain->SetBranchAddress("myKShortd1Idx", myKShortd1Idx, &b_myKShortd1Idx); fChain->SetBranchAddress("myKShortd2Lund", myKShortd2Lund, &b_myKShortd2Lund); fChain->SetBranchAddress("myKShortd2Idx", myKShortd2Idx, &b_myKShortd2Idx); fChain->SetBranchAddress("nmyLambda0", &nmyLambda0, &b_nmyLambda0); fChain->SetBranchAddress("myLambda0Chi2", myLambda0Chi2, &b_myLambda0Chi2); fChain->SetBranchAddress("myLambda0Mass", myLambda0Mass, &b_myLambda0Mass); fChain->SetBranchAddress("myLambda0MassErr", myLambda0MassErr, &b_myLambda0MassErr); fChain->SetBranchAddress("myLambda0Vtxx", myLambda0Vtxx, &b_myLambda0Vtxx); fChain->SetBranchAddress("myLambda0Vtxy", myLambda0Vtxy, &b_myLambda0Vtxy); fChain->SetBranchAddress("myLambda0Vtxz", myLambda0Vtxz, &b_myLambda0Vtxz); fChain->SetBranchAddress("myLambda0costh", myLambda0costh, &b_myLambda0costh); fChain->SetBranchAddress("myLambda0costhCM", myLambda0costhCM, &b_myLambda0costhCM); fChain->SetBranchAddress("myLambda0energy", myLambda0energy, &b_myLambda0energy); fChain->SetBranchAddress("myLambda0energyCM", myLambda0energyCM, &b_myLambda0energyCM); fChain->SetBranchAddress("myLambda0p3", myLambda0p3, &b_myLambda0p3); fChain->SetBranchAddress("myLambda0p3CM", myLambda0p3CM, &b_myLambda0p3CM); fChain->SetBranchAddress("myLambda0phi", myLambda0phi, &b_myLambda0phi); fChain->SetBranchAddress("myLambda0phiCM", myLambda0phiCM, &b_myLambda0phiCM); fChain->SetBranchAddress("myLambda0Lund", myLambda0Lund, &b_myLambda0Lund); fChain->SetBranchAddress("myLambda0MCIdx", myLambda0MCIdx, &b_myLambda0MCIdx); fChain->SetBranchAddress("myLambda0VtxStatus", myLambda0VtxStatus, &b_myLambda0VtxStatus); fChain->SetBranchAddress("myLambda0nDof", myLambda0nDof, &b_myLambda0nDof); fChain->SetBranchAddress("myLambda0d1Lund", myLambda0d1Lund, &b_myLambda0d1Lund); fChain->SetBranchAddress("myLambda0d1Idx", myLambda0d1Idx, &b_myLambda0d1Idx); fChain->SetBranchAddress("myLambda0d2Lund", myLambda0d2Lund, &b_myLambda0d2Lund); fChain->SetBranchAddress("myLambda0d2Idx", myLambda0d2Idx, &b_myLambda0d2Idx); fChain->SetBranchAddress("nmySigma0", &nmySigma0, &b_nmySigma0); fChain->SetBranchAddress("mySigma0Chi2", mySigma0Chi2, &b_mySigma0Chi2); fChain->SetBranchAddress("mySigma0Mass", mySigma0Mass, &b_mySigma0Mass); fChain->SetBranchAddress("mySigma0MassErr", mySigma0MassErr, &b_mySigma0MassErr); fChain->SetBranchAddress("mySigma0Vtxx", mySigma0Vtxx, &b_mySigma0Vtxx); fChain->SetBranchAddress("mySigma0Vtxy", mySigma0Vtxy, &b_mySigma0Vtxy); fChain->SetBranchAddress("mySigma0Vtxz", mySigma0Vtxz, &b_mySigma0Vtxz); fChain->SetBranchAddress("mySigma0costh", mySigma0costh, &b_mySigma0costh); fChain->SetBranchAddress("mySigma0costhCM", mySigma0costhCM, &b_mySigma0costhCM); fChain->SetBranchAddress("mySigma0energy", mySigma0energy, &b_mySigma0energy); fChain->SetBranchAddress("mySigma0energyCM", mySigma0energyCM, &b_mySigma0energyCM); fChain->SetBranchAddress("mySigma0p3", mySigma0p3, &b_mySigma0p3); fChain->SetBranchAddress("mySigma0p3CM", mySigma0p3CM, &b_mySigma0p3CM); fChain->SetBranchAddress("mySigma0phi", mySigma0phi, &b_mySigma0phi); fChain->SetBranchAddress("mySigma0phiCM", mySigma0phiCM, &b_mySigma0phiCM); fChain->SetBranchAddress("mySigma0Lund", mySigma0Lund, &b_mySigma0Lund); fChain->SetBranchAddress("mySigma0MCIdx", mySigma0MCIdx, &b_mySigma0MCIdx); fChain->SetBranchAddress("mySigma0VtxStatus", mySigma0VtxStatus, &b_mySigma0VtxStatus); fChain->SetBranchAddress("mySigma0nDof", mySigma0nDof, &b_mySigma0nDof); fChain->SetBranchAddress("mySigma0d1Lund", mySigma0d1Lund, &b_mySigma0d1Lund); fChain->SetBranchAddress("mySigma0d1Idx", mySigma0d1Idx, &b_mySigma0d1Idx); fChain->SetBranchAddress("mySigma0d2Lund", mySigma0d2Lund, &b_mySigma0d2Lund); fChain->SetBranchAddress("mySigma0d2Idx", mySigma0d2Idx, &b_mySigma0d2Idx); fChain->SetBranchAddress("nmyPion0", &nmyPion0, &b_nmyPion0); fChain->SetBranchAddress("myPion0Chi2", myPion0Chi2, &b_myPion0Chi2); fChain->SetBranchAddress("myPion0Mass", myPion0Mass, &b_myPion0Mass); fChain->SetBranchAddress("myPion0MassErr", myPion0MassErr, &b_myPion0MassErr); fChain->SetBranchAddress("myPion0Vtxx", myPion0Vtxx, &b_myPion0Vtxx); fChain->SetBranchAddress("myPion0Vtxy", myPion0Vtxy, &b_myPion0Vtxy); fChain->SetBranchAddress("myPion0Vtxz", myPion0Vtxz, &b_myPion0Vtxz); fChain->SetBranchAddress("myPion0costh", myPion0costh, &b_myPion0costh); fChain->SetBranchAddress("myPion0costhCM", myPion0costhCM, &b_myPion0costhCM); fChain->SetBranchAddress("myPion0energy", myPion0energy, &b_myPion0energy); fChain->SetBranchAddress("myPion0energyCM", myPion0energyCM, &b_myPion0energyCM); fChain->SetBranchAddress("myPion0p3", myPion0p3, &b_myPion0p3); fChain->SetBranchAddress("myPion0p3CM", myPion0p3CM, &b_myPion0p3CM); fChain->SetBranchAddress("myPion0phi", myPion0phi, &b_myPion0phi); fChain->SetBranchAddress("myPion0phiCM", myPion0phiCM, &b_myPion0phiCM); fChain->SetBranchAddress("myPion0Lund", myPion0Lund, &b_myPion0Lund); fChain->SetBranchAddress("myPion0MCIdx", myPion0MCIdx, &b_myPion0MCIdx); fChain->SetBranchAddress("myPion0VtxStatus", myPion0VtxStatus, &b_myPion0VtxStatus); fChain->SetBranchAddress("myPion0nDof", myPion0nDof, &b_myPion0nDof); fChain->SetBranchAddress("myPion0d1Lund", myPion0d1Lund, &b_myPion0d1Lund); fChain->SetBranchAddress("myPion0d1Idx", myPion0d1Idx, &b_myPion0d1Idx); fChain->SetBranchAddress("myPion0d2Lund", myPion0d2Lund, &b_myPion0d2Lund); fChain->SetBranchAddress("myPion0d2Idx", myPion0d2Idx, &b_myPion0d2Idx); fChain->SetBranchAddress("nmyProton", &nmyProton, &b_nmyProton); fChain->SetBranchAddress("myProtonChi2", myProtonChi2, &b_myProtonChi2); fChain->SetBranchAddress("myProtonMass", myProtonMass, &b_myProtonMass); fChain->SetBranchAddress("myProtonMassErr", myProtonMassErr, &b_myProtonMassErr); fChain->SetBranchAddress("myProtonVtxx", myProtonVtxx, &b_myProtonVtxx); fChain->SetBranchAddress("myProtonVtxy", myProtonVtxy, &b_myProtonVtxy); fChain->SetBranchAddress("myProtonVtxz", myProtonVtxz, &b_myProtonVtxz); fChain->SetBranchAddress("myProtoncosth", myProtoncosth, &b_myProtoncosth); fChain->SetBranchAddress("myProtoncosthCM", myProtoncosthCM, &b_myProtoncosthCM); fChain->SetBranchAddress("myProtonenergy", myProtonenergy, &b_myProtonenergy); fChain->SetBranchAddress("myProtonenergyCM", myProtonenergyCM, &b_myProtonenergyCM); fChain->SetBranchAddress("myProtonp3", myProtonp3, &b_myProtonp3); fChain->SetBranchAddress("myProtonp3CM", myProtonp3CM, &b_myProtonp3CM); fChain->SetBranchAddress("myProtonphi", myProtonphi, &b_myProtonphi); fChain->SetBranchAddress("myProtonphiCM", myProtonphiCM, &b_myProtonphiCM); fChain->SetBranchAddress("myProtonLund", myProtonLund, &b_myProtonLund); fChain->SetBranchAddress("myProtonMCIdx", myProtonMCIdx, &b_myProtonMCIdx); fChain->SetBranchAddress("myProtonVtxStatus", myProtonVtxStatus, &b_myProtonVtxStatus); fChain->SetBranchAddress("myProtonnDof", myProtonnDof, &b_myProtonnDof); fChain->SetBranchAddress("myProtonTrkIdx", myProtonTrkIdx, &b_myProtonTrkIdx); fChain->SetBranchAddress("nmyKaon", &nmyKaon, &b_nmyKaon); fChain->SetBranchAddress("myKaonChi2", myKaonChi2, &b_myKaonChi2); fChain->SetBranchAddress("myKaonMass", myKaonMass, &b_myKaonMass); fChain->SetBranchAddress("myKaonMassErr", myKaonMassErr, &b_myKaonMassErr); fChain->SetBranchAddress("myKaonVtxx", myKaonVtxx, &b_myKaonVtxx); fChain->SetBranchAddress("myKaonVtxy", myKaonVtxy, &b_myKaonVtxy); fChain->SetBranchAddress("myKaonVtxz", myKaonVtxz, &b_myKaonVtxz); fChain->SetBranchAddress("myKaoncosth", myKaoncosth, &b_myKaoncosth); fChain->SetBranchAddress("myKaoncosthCM", myKaoncosthCM, &b_myKaoncosthCM); fChain->SetBranchAddress("myKaonenergy", myKaonenergy, &b_myKaonenergy); fChain->SetBranchAddress("myKaonenergyCM", myKaonenergyCM, &b_myKaonenergyCM); fChain->SetBranchAddress("myKaonp3", myKaonp3, &b_myKaonp3); fChain->SetBranchAddress("myKaonp3CM", myKaonp3CM, &b_myKaonp3CM); fChain->SetBranchAddress("myKaonphi", myKaonphi, &b_myKaonphi); fChain->SetBranchAddress("myKaonphiCM", myKaonphiCM, &b_myKaonphiCM); fChain->SetBranchAddress("myKaonLund", myKaonLund, &b_myKaonLund); fChain->SetBranchAddress("myKaonMCIdx", myKaonMCIdx, &b_myKaonMCIdx); fChain->SetBranchAddress("myKaonVtxStatus", myKaonVtxStatus, &b_myKaonVtxStatus); fChain->SetBranchAddress("myKaonnDof", myKaonnDof, &b_myKaonnDof); fChain->SetBranchAddress("myKaonTrkIdx", myKaonTrkIdx, &b_myKaonTrkIdx); fChain->SetBranchAddress("nmyPion", &nmyPion, &b_nmyPion); fChain->SetBranchAddress("myPionChi2", myPionChi2, &b_myPionChi2); fChain->SetBranchAddress("myPionMass", myPionMass, &b_myPionMass); fChain->SetBranchAddress("myPionMassErr", myPionMassErr, &b_myPionMassErr); fChain->SetBranchAddress("myPionVtxx", myPionVtxx, &b_myPionVtxx); fChain->SetBranchAddress("myPionVtxy", myPionVtxy, &b_myPionVtxy); fChain->SetBranchAddress("myPionVtxz", myPionVtxz, &b_myPionVtxz); fChain->SetBranchAddress("myPioncosth", myPioncosth, &b_myPioncosth); fChain->SetBranchAddress("myPioncosthCM", myPioncosthCM, &b_myPioncosthCM); fChain->SetBranchAddress("myPionenergy", myPionenergy, &b_myPionenergy); fChain->SetBranchAddress("myPionenergyCM", myPionenergyCM, &b_myPionenergyCM); fChain->SetBranchAddress("myPionp3", myPionp3, &b_myPionp3); fChain->SetBranchAddress("myPionp3CM", myPionp3CM, &b_myPionp3CM); fChain->SetBranchAddress("myPionphi", myPionphi, &b_myPionphi); fChain->SetBranchAddress("myPionphiCM", myPionphiCM, &b_myPionphiCM); fChain->SetBranchAddress("myPionLund", myPionLund, &b_myPionLund); fChain->SetBranchAddress("myPionMCIdx", myPionMCIdx, &b_myPionMCIdx); fChain->SetBranchAddress("myPionVtxStatus", myPionVtxStatus, &b_myPionVtxStatus); fChain->SetBranchAddress("myPionnDof", myPionnDof, &b_myPionnDof); fChain->SetBranchAddress("myPionTrkIdx", myPionTrkIdx, &b_myPionTrkIdx); fChain->SetBranchAddress("ngamma", &ngamma, &b_ngamma); fChain->SetBranchAddress("gammaChi2", gammaChi2, &b_gammaChi2); fChain->SetBranchAddress("gammaVtxx", gammaVtxx, &b_gammaVtxx); fChain->SetBranchAddress("gammaVtxy", gammaVtxy, &b_gammaVtxy); fChain->SetBranchAddress("gammaVtxz", gammaVtxz, &b_gammaVtxz); fChain->SetBranchAddress("gammacosth", gammacosth, &b_gammacosth); fChain->SetBranchAddress("gammacosthCM", gammacosthCM, &b_gammacosthCM); fChain->SetBranchAddress("gammaenergy", gammaenergy, &b_gammaenergy); fChain->SetBranchAddress("gammaenergyCM", gammaenergyCM, &b_gammaenergyCM); fChain->SetBranchAddress("gammap3", gammap3, &b_gammap3); fChain->SetBranchAddress("gammap3CM", gammap3CM, &b_gammap3CM); fChain->SetBranchAddress("gammaphi", gammaphi, &b_gammaphi); fChain->SetBranchAddress("gammaphiCM", gammaphiCM, &b_gammaphiCM); fChain->SetBranchAddress("gammaLund", gammaLund, &b_gammaLund); fChain->SetBranchAddress("gammaMCIdx", gammaMCIdx, &b_gammaMCIdx); fChain->SetBranchAddress("gammaVtxStatus", gammaVtxStatus, &b_gammaVtxStatus); fChain->SetBranchAddress("gammanDof", gammanDof, &b_gammanDof); 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("eSelectorsMap", eSelectorsMap, &b_eSelectorsMap); fChain->SetBranchAddress("muSelectorsMap", muSelectorsMap, &b_muSelectorsMap); 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); // fChain->SetBranchAddress("gamma2ndMomTP", gamma2ndMomTP, &b_gamma2ndMomTP); // fChain->SetBranchAddress("gammas9s25", gammas9s25, &b_gammas9s25); // fChain->SetBranchAddress("gammas1s9", gammas1s9, &b_gammas1s9); // fChain->SetBranchAddress("gammaaz42", gammaaz42, &b_gammaaz42); // fChain->SetBranchAddress("gammaaz20", gammaaz20, &b_gammaaz20); // fChain->SetBranchAddress("gammastatus", gammastatus, &b_gammastatus); // fChain->SetBranchAddress("gammaneutPid", gammaneutPid, &b_gammaneutPid); // fChain->SetBranchAddress("gammanBumps", gammanBumps, &b_gammanBumps); // fChain->SetBranchAddress("gammaisOk", gammaisOk, &b_gammaisOk); // fChain->SetBranchAddress("gammaisNoisy", gammaisNoisy, &b_gammaisNoisy); // fChain->SetBranchAddress("gammaisNearDead", gammaisNearDead, &b_gammaisNearDead); // fChain->SetBranchAddress("gammaisDamaged", gammaisDamaged, &b_gammaisDamaged); // fChain->SetBranchAddress("gammaisFlickery", gammaisFlickery, &b_gammaisFlickery); // fChain->SetBranchAddress("gammamaxIsNoisy", gammamaxIsNoisy, &b_gammamaxIsNoisy); // fChain->SetBranchAddress("gammamaxIsNearDead", gammamaxIsNearDead, &b_gammamaxIsNearDead); // fChain->SetBranchAddress("gammamaxIsDamaged", gammamaxIsDamaged, &b_gammamaxIsDamaged); // fChain->SetBranchAddress("gammamaxIsFlickery", gammamaxIsFlickery, &b_gammamaxIsFlickery); } Bool_t doubleTagFinalLoop::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 normaly 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 doubleTagFinalLoop_cxx