CMS 3D CMS Logo

FSQDiJetAve.h
Go to the documentation of this file.
1 #ifndef DQMOffline_Trigger_FSQDiJetAve_H
2 #define DQMOffline_Trigger_FSQDiJetAve_H
3 
4 // -*- C++ -*-
5 //
6 // Package: DQMOffline/FSQDiJetAve
7 // Class: FSQDiJetAve
8 //
16 //
17 // Original Author: Tomasz Fruboes
18 // Created: Tue, 04 Nov 2014 11:36:27 GMT
19 //
20 //
21 
22 // system include files
23 #include <memory>
24 
25 // user include files
28 
31 
33 
35 
41 
43 
48 
49 //
50 // class declaration
51 //
52 
53 namespace FSQ {
54  class BaseHandler;
55 }
56 
57 class FSQDiJetAve : public DQMEDAnalyzer {
58 public:
59  explicit FSQDiJetAve(const edm::ParameterSet&);
60  ~FSQDiJetAve() override;
61 
62  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
63 
64 private:
65  void analyze(const edm::Event&, const edm::EventSetup&) override;
66 
67  void bookHistograms(DQMStore::IBooker&, edm::Run const& run, edm::EventSetup const& c) override;
68  void dqmBeginRun(edm::Run const& run, edm::EventSetup const& c) override;
69 
70  // ----------member data ---------------------------
71  //
75 
77  std::map<std::string, MonitorElement*> m_me;
78 
84 
85  edm::TriggerNames m_triggerNames; // TriggerNames class
90 
91  // TODO: auto ptr
92  std::vector<std::shared_ptr<FSQ::BaseHandler> > m_handlers;
93 };
94 
95 #endif
edm::Handle< edm::TriggerResults > m_triggerResults
Definition: FSQDiJetAve.h:86
triggerExpression::Data m_eventCache
Definition: FSQDiJetAve.h:72
std::vector< std::shared_ptr< FSQ::BaseHandler > > m_handlers
Definition: FSQDiJetAve.h:92
edm::Handle< trigger::TriggerEvent > m_trgEvent
Definition: FSQDiJetAve.h:87
edm::EDGetTokenT< GenEventInfoProduct > m_genEvInfoToken
Definition: FSQDiJetAve.h:83
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: FSQDiJetAve.cc:857
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken
Definition: FSQDiJetAve.h:79
std::string m_dirname
Definition: FSQDiJetAve.h:76
FSQDiJetAve(const edm::ParameterSet &)
Definition: FSQDiJetAve.cc:739
void bookHistograms(DQMStore::IBooker &, edm::Run const &run, edm::EventSetup const &c) override
Definition: FSQDiJetAve.cc:849
edm::EDGetTokenT< edm::TriggerResults > triggerResultsFUToken
Definition: FSQDiJetAve.h:80
edm::EDGetTokenT< trigger::TriggerEvent > triggerSummaryFUToken
Definition: FSQDiJetAve.h:82
~FSQDiJetAve() override
HLTConfigProvider m_hltConfig
Definition: FSQDiJetAve.h:74
edm::InputTag triggerSummaryLabel_
Definition: FSQDiJetAve.h:88
bool m_useGenWeight
Definition: FSQDiJetAve.h:73
edm::EDGetTokenT< trigger::TriggerEvent > triggerSummaryToken
Definition: FSQDiJetAve.h:81
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: FSQDiJetAve.cc:794
edm::InputTag triggerResultsLabel_
Definition: FSQDiJetAve.h:89
edm::TriggerNames m_triggerNames
Definition: FSQDiJetAve.h:85
std::map< std::string, MonitorElement * > m_me
Definition: FSQDiJetAve.h:77
void dqmBeginRun(edm::Run const &run, edm::EventSetup const &c) override
Definition: FSQDiJetAve.cc:842
Definition: Run.h:45