ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/SelMods/interface/WBFExampleAnalysisMod.h
Revision: 1.3
Committed: Wed Dec 22 20:31:51 2010 UTC (14 years, 4 months 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, Mit_025e, Mit_025d, Mit_025c, Mit_025b, Mit_025a, Mit_025, Mit_025pre2, Mit_024b, Mit_025pre1, Mit_024a, Mit_024, Mit_023, Mit_022a, Mit_022, Mit_020d, TMit_020d, Mit_020c, Mit_021, Mit_021pre2, Mit_021pre1, Mit_020b, Mit_020a, Mit_020, Mit_020pre1, Mit_018, HEAD
Changes since 1.2: +1 -0 lines
Log Message:
some fixes

File Contents

# User Rev Content
1 ceballos 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id $
3     //
4     // WBFExampleAnalysisMod
5     //
6     // A Module to select qqH events
7     // and produces some distributions.
8     //
9     //
10     // Authors: Si Xie
11     //--------------------------------------------------------------------------------------------------
12    
13     #ifndef ANA_SELMODS_WBFExampleAnalysisMod_H
14     #define ANA_SELMODS_WBFExampleAnalysisMod_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 WBFExampleAnalysisMod : public BaseMod
32     {
33     public:
34     WBFExampleAnalysisMod(const char *name="WBFExampleAnalysisMod",
35     const char *title="Example analysis module with all branches");
36     ~WBFExampleAnalysisMod() {}
37    
38     const char *GetMetName() const { return fMetName; }
39     const char *GetCleanJetsName() const { return fCleanJetsName; }
40    
41     void SetMetName(const char *name) { fMetName = name; }
42     void SetCleanJetsName(const char *name) { fCleanJetsName = name; }
43     void SetJetPtMax(double x) { fJetPtMax = x; }
44     void SetJetPtMin(double x) { fJetPtMin = x; }
45     void SetDeltaEtaMin(double x) { fDeltaEtaMin = x; }
46     void SetDiJetMassMin(double x) { fDiJetMassMin = x; }
47    
48     protected:
49     TString fMetName; //name of met collection
50     TString fCleanJetsName; //name of clean central jets collection
51     TString fVertexName; //name of vertex collection
52     const MetCol *fMet; //!Missing Et branch
53     const VertexCol *fVertices; //!Vertex branch
54     double fJetPtMax;
55     double fJetPtMin;
56     double fDeltaEtaMin;
57     double fDiJetMassMin;
58    
59     TH1D *fWBFSelection;
60 ceballos 1.3 TH1D *fWBFDeltaPhi;
61 ceballos 1.1
62     TH1D *fWBFPtJetMax_NMinusOne;
63     TH1D *fWBFPtJetMin_NMinusOne;
64 ceballos 1.2 TH1D *fWBFEta12_NMinusOne;
65 ceballos 1.1 TH1D *fWBFdeltaEta_NMinusOne;
66     TH1D *fWBFdijetMass_NMinusOne;
67 ceballos 1.2 TH1D *fWBFZVar_NMinusOne;
68 ceballos 1.1
69     TH1D *fWBFSSMass_afterCuts;
70     TH1D *fWBFSSDeltaPhi_afterCuts;
71     TH1D *fWBFOSMass_afterCuts;
72     TH1D *fWBFOSDeltaPhi_afterCuts;
73    
74     void Begin();
75     void Process();
76     void SlaveBegin();
77     void SlaveTerminate();
78     void Terminate();
79    
80     ClassDef(WBFExampleAnalysisMod,1) // TAM example analysis module
81     };
82     }
83     #endif