CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EESummaryClient.h
Go to the documentation of this file.
1 #ifndef EESummaryClient_H
2 #define EESummaryClient_H
3 
4 /*
5  * \file EESummaryClient.h
6  *
7  * $Date: 2012/06/11 22:57:16 $
8  * $Revision: 1.55 $
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 EESummaryClient : public EEClient {
32 
33 public:
34 
37 
39 virtual ~EESummaryClient();
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(const std::vector<EEClient*> &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 
86 std::string prefixME_;
87 
88  std::string subfolder_;
89 
91 
93 
95 
96 std::vector<int> superModules_;
97 std::vector<int> laserWavelengths_;
98 std::vector<int> ledWavelengths_;
99 std::vector<int> MGPAGains_;
100 std::vector<int> MGPAGainsPN_;
101 
102 std::vector<EEClient*> clients_;
103 
105 
174 
186 
188 
190 
191 TProfile2D* hot01_[18];
192 TProfile2D* hpot01_[18];
193 TProfile2D* httt01_[18];
194 TProfile2D* htmt01_[18];
196 
198 
199 };
200 
201 #endif
void beginJob(void)
BeginJob.
float synchErrorThreshold_
TProfile2D * httt01_[18]
MonitorElement * meLaserL4Ampl_
MonitorElement * meTestPulseG12_[2]
MonitorElement * meLaserL4Timing_
void cleanup(void)
Cleanup.
MonitorElement * meLaserL3Err_
MonitorElement * meTimingRMS_
std::vector< int > MGPAGainsPN_
std::vector< int > superModules_
void analyze(void)
Analyze.
MonitorElement * meTestPulsePNG01_
MonitorElement * mePedestalOnlineErr_
TProfile2D * hpot01_[18]
MonitorElement * meTiming_[2]
MonitorElement * meLaserL1Ampl_
MonitorElement * meLedL1AmplOverPN_
MonitorElement * mePedestalOnlineRMSMap_[2]
TProfile2D * htmt01_[18]
MonitorElement * meLedL1_[2]
MonitorElement * mePedestalPNG16_
MonitorElement * meLaserL3AmplOverPN_
MonitorElement * meLaserL3Timing_
MonitorElement * meTestPulseAmplG01_
MonitorElement * meTestPulseAmplG06_
virtual ~EESummaryClient()
Destructor.
MonitorElement * mePedestalG01_[2]
MonitorElement * meLaserL4_[2]
MonitorElement * meTestPulseG01_[2]
MonitorElement * meLedL1Err_
MonitorElement * meLaserL4AmplOverPN_
MonitorElement * meLaserL3PNErr_
MonitorElement * meOccupancy_[2]
void setup(void)
Setup.
MonitorElement * meLaserL2AmplOverPN_
MonitorElement * mePedestalG12_[2]
void setFriends(const std::vector< EEClient * > &clients)
Set Clients.
MonitorElement * meTriggerTowerEmulError_[2]
MonitorElement * meSummaryErr_
MonitorElement * meLaserL2_[2]
MonitorElement * meLedL2PN_
MonitorElement * meIntegrityPN_
MonitorElement * meIntegrity_[2]
MonitorElement * meLaserL4PN_
MonitorElement * meRecHitEnergy_[2]
MonitorElement * meLaserL3_[2]
MonitorElement * meTimingRMS1D_[2]
MonitorElement * mePedestalOnline_[2]
MonitorElement * meStatusFlags_[2]
Ecal Barrel Monitor Client mom class.
MonitorElement * meLaserL4Err_
MonitorElement * meLedL2PNErr_
MonitorElement * meTriggerTowerTiming_[2]
MonitorElement * meLaserL1PNErr_
void beginRun(void)
BeginRun.
MonitorElement * meLaserL1Timing_
MonitorElement * meLaserL3PN_
MonitorElement * meTriggerTowerEtSpectrum_[2]
MonitorElement * meLedL1Ampl_
MonitorElement * meLaserL1_[2]
MonitorElement * meTimingMean_
MonitorElement * meTriggerTowerNonSingleTiming_[2]
std::string subfolder_
MonitorElement * meLedL2Timing_
std::string prefixME_
MonitorElement * meLedL1PN_
void endRun(void)
EndRun.
MonitorElement * meLaserL4PNErr_
std::vector< EEClient * > clients_
MonitorElement * meTimingMean1D_[2]
std::vector< int > laserWavelengths_
int getEvtPerJob()
Get Functions.
MonitorElement * meTestPulsePNG16_
MonitorElement * meLedL1Timing_
MonitorElement * mePedestalPNG01_
EESummaryClient(const edm::ParameterSet &ps)
Constructor.
MonitorElement * meLedL1PNErr_
MonitorElement * meStatusFlagsErr_
MonitorElement * meTriggerTowerEt_[2]
std::vector< int > MGPAGains_
MonitorElement * mePedestalG06_[2]
MonitorElement * meOccupancyPN_
MonitorElement * meLedL2AmplOverPN_
MonitorElement * mePedestalOnlineRMS_
MonitorElement * meLaserL2Timing_
MonitorElement * meLaserL2Err_
MonitorElement * meLaserL2Ampl_
int getEvtPerRun()
Returns the number of processed events in this Run.
MonitorElement * meLaserL1AmplOverPN_
MonitorElement * meLaserL2PN_
std::vector< int > ledWavelengths_
TProfile2D * hot01_[18]
MonitorElement * meLedL2Err_
MonitorElement * meTestPulseG06_[2]
MonitorElement * meLaserL3Ampl_
tuple status
Definition: ntuplemaker.py:245
MonitorElement * meLaserL1PN_
MonitorElement * meLedL2Ampl_
MonitorElement * meGlobalSummary_[2]
MonitorElement * mePedestalOnlineMean_
Definition: RunIOV.h:13
MonitorElement * meOccupancy1D_
DQMStore * dqmStore_
MonitorElement * meLedL2_[2]
MonitorElement * meTestPulseAmplG12_
MonitorElement * meLaserL2PNErr_
MonitorElement * meLaserL1Err_
MonitorElement * meIntegrityErr_
void endJob(void)
EndJob.