CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DQMEDAnalyzer.h
Go to the documentation of this file.
1 #ifndef CORE_DQMED_ANALYZER_H
2 # define CORE_DQMED_ANALYZER_H
3 
4 //<<<<<< INCLUDES >>>>>>
8 //<<<<<< PUBLIC DEFINES >>>>>>
9 //<<<<<< PUBLIC CONSTANTS >>>>>>
10 //<<<<<< PUBLIC TYPES >>>>>>
11 //<<<<<< PUBLIC VARIABLES >>>>>>
12 //<<<<<< PUBLIC FUNCTIONS >>>>>>
13 //<<<<<< CLASS DECLARATIONS >>>>>>
14 
15 namespace edm {class StreamID;}
16 
17 namespace dqmDetails {struct NoCache {};}
18 
19 
21  : public edm::stream::EDAnalyzer<edm::RunSummaryCache<dqmDetails::NoCache>,
22  edm::LuminosityBlockSummaryCache<dqmDetails::NoCache> >
23 {
24 public:
25  DQMEDAnalyzer(void);
26  // implicit copy constructor
27  // implicit assignment operator
28  // implicit destructor
29  virtual void beginStream(edm::StreamID id) final;
30  virtual void beginRun(edm::Run const &, edm::EventSetup const&) final;
31  static std::shared_ptr<dqmDetails::NoCache> globalBeginRunSummary(edm::Run const&,
32  edm::EventSetup const&,
33  RunContext const*);
34  virtual void endRunSummary(edm::Run const&,
35  edm::EventSetup const&,
36  dqmDetails::NoCache*) const final;
37  static void globalEndRunSummary(edm::Run const&,
38  edm::EventSetup const&,
39  RunContext const*,
41  static std::shared_ptr<dqmDetails::NoCache> globalBeginLuminosityBlockSummary(edm::LuminosityBlock const&,
42  edm::EventSetup const&,
43  LuminosityBlockContext const*);
45  edm::EventSetup const&,
46  dqmDetails::NoCache*) const final;
48  edm::EventSetup const&,
51  uint32_t streamId() const {return stream_id_;}
52  virtual void dqmBeginRun(edm::Run const&, edm::EventSetup const&) {}
53  virtual void bookHistograms(DQMStore::IBooker &i, edm::Run const&, edm::EventSetup const&) = 0;
54 
55 private:
56  uint32_t stream_id_;
57 };
58 
59 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>>
60 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>>
61 
62 #endif // CORE_DQMED_ANALYZER_H
63 
64 // Local Variables:
65 // show-trailing-whitespace: t
66 // truncate-lines: t
67 // End:
int i
Definition: DBlmapReader.cc:9
virtual void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &)=0
virtual void endRunSummary(edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
static void globalEndLuminosityBlockSummary(edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
virtual void beginRun(edm::Run const &, edm::EventSetup const &) final
virtual void beginStream(edm::StreamID id) final
uint32_t streamId() const
Definition: DQMEDAnalyzer.h:51
uint32_t stream_id_
Definition: DQMEDAnalyzer.h:56
static std::shared_ptr< dqmDetails::NoCache > globalBeginLuminosityBlockSummary(edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
virtual void dqmBeginRun(edm::Run const &, edm::EventSetup const &)
Definition: DQMEDAnalyzer.h:52
virtual void endLuminosityBlockSummary(edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
static std::shared_ptr< dqmDetails::NoCache > globalBeginRunSummary(edm::Run const &, edm::EventSetup const &, RunContext const *)
static void globalEndRunSummary(edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
Definition: Run.h:41