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 
40 
41  TF1 *fit_;
42  TH1F *htESP_;
43  TH1F *htESM_;
44 
46  Double_t wc_, n_;
47 };
48 
49 #endif
edm::ESHandle< ESGain > esgain_
Definition: ESTimingTask.h:39
TH1F * htESM_
Definition: ESTimingTask.h:43
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:33
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: ESTimingTask.cc:83
TH1F * htESP_
Definition: ESTimingTask.h:42
edm::ESGetToken< ESGain, ESGainRcd > esgainToken_
Definition: ESTimingTask.h:38
edm::EDGetTokenT< ESDigiCollection > digilabel_
Definition: ESTimingTask.h:32
MonitorElement * h2DTiming_
Definition: ESTimingTask.h:36
Double_t wc_
Definition: ESTimingTask.h:46
MonitorElement * hTiming_[2][2]
Definition: ESTimingTask.h:35
Double_t n_
Definition: ESTimingTask.h:46
float x
ESTimingTask(const edm::ParameterSet &ps)
Definition: ESTimingTask.cc:39
Definition: Run.h:45