CMS 3D CMS Logo

HTMHTAnalyzer.h
Go to the documentation of this file.
1 #ifndef HTMHTAnalyzer_H
2 #define HTMHTAnalyzer_H
3 
4 
13 #include <memory>
14 #include <fstream>
24 //
30 
31 class HTMHTAnalyzer : public DQMEDAnalyzer {
32  public:
33 
36 
38  ~HTMHTAnalyzer() override;
39 
40  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
42  void analyze(const edm::Event&, const edm::EventSetup&,
43  const edm::TriggerResults&);
44 
46 
47  private:
48  // ----------member data ---------------------------
49 
51  // Switch for verbosity
52  int _verbose;
53 
55 
57 
59 
60  // list of Jet or MB HLT triggers
61  std::vector<std::string > HLTPathsJetMBByName_;
62 
64 
65  // Pt threshold for Jets
66  double _ptThreshold;
67 
68  //the histos
70 
72 
74 
79 
81 
82 };
83 #endif
MonitorElement * hHT
Definition: HTMHTAnalyzer.h:80
MonitorElement * hMHT
Definition: HTMHTAnalyzer.h:77
std::string metname
Definition: HTMHTAnalyzer.h:54
HTMHTAnalyzer(const edm::ParameterSet &)
Constructor.
void analyze(const edm::Event &, const edm::EventSetup &, const edm::TriggerResults &)
Get the analysis.
MonitorElement * hMHTPhi
Definition: HTMHTAnalyzer.h:78
edm::ParameterSet parameters
Definition: HTMHTAnalyzer.h:50
std::string _source
Definition: HTMHTAnalyzer.h:56
double _ptThreshold
Definition: HTMHTAnalyzer.h:66
MonitorElement * hNevents
Definition: HTMHTAnalyzer.h:71
std::vector< std::string > HLTPathsJetMBByName_
Definition: HTMHTAnalyzer.h:61
MonitorElement * jetME
Definition: HTMHTAnalyzer.h:69
MonitorElement * hMHy
Definition: HTMHTAnalyzer.h:76
MonitorElement * hNJets
Definition: HTMHTAnalyzer.h:73
MonitorElement * hMHx
Definition: HTMHTAnalyzer.h:75
edm::InputTag theJetCollectionForHTMHTLabel
Definition: HTMHTAnalyzer.h:58
Definition: Run.h:44
~HTMHTAnalyzer() override
Destructor.
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override