CMS 3D CMS Logo

ESTimingTask.h
Go to the documentation of this file.
1 #ifndef ESTimingTask_H
2 #define ESTimingTask_H
3 
10 
12 
14 
15 #include "TF1.h"
16 #include "TH1F.h"
18 
19 double fitf(double *x, double *par);
20 
21 class ESTimingTask : public DQMEDAnalyzer {
22 public:
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 ---------------------------
34 
37 
39 
40  TF1 *fit_;
41  TH1F *htESP_;
42  TH1F *htESM_;
43 
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