DQM
EcalPreshowerMonitorModule
interface
ESTimingTask.h
Go to the documentation of this file.
1
#ifndef ESTimingTask_H
2
#define ESTimingTask_H
3
4
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
7
#include "
FWCore/Framework/interface/ESHandle.h
"
8
#include "
FWCore/Framework/interface/EventSetup.h
"
9
#include "
CondFormats/ESObjects/interface/ESGain.h
"
10
11
#include "
DataFormats/EcalDigi/interface/EcalDigiCollections.h
"
12
13
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
14
15
#include "TF1.h"
16
#include "TH1F.h"
17
#include "
DQMServices/Core/interface/DQMStore.h
"
18
19
double
fitf
(
double
*
x
,
double
*par);
20
21
class
ESTimingTask
:
public
DQMEDAnalyzer
{
22
public
:
23
ESTimingTask
(
const
edm::ParameterSet
&ps);
24
~ESTimingTask
()
override
;
25
26
private
:
27
void
bookHistograms
(
DQMStore::IBooker
&,
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
28
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
29
void
set
(
const
edm::EventSetup
&es);
30
31
// ----------member data ---------------------------
32
edm::EDGetTokenT<ESDigiCollection>
digilabel_
;
33
std::string
prefixME_
;
34
35
MonitorElement
*
hTiming_
[2][2];
36
MonitorElement
*
h2DTiming_
;
37
38
edm::ESHandle<ESGain>
esgain_
;
39
40
TF1 *
fit_
;
41
TH1F *
htESP_
;
42
TH1F *
htESM_
;
43
44
int
runNum_
,
eCount_
;
45
Double_t
wc_
,
n_
;
46
};
47
48
#endif
ESTimingTask::hTiming_
MonitorElement * hTiming_[2][2]
Definition:
ESTimingTask.h:35
ESTimingTask::htESP_
TH1F * htESP_
Definition:
ESTimingTask.h:41
ESTimingTask::~ESTimingTask
~ESTimingTask() override
Definition:
ESTimingTask.cc:77
ESHandle.h
edm::Run
Definition:
Run.h:45
ESTimingTask::n_
Double_t n_
Definition:
ESTimingTask.h:45
edm::EDGetTokenT< ESDigiCollection >
ESTimingTask::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition:
ESTimingTask.cc:57
DQMStore.h
ESTimingTask::fit_
TF1 * fit_
Definition:
ESTimingTask.h:40
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:462
EDAnalyzer.h
ESGain.h
ESTimingTask::htESM_
TH1F * htESM_
Definition:
ESTimingTask.h:42
ESTimingTask
Definition:
ESTimingTask.h:21
ESTimingTask::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
ESTimingTask.cc:83
ESTimingTask::h2DTiming_
MonitorElement * h2DTiming_
Definition:
ESTimingTask.h:36
ESTimingTask::eCount_
int eCount_
Definition:
ESTimingTask.h:44
EcalDigiCollections.h
edm::ESHandle< ESGain >
ESTimingTask::digilabel_
edm::EDGetTokenT< ESDigiCollection > digilabel_
Definition:
ESTimingTask.h:32
ESTimingTask::prefixME_
std::string prefixME_
Definition:
ESTimingTask.h:33
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ESTimingTask::wc_
Double_t wc_
Definition:
ESTimingTask.h:45
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.py:1
edm::ParameterSet
Definition:
ParameterSet.h:47
ESTimingTask::ESTimingTask
ESTimingTask(const edm::ParameterSet &ps)
Definition:
ESTimingTask.cc:39
Event.h
fitf
double fitf(double *x, double *par)
Definition:
ESTimingTask.cc:26
edm::EventSetup
Definition:
EventSetup.h:58
genVertex_cff.x
x
Definition:
genVertex_cff.py:12
ESTimingTask::esgain_
edm::ESHandle< ESGain > esgain_
Definition:
ESTimingTask.h:38
EventSetup.h
dqm::implementation::IBooker
Definition:
DQMStore.h:43
ESTimingTask::runNum_
int runNum_
Definition:
ESTimingTask.h:44
ParameterSet.h
edm::Event
Definition:
Event.h:73
ESTimingTask::set
void set(const edm::EventSetup &es)
Definition:
ESTimingTask.cc:173
Generated for CMSSW Reference Manual by
1.8.16