ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/FakeMods/interface/FakeLeptonExampleAnaMod.h
(Generate patch)

Comparing UserCode/MitPhysics/FakeMods/interface/FakeLeptonExampleAnaMod.h (file contents):
Revision 1.4 by phedex, Mon Aug 10 16:07:26 2009 UTC vs.
Revision 1.5 by loizides, Tue Aug 11 09:15:59 2009 UTC

# Line 40 | Line 40 | namespace mithep
40        const char *GetMetName()                     const { return fMetName;                      }
41        const char *GetTriggerObjectsName()          const { return fTriggerObjectsName;           }
42  
43 <      void   SetUseMCFake(Bool_t b)                        { fUseMCFake                    = b;  }
44 <      void   SetPerformFakeMuonMetCorrection(Bool_t b)     { fPerformFakeMuonMetCorrection = b;  }
45 <      void   SetSampleName(const char *s)                  { fSampleName                   = s;  }
46 <      void   SetFakeEventHeaderName (const char *s)        { fFakeEventHeaderName          = s;  }
47 <      void   SetElectronFakeableObjectsName(const char *s) { fElectronFakeableObjectsName  = s;  }
48 <      void   SetMuonFakeableObjectsName(const char *s)     { fMuonFakeableObjectsName      = s;  }
49 <      void   SetCleanJetsName (TString s)                  { fCleanJetsName                = s;  }
50 <      void   SetMCPartBranchName (TString s)               { fMCPartBranchName             = s;  }
51 <      void   SetGenJetBranchName (TString s)               { fGenJetBranchName             = s;  }
52 <      void   SetTrackBranchName (TString s)                { fTrackBranchName              = s;  }
53 <      void   SetMuonBranchName (TString s)                 { fMuonBranchName               = s;  }
54 <      void   SetMetName (TString s)                        { fMetName                      = s;  }
55 <      void   SetTriggerObjectsName(const char *name)       { fTriggerObjectsName         = name; }
43 >      void SetUseMCFake(Bool_t b)                        { fUseMCFake                      = b;  }
44 >      void SetPerformFakeMuonMetCorrection(Bool_t b)     { fPerformFakeMuonMetCorrection   = b;  }
45 >      void SetSampleName(const char *s)                  { fSampleName                     = s;  }
46 >      void SetFakeEventHeaderName (const char *s)        { fFakeEventHeaderName            = s;  }
47 >      void SetElectronFakeableObjectsName(const char *s) { fElectronFakeableObjectsName    = s;  }
48 >      void SetMuonFakeableObjectsName(const char *s)     { fMuonFakeableObjectsName        = s;  }
49 >      void SetCleanJetsName (TString s)                  { fCleanJetsName                  = s;  }
50 >      void SetMCPartBranchName (TString s)               { fMCPartBranchName               = s;  }
51 >      void SetGenJetBranchName (TString s)               { fGenJetBranchName               = s;  }
52 >      void SetTrackBranchName (TString s)                { fTrackBranchName                = s;  }
53 >      void SetMuonBranchName (TString s)                 { fMuonBranchName                 = s;  }
54 >      void SetMetName (TString s)                        { fMetName                        = s;  }
55 >      void SetTriggerObjectsName(const char *n)          { fTriggerObjectsName             = n;  }
56  
57      protected:
58 <      void         Begin();
59 <      void         Process();
60 <      void         SlaveBegin();
61 <      void         SlaveTerminate();
62 <      void         Terminate();      
58 >      void                  Process();
59 >      void                  SlaveBegin();
60  
61        Bool_t                fUseMCFake;                    //whether to use MC simulation fakes
62        Bool_t                fPerformFakeMuonMetCorrection; //whether to do fake muon met correction
# Line 79 | Line 76 | namespace mithep
76        const TrackCol       *fTracks;                       //!Track branch      
77        const MuonCol        *fMuons;                        //!Muon branch
78        const MetCol         *fMet;                          //!Missing Et
79 <  
80 <
81 <      TH1D                    *fDileptonCharge;                   //Dilepton Charge Histogram
82 <      TH1D                    *fLeptonPtMax;                      //Lepton1 Pt Histogram
83 <      TH1D                    *fLeptonPtMin;                      //Lepton2 Pt Histogram
84 <      TH1D                    *fMetPtHist;                        //Met Histogram
85 <      TH1D                    *fDeltaPhiLeptons;                  //DeltaPhi Histogram
86 <      TH1D                    *fDeltaEtaLeptons;                  //DeltaEta Histogram
87 <      TH1D                    *fDileptonMass;                     //Dilepton Mass Histogram
88 <
89 <      TH1D                    *fLeptonEta_NMinusOne;              //Lepton Eta Histogram
90 <      TH1D                    *fLeptonPtMax_NMinusOne;            //Lepton1 Pt Histogram
91 <      TH1D                    *fLeptonPtMin_NMinusOne;            //Lepton2 Pt Histogram
92 <      TH1D                    *fMetPtHist_NMinusOne;              //Met Histogram
93 <      TH1D                    *fMetPhiHist_NMinusOne;             //Met Phi Histogram
94 <      TH1D                    *fMETdeltaPhilEtHist_NMinusOne;     //METdeltaPhilEtHist Histogram  
95 <      TH1D                    *fNCentralJets_NMinusOne;           //# of Central Jets Histogram
96 <      TH1D                    *fNDirtyMuonsHist_NMinusOne;        //# of Dirty Muons Histogram
97 <      TH1D                    *fNCleanExtraTracksHist_NMinusOne;  //# of Extra Tracks Histogram
98 <      TH1D                    *fDeltaPhiLeptons_NMinusOne;        //DeltaPhi Histogram
99 <      TH1D                    *fDeltaEtaLeptons_NMinusOne;        //DeltaEta Histogram
100 <      TH1D                    *fDileptonMass_NMinusOne;           //Dilepton Mass Histogram
101 <      TH1D                    *fMinDeltaPhiLeptonMet_NMinusOne;   //MinDeltaPhiLeptonMet Histogram
102 <
106 <      TH1D                    *fMinDeltaPhiLeptonMet_afterCuts;   //MinDeltaPhiLeptonMet Histogram
107 <      TH1D                    *fMtLepton1_afterCuts;              //M_t1 Histogram Histogram
108 <      TH1D                    *fMtLepton2_afterCuts;              //M_t2 Histogram Histogram
109 <      TH1D                    *fMtHiggs_afterCuts;                //M_t Higgs Histogram
79 >      TH1D                 *fDileptonCharge;                   //!Dilepton Charge Histogram
80 >      TH1D                 *fLeptonPtMax;                      //!Lepton1 Pt Histogram
81 >      TH1D                 *fLeptonPtMin;                      //!Lepton2 Pt Histogram
82 >      TH1D                 *fMetPtHist;                        //!Met Histogram
83 >      TH1D                 *fDeltaPhiLeptons;                  //!DeltaPhi Histogram
84 >      TH1D                 *fDeltaEtaLeptons;                  //!DeltaEta Histogram
85 >      TH1D                 *fDileptonMass;                     //!Dilepton Mass Histogram
86 >      TH1D                 *fLeptonEta_NMinusOne;              //!Lepton Eta Histogram
87 >      TH1D                 *fLeptonPtMax_NMinusOne;            //!Lepton1 Pt Histogram
88 >      TH1D                 *fLeptonPtMin_NMinusOne;            //!Lepton2 Pt Histogram
89 >      TH1D                 *fMetPtHist_NMinusOne;              //!Met Histogram
90 >      TH1D                 *fMetPhiHist_NMinusOne;             //!Met Phi Histogram
91 >      TH1D                 *fMETdeltaPhilEtHist_NMinusOne;     //!METdeltaPhilEtHist Histogram  
92 >      TH1D                 *fNCentralJets_NMinusOne;           //!# of Central Jets Histogram
93 >      TH1D                 *fNDirtyMuonsHist_NMinusOne;        //!# of Dirty Muons Histogram
94 >      TH1D                 *fNCleanExtraTracksHist_NMinusOne;  //!# of Extra Tracks Histogram
95 >      TH1D                 *fDeltaPhiLeptons_NMinusOne;        //!DeltaPhi Histogram
96 >      TH1D                 *fDeltaEtaLeptons_NMinusOne;        //!DeltaEta Histogram
97 >      TH1D                 *fDileptonMass_NMinusOne;           //!Dilepton Mass Histogram
98 >      TH1D                 *fMinDeltaPhiLeptonMet_NMinusOne;   //!MinDeltaPhiLeptonMet Histogram
99 >      TH1D                 *fMinDeltaPhiLeptonMet_afterCuts;   //!MinDeltaPhiLeptonMet Histogram
100 >      TH1D                 *fMtLepton1_afterCuts;              //!M_t1 Histogram Histogram
101 >      TH1D                 *fMtLepton2_afterCuts;              //!M_t2 Histogram Histogram
102 >      TH1D                 *fMtHiggs_afterCuts;                //!M_t Higgs Histogram
103  
104        ClassDef(FakeLeptonExampleAnaMod,1) // Fake lepton analysis example
105    };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines