CMS 3D CMS Logo

EcalDQMonitorTask.h
Go to the documentation of this file.
1 #ifndef EcalDQMonitorTask_H
2 #define EcalDQMonitorTask_H
3 
6 
7 #include "DQWorkerTask.h"
8 #include "Collections.h"
9 
10 #include <set>
11 #include <map>
12 
13 namespace edm {
14  class InputTag;
16 } // namespace edm
17 
19 public:
21  ~EcalDQMonitorTask() override {}
22 
24 
25  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
26  void dqmBeginRun(edm::Run const&, edm::EventSetup const&) override;
27 
28 private:
29  void dqmEndRun(edm::Run const&, edm::EventSetup const&) override;
30  void dqmBeginLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) override;
31  void dqmEndLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) override;
32  void analyze(edm::Event const&, edm::EventSetup const&) override;
33 
36  std::set<ecaldqm::DQWorker*> const&);
37 
38  template <typename CollectionClass>
39  void runOnCollection(edm::Event const&, ecaldqm::Collections, std::set<ecaldqm::DQWorker*> const&);
40 
41  void formSchedule(std::vector<ecaldqm::Collections> const&, edm::ParameterSet const&);
42 
43  /* DATA MEMBERS */
44 
46  std::vector<std::pair<Processor, ecaldqm::Collections> > schedule_; // schedule of collections to run
47  bool allowMissingCollections_; // when true, skip missing collections silently
49 
50  /* TASK TIME PROFILING */
53 };
54 
55 #endif
EcalDQMonitorTask::lastResetTime_
time_t lastResetTime_
Definition: EcalDQMonitorTask.h:51
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
edm::Run
Definition: Run.h:45
EcalDQMonitorTask::collectionTokens_
edm::EDGetToken collectionTokens_[ecaldqm::nCollections]
Definition: EcalDQMonitorTask.h:45
edm
HLT enums.
Definition: AlignableModifier.h:19
EcalDQMonitorTask::~EcalDQMonitorTask
~EcalDQMonitorTask() override
Definition: EcalDQMonitorTask.h:21
EcalDQMonitorTask::formSchedule
void formSchedule(std::vector< ecaldqm::Collections > const &, edm::ParameterSet const &)
Definition: EcalDQMonitorTask2.cc:46
ecaldqm::EcalDQMonitor
Definition: EcalDQMonitor.h:20
DQMOneEDAnalyzer.h
EcalDQMonitorTask::processedEvents_
int processedEvents_
Definition: EcalDQMonitorTask.h:48
dqm::legacy::DQMStore::IBooker
dqm::implementation::IBooker IBooker
Definition: DQMStore.h:729
EcalDQMonitorTask::dqmEndRun
void dqmEndRun(edm::Run const &, edm::EventSetup const &) override
Definition: EcalDQMonitorTask.cc:116
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
ecaldqm::nCollections
Definition: Collections.h:44
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
edm::ParameterSet
Definition: ParameterSet.h:36
EcalDQMonitorTask::analyze
void analyze(edm::Event const &, edm::EventSetup const &) override
Definition: EcalDQMonitorTask.cc:137
DQMOneLumiEDAnalyzer
Definition: DQMOneEDAnalyzer.h:90
EcalDQMonitorTask::runOnCollection
void runOnCollection(edm::Event const &, ecaldqm::Collections, std::set< ecaldqm::DQWorker * > const &)
Definition: EcalDQMonitorTask2.cc:20
ecaldqm::Collections
Collections
Definition: Collections.h:8
EcalDQMonitorTask::Processor
void(EcalDQMonitorTask::* Processor)(edm::Event const &, ecaldqm::Collections, std::set< ecaldqm::DQWorker * > const &)
Definition: EcalDQMonitorTask.h:34
edm::EventSetup
Definition: EventSetup.h:57
Collections.h
edm::EDGetToken
Definition: EDGetToken.h:35
EcalDQMonitor.h
EcalDQMonitorTask::dqmBeginLuminosityBlock
void dqmBeginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition: EcalDQMonitorTask.cc:122
EcalDQMonitorTask::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: EcalDQMonitorTask.cc:101
EcalDQMonitorTask::schedule_
std::vector< std::pair< Processor, ecaldqm::Collections > > schedule_
Definition: EcalDQMonitorTask.h:46
DQWorkerTask.h
EcalDQMonitorTask::dqmBeginRun
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
Definition: EcalDQMonitorTask.cc:107
ParameterSetDescription
funct::void
TEMPL(T2) struct Divides void
Definition: Factorize.h:29
EcalDQMonitorTask::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &)
Definition: EcalDQMonitorTask.cc:80
EcalDQMonitorTask::allowMissingCollections_
bool allowMissingCollections_
Definition: EcalDQMonitorTask.h:47
edm::Event
Definition: Event.h:73
EcalDQMonitorTask::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition: EcalDQMonitorTask.cc:126
EcalDQMonitorTask::EcalDQMonitorTask
EcalDQMonitorTask(edm::ParameterSet const &)
Definition: EcalDQMonitorTask.cc:27
EcalDQMonitorTask::resetInterval_
float resetInterval_
Definition: EcalDQMonitorTask.h:52
EcalDQMonitorTask
Definition: EcalDQMonitorTask.h:18