ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/SelMods/interface/HwwExampleAnalysisMod.h
Revision: 1.1
Committed: Mon Oct 4 18:06:01 2010 UTC (14 years, 7 months ago) by ceballos
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_015b, Mit_015a, Mit_015
Log Message:
new stuff

File Contents

# User Rev Content
1 ceballos 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id $
3     //
4     // HwwExampleAnalysisMod
5     //
6     // A Module for Selecting H->WW events
7     // and produces some distributions.
8     //
9     //
10     // Authors: Si Xie
11     //--------------------------------------------------------------------------------------------------
12    
13     #ifndef ANA_SELMODS_HWWEXAMPLEANALYSISMOD_H
14     #define ANA_SELMODS_HWWEXAMPLEANALYSISMOD_H
15    
16     #include "MitAna/TreeMod/interface/BaseMod.h"
17     #include "MitAna/DataTree/interface/MetCol.h"
18     #include "MitAna/DataTree/interface/ElectronCol.h"
19     #include "MitAna/DataTree/interface/MuonCol.h"
20     #include "MitAna/DataTree/interface/JetCol.h"
21     #include "MitAna/DataTree/interface/SuperClusterCol.h"
22     #include "MitAna/DataTree/interface/DecayParticleCol.h"
23     #include "MitAna/DataTree/interface/VertexCol.h"
24     #include "MitPhysics/Utils/interface/MuonTools.h"
25    
26     class TH1D;
27     class TH2D;
28    
29     namespace mithep
30     {
31     class HwwExampleAnalysisMod : public BaseMod
32     {
33     public:
34     HwwExampleAnalysisMod(const char *name="HwwExampleAnalysisMod",
35     const char *title="Example analysis module with all branches");
36     ~HwwExampleAnalysisMod() {}
37    
38     const char *GetMuonBranchName() const { return fMuonBranchName; }
39     const char *GetMetName() const { return fMetName; }
40     const char *GetCleanJetsName() const { return fCleanJetsName; }
41    
42     void SetMuonBranchName(const char *name) { fMuonBranchName = name; }
43     void SetMetName(const char *name) { fMetName = name; }
44     void SetCleanJetsName(const char *name) { fCleanJetsName = name; }
45    
46     protected:
47     TString fMuonBranchName; //name of muon branch
48     TString fMetName; //name of met collection
49     TString fCleanJetsName; //name of clean central jets collection
50     TString fVertexName; //name of vertex collection
51     const MuonCol *fMuons; //!Muon branch
52     const MetCol *fMet; //!Missing Et branch
53     const VertexCol *fVertices; //!Vertex branch
54    
55     TH1D *fHWWSelection;
56     TH1D *fHWWToEESelection;
57     TH1D *fHWWToMuMuSelection;
58     TH1D *fHWWToEMuSelection;
59    
60     TH1D *fLeptonEta;
61     TH1D *fLeptonPtMax;
62     TH1D *fLeptonPtMin;
63     TH1D *fMetPtHist;
64     TH1D *fMetPhiHist;
65     TH1D *fUncorrMetPtHist;
66     TH1D *fUncorrMetPhiHist;
67     TH1D *fDeltaPhiLeptons;
68     TH1D *fDeltaEtaLeptons;
69     TH1D *fDileptonMass;
70    
71     TH1D *fLeptonEta_NMinusOne;
72     TH1D *fLeptonPtMax_NMinusOne;
73     TH1D *fLeptonPtMin_NMinusOne;
74     TH1D *fMetPtHist_NMinusOne;
75     TH1D *fMetPhiHist_NMinusOne;
76     TH1D *fMETdeltaPhilEtHist_NMinusOne;
77     TH1D *fNCentralJets_NMinusOne;
78     TH1D *fNSoftMuonsHist_NMinusOne;
79     TH1D *fDeltaPhiLeptons_NMinusOne;
80     TH1D *fDeltaEtaLeptons_NMinusOne;
81     TH1D *fDileptonMass_NMinusOne;
82     TH1D *fMinDeltaPhiLeptonMet_NMinusOne;
83    
84     TH1D *fMinDeltaPhiLeptonMet_afterCuts;
85     TH1D *fMtLepton1_afterCuts;
86     TH1D *fMtLepton2_afterCuts;
87     TH1D *fMtHiggs_afterCuts;
88     TH1D *fLeptonPtPlusMet_afterCuts;
89    
90     void Begin();
91     void Process();
92     void SlaveBegin();
93     void SlaveTerminate();
94     void Terminate();
95    
96     ClassDef(HwwExampleAnalysisMod,1) // TAM example analysis module
97     };
98     }
99     #endif