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 
11 #include "TF1.h"
12 #include "TH1F.h"
13 
14 class MonitorElement;
15 class DQMStore;
16 
17 double fitf(double *x, double *par);
18 
19 class ESTimingTask : public edm::EDAnalyzer {
20 
21  public:
22 
24  virtual ~ESTimingTask();
25 
26  private:
27 
28  virtual void beginJob(void);
29  virtual void analyze(const edm::Event&, const edm::EventSetup&);
30  virtual void endJob(void) ;
31  void set(const edm::EventSetup& es);
32 
33  // ----------member data ---------------------------
37 
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
virtual void beginJob(void)
Definition: ESTimingTask.cc:87
double fitf(double *x, double *par)
Definition: ESTimingTask.cc:30
void set(const edm::EventSetup &es)
std::string prefixME_
Definition: ESTimingTask.h:36
TH1F * htESP_
Definition: ESTimingTask.h:45
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: ESTimingTask.cc:93
virtual ~ESTimingTask()
Definition: ESTimingTask.cc:82
MonitorElement * h2DTiming_
Definition: ESTimingTask.h:40
Double_t wc_
Definition: ESTimingTask.h:49
virtual void endJob(void)
Definition: ESTimingTask.cc:90
MonitorElement * hTiming_[2][2]
Definition: ESTimingTask.h:39
Double_t n_
Definition: ESTimingTask.h:49
DQMStore * dqmStore_
Definition: ESTimingTask.h:38
Definition: DDAxes.h:10
edm::InputTag digilabel_
Definition: ESTimingTask.h:35
edm::InputTag rechitlabel_
Definition: ESTimingTask.h:34
ESTimingTask(const edm::ParameterSet &ps)
Definition: ESTimingTask.cc:43