CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EBSummaryClient.h
Go to the documentation of this file.
1 #ifndef EBSummaryClient_H
2 #define EBSummaryClient_H
3 
4 /*
5  * \file EBSummaryClient.h
6  *
7  * $Date: 2012/06/11 22:57:15 $
8  * $Revision: 1.62 $
9  * \author G. Della Ricca
10  *
11 */
12 
13 #include <vector>
14 #include <string>
15 
16 #include "TROOT.h"
17 #include "TProfile2D.h"
18 
20 
22 
23 class MonitorElement;
24 class DQMStore;
25 #ifdef WITH_ECAL_COND_DB
27 class RunIOV;
28 class MonRunIOV;
29 #endif
30 
31 class EBSummaryClient : public EBClient {
32 
33 public:
34 
37 
39 virtual ~EBSummaryClient();
40 
42 void analyze(void);
43 
45 void beginJob(void);
46 
48 void endJob(void);
49 
51 void beginRun(void);
52 
54 void endRun(void);
55 
57 void setup(void);
58 
60 void cleanup(void);
61 
62 #ifdef WITH_ECAL_COND_DB
63 bool writeDb(EcalCondDBInterface* econn, RunIOV* runiov, MonRunIOV* moniov, bool& status);
65 #endif
66 
68 inline int getEvtPerJob() { return ievt_; }
69 inline int getEvtPerRun() { return jevt_; }
70 
72 inline void setFriends(std::vector<EBClient*> clients) { clients_ = clients; }
73 
74 private:
75 
76 int ievt_;
77 int jevt_;
78 
80 
81 bool cloneME_;
82 
83 bool verbose_;
84 bool debug_;
85 
87 
89 
91 
93 
95 
96 std::vector<int> superModules_;
97 std::vector<int> laserWavelengths_;
98 std::vector<int> MGPAGains_;
99 std::vector<int> MGPAGainsPN_;
100 
101 std::vector<EBClient*> clients_;
102 
104 
159 
170 
172 
174 
175 TProfile2D* hot01_[36];
176 TProfile2D* hpot01_[36];
177 TProfile2D* httt01_[36];
178 TProfile2D* htmt01_[36];
180 
182 
183 };
184 
185 #endif
MonitorElement * mePedestalOnlineRMS_
MonitorElement * meLaserL4PNErr_
MonitorElement * meOccupancyPN_
MonitorElement * meRecHitEnergy_
MonitorElement * meTriggerTowerEt_
virtual ~EBSummaryClient()
Destructor.
MonitorElement * meLaserL3_
void cleanup(void)
Cleanup.
MonitorElement * meTestPulseAmplG01_
TProfile2D * hot01_[36]
TProfile2D * httt01_[36]
MonitorElement * meTestPulseG12_
MonitorElement * meLaserL4AmplOverPN_
MonitorElement * mePedestalPNG01_
MonitorElement * meLaserL1Timing_
MonitorElement * meTimingMean_
MonitorElement * meStatusFlagsErr_
MonitorElement * meLaserL1_
void endRun(void)
EndRun.
MonitorElement * meIntegrity_
MonitorElement * mePedestalOnlineErr_
MonitorElement * mePedestalG06_
MonitorElement * meOccupancy_
MonitorElement * meTestPulseAmplG12_
MonitorElement * meLaserL3Timing_
std::vector< int > superModules_
std::vector< int > laserWavelengths_
MonitorElement * meLaserL2Err_
MonitorElement * meLaserL2_
int getEvtPerJob()
Get Functions.
MonitorElement * meLaserL3Ampl_
MonitorElement * meTestPulsePNG16_
MonitorElement * mePedestalG01_
MonitorElement * meIntegrityErr_
void beginJob(void)
BeginJob.
MonitorElement * meSummaryErr_
MonitorElement * meLaserL3PNErr_
int getEvtPerRun()
Returns the number of processed events in this Run.
MonitorElement * meLaserL2PN_
MonitorElement * meTestPulsePNG01_
MonitorElement * meLaserL4Timing_
MonitorElement * meLaserL2AmplOverPN_
MonitorElement * meTimingRMS_
void setFriends(std::vector< EBClient * > clients)
Set Clients.
std::string prefixME_
EBSummaryClient(const edm::ParameterSet &ps)
Constructor.
MonitorElement * meIntegrityPN_
void setup(void)
Setup.
TProfile2D * hpot01_[36]
MonitorElement * meLaserL3Err_
MonitorElement * meLaserL4Err_
MonitorElement * meTimingRMS1D_
MonitorElement * meOccupancy1D_
MonitorElement * meTriggerTowerEmulError_
MonitorElement * meTriggerTowerTiming_
DQMStore * dqmStore_
MonitorElement * meLaserL3PN_
MonitorElement * meLaserL3AmplOverPN_
MonitorElement * meLaserL4PN_
MonitorElement * meLaserL2Timing_
MonitorElement * meTimingMean1D_
MonitorElement * meTiming_
MonitorElement * meLaserL1AmplOverPN_
MonitorElement * mePedestalOnlineRMSMap_
MonitorElement * meLaserL4Ampl_
MonitorElement * meLaserL1Err_
MonitorElement * meLaserL4_
MonitorElement * meTestPulseAmplG06_
MonitorElement * mePedestalOnline_
MonitorElement * meGlobalSummary_
void endJob(void)
EndJob.
std::vector< int > MGPAGainsPN_
MonitorElement * meStatusFlags_
MonitorElement * meLaserL1PN_
MonitorElement * meLaserL2PNErr_
MonitorElement * meTestPulseG06_
MonitorElement * meTestPulseG01_
MonitorElement * meLaserL1Ampl_
float synchErrorThreshold_
MonitorElement * meLaserL1PNErr_
tuple status
Definition: ntuplemaker.py:245
std::vector< int > MGPAGains_
Definition: RunIOV.h:13
MonitorElement * meLaserL2Ampl_
std::vector< EBClient * > clients_
void analyze(void)
Analyze.
void beginRun(void)
BeginRun.
MonitorElement * mePedestalG12_
TProfile2D * htmt01_[36]
std::string subfolder_
MonitorElement * meTriggerTowerNonSingleTiming_
MonitorElement * mePedestalOnlineMean_
Ecal Barrel Monitor Client mom class.
MonitorElement * mePedestalPNG16_