Main Page
Namespaces
Classes
Package Documentation
DQM
EcalMonitorTasks
interface
EcalDQMonitorTask.h
Go to the documentation of this file.
1
#ifndef EcalDQMonitorTask_H
2
#define EcalDQMonitorTask_H
3
4
#include "
DQM/EcalCommon/interface/EcalDQMonitor.h
"
5
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
6
7
#include "
DQWorkerTask.h
"
8
#include "
Collections.h
"
9
10
#include <set>
11
#include <map>
12
13
namespace
edm
14
{
15
class
InputTag;
16
class
ParameterSetDescription
;
17
}
18
19
class
EcalDQMonitorTask
:
public
DQMEDAnalyzer
,
public
ecaldqm::EcalDQMonitor
{
20
public
:
21
EcalDQMonitorTask
(
edm::ParameterSet
const
&);
22
~EcalDQMonitorTask
() {}
23
24
static
void
fillDescriptions(
edm::ConfigurationDescriptions
&);
25
26
void
bookHistograms
(
DQMStore::IBooker
&,
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
27
void
dqmBeginRun(
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
28
29
private
:
30
void
endRun
(
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
31
void
beginLuminosityBlock(
edm::LuminosityBlock
const
&,
edm::EventSetup
const
&)
override
;
32
void
endLuminosityBlock(
edm::LuminosityBlock
const
&,
edm::EventSetup
const
&)
override
;
33
void
analyze
(
edm::Event
const
&,
edm::EventSetup
const
&)
override
;
34
35
typedef
void (
EcalDQMonitorTask
::*Processor)(
edm::Event
const
&,
ecaldqm::Collections
, std::set<ecaldqm::DQWorker*>
const
&);
36
37
template
<
typename
CollectionClass>
void
runOnCollection(edm::Event
const
&, ecaldqm::Collections, std::set<ecaldqm::DQWorker*>
const
&);
38
39
void
formSchedule(std::vector<ecaldqm::Collections>
const
&,
edm::ParameterSet
const
&);
40
41
/* DATA MEMBERS */
42
43
edm::EDGetToken
collectionTokens_[
ecaldqm::nCollections
];
// list of EDGetTokens
44
std::vector<std::pair<Processor, ecaldqm::Collections> >
schedule_
;
// schedule of collections to run
45
bool
allowMissingCollections_
;
// when true, skip missing collections silently
46
int
processedEvents_
;
47
48
/* TASK TIME PROFILING */
49
time_t
lastResetTime_
;
50
float
resetInterval_
;
51
};
52
53
#endif
EcalDQMonitorTask::lastResetTime_
time_t lastResetTime_
Definition:
EcalDQMonitorTask.h:49
ParameterSetDescription
Vispa.Share.Profiling.analyze
def analyze(function, filename, filter=None)
Definition:
Profiling.py:11
DQWorkerTask.h
edm::LuminosityBlock
Definition:
LuminosityBlock.h:45
bookHistograms
void bookHistograms(fwlite::EventContainer &eventCont)
Definition:
secvtxMassTemplates.cc:293
EcalDQMonitorTask::~EcalDQMonitorTask
~EcalDQMonitorTask()
Definition:
EcalDQMonitorTask.h:22
edm::EDGetToken
Definition:
EDGetToken.h:34
EcalDQMonitorTask::processedEvents_
int processedEvents_
Definition:
EcalDQMonitorTask.h:46
DQMEDAnalyzer.h
edm::EventSetup
Definition:
EventSetup.h:44
ecaldqm::nCollections
Definition:
Collections.h:44
ecaldqm::Collections
Collections
Definition:
Collections.h:8
EcalDQMonitorTask::schedule_
std::vector< std::pair< Processor, ecaldqm::Collections > > schedule_
Definition:
EcalDQMonitorTask.h:44
Collections.h
ecaldqm::EcalDQMonitor
Definition:
EcalDQMonitor.h:22
EcalDQMonitorTask::allowMissingCollections_
bool allowMissingCollections_
Definition:
EcalDQMonitorTask.h:45
edm
HLT enums.
Definition:
AlignableModifier.h:17
EcalDQMonitorTask
Definition:
EcalDQMonitorTask.h:19
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.h:20
EcalDQMonitor.h
edm::ParameterSet
Definition:
ParameterSet.h:36
EcalDQMonitorTask::resetInterval_
float resetInterval_
Definition:
EcalDQMonitorTask.h:50
edm::Event
Definition:
Event.h:66
Ecal2004TBTDCRanges_v1_cff.endRun
endRun
Definition:
Ecal2004TBTDCRanges_v1_cff.py:4
DQMStore::IBooker
Definition:
DQMStore.h:90
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
edm::Run
Definition:
Run.h:42
Generated for CMSSW Reference Manual by
1.8.11