CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalLEDClient.h
Go to the documentation of this file.
1 #ifndef HcalLEDClient_H
2 #define HcalLEDClient_H
3 
4 #include "DQM/HcalMonitorClient/interface/HcalBaseClient.h"
15 
16 class HcalLEDClient : public HcalBaseClient {
17 
18 public:
19 
21  HcalLEDClient();
24 
25  void init(const edm::ParameterSet& ps, DQMStore* dbe, string clientName);
26 
28  void analyze(void);
29 
31  void beginJob();
32 
34  void endJob(void);
35 
37  void beginRun(const EventSetup& c);
38 
40  void endRun(void);
41 
43  void setup(void);
44 
46  void cleanup(void);
47 
49  void htmlOutput(int run, string htmlDir, string htmlName);
50  void getHistograms();
51  void loadHistograms(TFile* f);
52 
53 
55  void report();
56 
57  void resetAllME();
58  void createTests();
59 
60 
61 private:
62 
64  std::ofstream m_outTextFile;
65 
68 
69  TH1F* avg_shape_[4];
70  TH1F* avg_time_[4];
71  TH1F* avg_energy_[4];
72 
73  TH1F* rms_shape_[4];
74  TH1F* mean_shape_[4];
75  TH1F* rms_time_[4];
76  TH1F* mean_time_[4];
77  TH1F* rms_energy_[4];
78  TH1F* mean_energy_[4];
79 
80  TH2F* err_map_geo_[4];
81  TH2F* err_map_elec_[4];
82 
83  TH2F* rms_energyDep_[4];
84  TH2F* mean_energyDep_[4];
85  TH2F* rms_timeDep_[4];
86  TH2F* mean_timeDep_[4];
87  TH2F* rms_shapeDep_[4];
88  TH2F* mean_shapeDep_[4];
89 
90  map<unsigned int, TH2F*> rms_energyElec_;
91  map<unsigned int, TH2F*> mean_energyElec_;
92  map<unsigned int, TH2F*> rms_timeElec_;
93  map<unsigned int, TH2F*> mean_timeElec_;
94  map<unsigned int, TH2F*> rms_shapeElec_;
95  map<unsigned int, TH2F*> mean_shapeElec_;
96 
97 
98  TH1F* HFlumi_etsum;
105 
106 
107 
108  // Quality criteria for data integrity
109  float rms_thresh_;
111 
112 };
113 
114 #endif
void getHistograms()
TH2F * rms_shapeDep_[4]
Definition: HcalLEDClient.h:87
TH1F * HFlumi_occabthr1
Definition: HcalLEDClient.h:99
TH1F * HFlumi_occbetthr2
HcalLEDClient()
Constructor.
TH1F * rms_energy_[4]
Definition: HcalLEDClient.h:77
TH2F * mean_energyDep_[4]
Definition: HcalLEDClient.h:84
void createTests()
TH1F * avg_energy_[4]
Definition: HcalLEDClient.h:71
~HcalLEDClient()
Destructor.
TH1F * avg_shape_[4]
Definition: HcalLEDClient.h:69
void beginRun(const EventSetup &c)
BeginRun.
void report()
process report
TH1F * HFlumi_occabthr2
TH2F * err_map_geo_[4]
Definition: HcalLEDClient.h:80
TH1F * mean_energy_[4]
Definition: HcalLEDClient.h:78
void setup(void)
Setup.
void htmlOutput(int run, string htmlDir, string htmlName)
HtmlOutput.
TH1F * HFlumi_etsum
Definition: HcalLEDClient.h:98
void beginJob()
BeginJob.
TH1F * rms_time_[4]
Definition: HcalLEDClient.h:75
map< unsigned int, TH2F * > mean_timeElec_
Definition: HcalLEDClient.h:93
TH1F * mean_time_[4]
Definition: HcalLEDClient.h:76
map< unsigned int, TH2F * > mean_shapeElec_
Definition: HcalLEDClient.h:95
TH1F * rms_shape_[4]
Definition: HcalLEDClient.h:73
TH2F * mean_shapeDep_[4]
Definition: HcalLEDClient.h:88
void analyze(void)
Analyze.
map< unsigned int, TH2F * > rms_energyElec_
Definition: HcalLEDClient.h:90
void endJob(void)
EndJob.
edm::ESHandle< HcalDbService > conditions_
Definition: HcalLEDClient.h:67
void endRun(void)
EndRun.
map< unsigned int, TH2F * > rms_shapeElec_
Definition: HcalLEDClient.h:94
string m_outputFileName
Definition: HcalLEDClient.h:63
map< unsigned int, TH2F * > mean_energyElec_
Definition: HcalLEDClient.h:91
TH2F * rms_timeDep_[4]
Definition: HcalLEDClient.h:85
void loadHistograms(TFile *f)
double f[11][100]
TH1F * avg_time_[4]
Definition: HcalLEDClient.h:70
void init(const edm::ParameterSet &ps, DQMStore *dbe, string clientName)
void resetAllME()
TH2F * err_map_elec_[4]
Definition: HcalLEDClient.h:81
std::ofstream m_outTextFile
Definition: HcalLEDClient.h:64
TH1F * HFlumi_occbetthr1
map< unsigned int, TH2F * > rms_timeElec_
Definition: HcalLEDClient.h:92
TH1F * HFlumi_occbelthr2
TH1F * HFlumi_occbelthr1
TH2F * rms_energyDep_[4]
Definition: HcalLEDClient.h:83
TH1F * mean_shape_[4]
Definition: HcalLEDClient.h:74
void cleanup(void)
Cleanup.
TH2F * mean_timeDep_[4]
Definition: HcalLEDClient.h:86
const HcalElectronicsMap * readoutMap_
Definition: HcalLEDClient.h:66