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"
17 
18 class MonitorElement;
19 
20 double fitf(double *x, double *par);
21 
22 class ESTimingTask : public DQMEDAnalyzer {
23 
24  public:
25 
27  ~ESTimingTask() override;
28 
29  private:
30 
31  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
32  void analyze(const edm::Event&, const edm::EventSetup&) override;
33  void set(const edm::EventSetup& es);
34 
35  // ----------member data ---------------------------
38 
41 
43 
44  TF1 *fit_;
45  TH1F *htESP_;
46  TH1F *htESM_;
47 
49  Double_t wc_, n_;
50 
51 };
52 
53 #endif
edm::ESHandle< ESGain > esgain_
Definition: ESTimingTask.h:42
TH1F * htESM_
Definition: ESTimingTask.h:46
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: ESTimingTask.cc:60
double fitf(double *x, double *par)
Definition: ESTimingTask.cc:27
~ESTimingTask() override
Definition: ESTimingTask.cc:81
std::string prefixME_
Definition: ESTimingTask.h:37
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: ESTimingTask.cc:87
TH1F * htESP_
Definition: ESTimingTask.h:45
edm::EDGetTokenT< ESDigiCollection > digilabel_
Definition: ESTimingTask.h:36
MonitorElement * h2DTiming_
Definition: ESTimingTask.h:40
Double_t wc_
Definition: ESTimingTask.h:49
MonitorElement * hTiming_[2][2]
Definition: ESTimingTask.h:39
Double_t n_
Definition: ESTimingTask.h:49
ESTimingTask(const edm::ParameterSet &ps)
Definition: ESTimingTask.cc:40
Definition: Run.h:45