CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
JetPtAnalyzer.h
Go to the documentation of this file.
1 #ifndef JetPtAnalyzer_H
2 #define JetPtAnalyzer_H
3 
4 
14 #include <memory>
15 #include <fstream>
26 //
32 
33 #include <string>
34 
36  public:
37 
39  // JetPtAnalyzer(const edm::ParameterSet&, JetServiceProxy *theService);
41 
43  virtual ~JetPtAnalyzer();
44 
46  void beginJob(DQMStore * dbe);
47 
49  void endJob();
50 
52  void analyze(const edm::Event&, const edm::EventSetup&,
53  const reco::CaloJetCollection& caloJets);
54 
55  void setSource(std::string source) {
56  _source = source;
57  }
58 
59  private:
60  // ----------member data ---------------------------
61 
63  // Switch for verbosity
64  std::string jetname;
65  std::string _source;
66  // Calo Jet Label
68 
69  // JetID helper
71 
72  //histo binning parameters
73  int etaBin;
74  double etaMin;
75  double etaMax;
76 
77  int phiBin;
78  double phiMin;
79  double phiMax;
80 
81  int ptBin;
82  double ptMin;
83  double ptMax;
84 
85  //the histos
89 
93 
95 
96  // CaloJet specific
110 
111 
112 };
113 #endif
MonitorElement * mEmEnergyInEB
MonitorElement * mHadEnergyInHF
MonitorElement * mN90Hits
MonitorElement * mConstituents
Definition: JetPtAnalyzer.h:90
MonitorElement * mMaxEInEmTowers
Definition: JetPtAnalyzer.h:97
edm::ParameterSet parameters
Definition: JetPtAnalyzer.h:62
MonitorElement * mHadEnergyInHO
Definition: JetPtAnalyzer.h:99
virtual ~JetPtAnalyzer()
Destructor.
edm::InputTag theCaloJetCollectionLabel
Definition: JetPtAnalyzer.h:67
MonitorElement * mHadEnergyInHB
MonitorElement * mfRBX
MonitorElement * mresEMF
MonitorElement * jetME
Definition: JetPtAnalyzer.h:86
std::string jetname
Definition: JetPtAnalyzer.h:64
MonitorElement * mEFrac
Definition: JetPtAnalyzer.h:92
void analyze(const edm::Event &, const edm::EventSetup &, const reco::CaloJetCollection &caloJets)
Get the analysis.
MonitorElement * mHadEnergyInHE
MonitorElement * mNJets
Definition: JetPtAnalyzer.h:94
void beginJob(DQMStore *dbe)
Inizialize parameters for histo binning.
MonitorElement * mEmEnergyInEE
MonitorElement * mEmEnergyInHF
MonitorElement * mEta
Definition: JetPtAnalyzer.h:87
JetPtAnalyzer(const edm::ParameterSet &)
Constructor.
MonitorElement * mMaxEInHadTowers
Definition: JetPtAnalyzer.h:98
std::string _source
Definition: JetPtAnalyzer.h:65
MonitorElement * mHFrac
Definition: JetPtAnalyzer.h:91
MonitorElement * mfHPD
void endJob()
Finish up a job.
void setSource(std::string source)
Definition: JetPtAnalyzer.h:55
MonitorElement * mPhi
Definition: JetPtAnalyzer.h:88
reco::helper::JetIDHelper * jetID
Definition: JetPtAnalyzer.h:70
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects