CMS 3D CMS Logo

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