ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/SelMods/interface/HwwExampleAnalysisMod.h
Revision: 1.7
Committed: Sat Apr 7 11:46:44 2012 UTC (13 years, 1 month ago) by ceballos
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_029c, Mit_029b, Mit_029a, Mit_028a, Mit_028, Mit_027, Mit_027a, HEAD
Changes since 1.6: +0 -3 lines
Log Message:
removing cleanjets

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 ceballos 1.2 #include "MitAna/DataTree/interface/CaloJetCol.h"
22 ceballos 1.6 #include "MitAna/DataTree/interface/PFJetCol.h"
23 ceballos 1.1 #include "MitAna/DataTree/interface/SuperClusterCol.h"
24     #include "MitAna/DataTree/interface/DecayParticleCol.h"
25 ceballos 1.4 #include "MitAna/DataTree/interface/PFCandidateCol.h"
26 ceballos 1.1 #include "MitAna/DataTree/interface/VertexCol.h"
27     #include "MitPhysics/Utils/interface/MuonTools.h"
28    
29     class TH1D;
30     class TH2D;
31    
32     namespace mithep
33     {
34     class HwwExampleAnalysisMod : public BaseMod
35     {
36     public:
37     HwwExampleAnalysisMod(const char *name="HwwExampleAnalysisMod",
38     const char *title="Example analysis module with all branches");
39     ~HwwExampleAnalysisMod() {}
40    
41     const char *GetMuonBranchName() const { return fMuonBranchName; }
42     const char *GetMetName() const { return fMetName; }
43 ceballos 1.2 const char *GetCleanJetsNoPtCutName() const { return fCleanJetsNoPtCutName; }
44 ceballos 1.1
45     void SetMuonBranchName(const char *name) { fMuonBranchName = name; }
46     void SetMetName(const char *name) { fMetName = name; }
47 ceballos 1.2 void SetCleanJetsNoPtCutName(const char *name) { fCleanJetsNoPtCutName = name; }
48 ceballos 1.6 void SetPFJetBranchName(const char *name) { fPFJetName0 = name; }
49 ceballos 1.1
50     protected:
51     TString fMuonBranchName; //name of muon branch
52     TString fMetName; //name of met collection
53 ceballos 1.2 TString fCleanJetsNoPtCutName; //name of clean all jets collection
54 ceballos 1.1 TString fVertexName; //name of vertex collection
55 ceballos 1.4 TString fPFCandidatesName; //name of PFCandidate collection
56 ceballos 1.1 const MuonCol *fMuons; //!Muon branch
57     const MetCol *fMet; //!Missing Et branch
58     const VertexCol *fVertices; //!Vertex branch
59 ceballos 1.4 const PFCandidateCol *fPFCandidates; //!PFCandidates branch
60 ceballos 1.6 TString fPFJetName0; //!PFJet branch name
61     const PFJetCol *fPFJet0; //!PFJet branch
62 ceballos 1.3 Int_t fNEventsSelected; //selected events
63 ceballos 1.1
64     TH1D *fHWWSelection;
65     TH1D *fHWWToEESelection;
66     TH1D *fHWWToMuMuSelection;
67     TH1D *fHWWToEMuSelection;
68 ceballos 1.5 TH1D *fHWWToMuESelection;
69 ceballos 1.1
70     TH1D *fLeptonEta;
71     TH1D *fLeptonPtMax;
72     TH1D *fLeptonPtMin;
73     TH1D *fMetPtHist;
74     TH1D *fMetPhiHist;
75     TH1D *fUncorrMetPtHist;
76     TH1D *fUncorrMetPhiHist;
77     TH1D *fDeltaPhiLeptons;
78     TH1D *fDeltaEtaLeptons;
79     TH1D *fDileptonMass;
80    
81     TH1D *fLeptonEta_NMinusOne;
82     TH1D *fLeptonPtMax_NMinusOne;
83     TH1D *fLeptonPtMin_NMinusOne;
84     TH1D *fMetPtHist_NMinusOne;
85     TH1D *fMetPhiHist_NMinusOne;
86     TH1D *fMETdeltaPhilEtHist_NMinusOne;
87     TH1D *fNCentralJets_NMinusOne;
88     TH1D *fNSoftMuonsHist_NMinusOne;
89     TH1D *fDeltaPhiLeptons_NMinusOne;
90     TH1D *fDeltaEtaLeptons_NMinusOne;
91     TH1D *fDileptonMass_NMinusOne;
92     TH1D *fMinDeltaPhiLeptonMet_NMinusOne;
93    
94     TH1D *fMinDeltaPhiLeptonMet_afterCuts;
95     TH1D *fMtLepton1_afterCuts;
96     TH1D *fMtLepton2_afterCuts;
97     TH1D *fMtHiggs_afterCuts;
98     TH1D *fLeptonPtPlusMet_afterCuts;
99    
100     void Begin();
101     void Process();
102     void SlaveBegin();
103     void SlaveTerminate();
104     void Terminate();
105    
106     ClassDef(HwwExampleAnalysisMod,1) // TAM example analysis module
107     };
108     }
109     #endif