test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual ~ESTimingTask();
28 
29  private:
30 
31  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
32  virtual 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
void set(const edm::EventSetup &es)
std::string prefixME_
Definition: ESTimingTask.h:37
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: ESTimingTask.cc:87
TH1F * htESP_
Definition: ESTimingTask.h:45
T x() const
Cartesian x coordinate.
virtual ~ESTimingTask()
Definition: ESTimingTask.cc:81
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:43