CMS 3D CMS Logo

ESTimingTask.h
Go to the documentation of this file.
1 #ifndef ESTimingTask_H
2 #define ESTimingTask_H
3 
9 
11 
13 
14 #include "TF1.h"
15 #include "TH1F.h"
17 
18 double fitf(double *x, double *par);
19 
20 class ESTimingTask : public DQMEDAnalyzer {
21 public:
23  ~ESTimingTask() override;
24 
25 private:
26  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
27  void analyze(const edm::Event &, const edm::EventSetup &) override;
28  void set(const edm::EventSetup &es);
29 
30  // ----------member data ---------------------------
33 
36 
39 
40  TF1 *fit_;
41  TH1F *htESP_;
42  TH1F *htESM_;
43 
45  Double_t wc_, n_;
46 };
47 
48 #endif
edm::ESHandle< ESGain > esgain_
Definition: ESTimingTask.h:38
TH1F * htESM_
Definition: ESTimingTask.h:42
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: ESTimingTask.cc:57
double fitf(double *x, double *par)
Definition: ESTimingTask.cc:26
~ESTimingTask() override
Definition: ESTimingTask.cc:77
std::string prefixME_
Definition: ESTimingTask.h:32
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: ESTimingTask.cc:83
TH1F * htESP_
Definition: ESTimingTask.h:41
edm::ESGetToken< ESGain, ESGainRcd > esgainToken_
Definition: ESTimingTask.h:37
edm::EDGetTokenT< ESDigiCollection > digilabel_
Definition: ESTimingTask.h:31
MonitorElement * h2DTiming_
Definition: ESTimingTask.h:35
Double_t wc_
Definition: ESTimingTask.h:45
MonitorElement * hTiming_[2][2]
Definition: ESTimingTask.h:34
Double_t n_
Definition: ESTimingTask.h:45
float x
ESTimingTask(const edm::ParameterSet &ps)
Definition: ESTimingTask.cc:39
Definition: Run.h:45