CMS 3D CMS Logo

FSQDiJetAve.h
Go to the documentation of this file.
1 #ifndef FSQDiJetAve_H
2 #define 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  //virtual void beginRun(edm::Run const&, edm::EventSetup const&) override;
70  //virtual void endLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) override;
71 
72  // ----------member data ---------------------------
73  //
77 
79  std::map<std::string, MonitorElement*> m_me;
80 
86 
87  edm::TriggerNames m_triggerNames; // TriggerNames class
92 
93  // TODO: auto ptr
94  std::vector<std::shared_ptr<FSQ::BaseHandler> > m_handlers;
95 };
96 
97 #endif
edm::Handle< edm::TriggerResults > m_triggerResults
Definition: FSQDiJetAve.h:88
triggerExpression::Data m_eventCache
Definition: FSQDiJetAve.h:74
std::vector< std::shared_ptr< FSQ::BaseHandler > > m_handlers
Definition: FSQDiJetAve.h:94
edm::Handle< trigger::TriggerEvent > m_trgEvent
Definition: FSQDiJetAve.h:89
edm::EDGetTokenT< GenEventInfoProduct > m_genEvInfoToken
Definition: FSQDiJetAve.h:85
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken
Definition: FSQDiJetAve.h:81
std::string m_dirname
Definition: FSQDiJetAve.h:78
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< edm::TriggerResults > triggerResultsFUToken
Definition: FSQDiJetAve.h:82
edm::EDGetTokenT< trigger::TriggerEvent > triggerSummaryFUToken
Definition: FSQDiJetAve.h:84
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
HLTConfigProvider m_hltConfig
Definition: FSQDiJetAve.h:76
edm::InputTag triggerSummaryLabel_
Definition: FSQDiJetAve.h:90
bool m_useGenWeight
Definition: FSQDiJetAve.h:75
edm::EDGetTokenT< trigger::TriggerEvent > triggerSummaryToken
Definition: FSQDiJetAve.h:83
edm::InputTag triggerResultsLabel_
Definition: FSQDiJetAve.h:91
edm::TriggerNames m_triggerNames
Definition: FSQDiJetAve.h:87
std::map< std::string, MonitorElement * > m_me
Definition: FSQDiJetAve.h:79
Definition: Run.h:45