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  * \author G. Della Ricca
8  *
9 */
10 
11 #include <vector>
12 #include <string>
13 
14 #include "TROOT.h"
15 #include "TProfile2D.h"
16 
18 
20 
21 class MonitorElement;
22 class DQMStore;
23 #ifdef WITH_ECAL_COND_DB
25 class RunIOV;
26 class MonRunIOV;
27 #endif
28 
29 class EESummaryClient : public EEClient {
30 
31 public:
32 
35 
37 virtual ~EESummaryClient();
38 
40 void analyze(void);
41 
43 void beginJob(void);
44 
46 void endJob(void);
47 
49 void beginRun(void);
50 
52 void endRun(void);
53 
55 void setup(void);
56 
58 void cleanup(void);
59 
60 #ifdef WITH_ECAL_COND_DB
61 bool writeDb(EcalCondDBInterface* econn, RunIOV* runiov, MonRunIOV* moniov, bool& status);
63 #endif
64 
66 inline int getEvtPerJob() { return ievt_; }
67 inline int getEvtPerRun() { return jevt_; }
68 
70 inline void setFriends(const std::vector<EEClient*> &clients) { clients_ = clients; }
71 
72 private:
73 
74 int ievt_;
75 int jevt_;
76 
78 
79 bool cloneME_;
80 
81 bool verbose_;
82 bool debug_;
83 
85 
87 
89 
91 
93 
94 std::vector<int> superModules_;
95 std::vector<int> laserWavelengths_;
96 std::vector<int> ledWavelengths_;
97 std::vector<int> MGPAGains_;
98 std::vector<int> MGPAGainsPN_;
99 
100 std::vector<EEClient*> clients_;
101 
103 
172 
184 
186 
188 
189 TProfile2D* hot01_[18];
190 TProfile2D* hpot01_[18];
191 TProfile2D* httt01_[18];
192 TProfile2D* htmt01_[18];
194 
196 
197 };
198 
199 #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.