CMS 3D CMS Logo

EBLaserClient.h

Go to the documentation of this file.
00001 #ifndef EBLaserClient_H
00002 #define EBLaserClient_H
00003 
00004 /*
00005  * \file EBLaserClient.h
00006  *
00007  * $Date: 2008/10/07 18:34:22 $
00008  * $Revision: 1.83 $
00009  * \author G. Della Ricca
00010  *
00011 */
00012 
00013 #include <vector>
00014 #include <string>
00015 
00016 #include "TROOT.h"
00017 #include "TProfile2D.h"
00018 #include "TH1F.h"
00019 
00020 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00021 
00022 #include "DQM/EcalBarrelMonitorClient/interface/EBClient.h"
00023 
00024 class MonitorElement;
00025 class DQMStore;
00026 class EcalCondDBInterface;
00027 class RunIOV;
00028 class MonRunIOV;
00029 
00030 class EBLaserClient : public EBClient {
00031 
00032 friend class EBSummaryClient;
00033 
00034 public:
00035 
00037 EBLaserClient(const edm::ParameterSet& ps);
00038 
00040 virtual ~EBLaserClient();
00041 
00043 void analyze(void);
00044 
00046 void beginJob(DQMStore* dqmStore);
00047 
00049 void endJob(void);
00050 
00052 void beginRun(void);
00053 
00055 void endRun(void);
00056 
00058 void setup(void);
00059 
00061 void cleanup(void);
00062 
00064 void softReset(bool flag);
00065 
00067 void htmlOutput(int run, std::string& htmlDir, std::string& htmlName);
00068 
00070 bool writeDb(EcalCondDBInterface* econn, RunIOV* runiov, MonRunIOV* moniov, bool& status, bool flag);
00071 
00073 inline int getEvtPerJob() { return ievt_; }
00074 inline int getEvtPerRun() { return jevt_; }
00075 
00076 private:
00077 
00078 int ievt_;
00079 int jevt_;
00080 
00081 bool cloneME_;
00082 
00083 bool verbose_;
00084 bool debug_;
00085 
00086 std::string prefixME_;
00087 
00088 bool enableCleanup_;
00089 
00090 std::vector<int> superModules_;
00091 
00092 DQMStore* dqmStore_;
00093 
00094 TProfile2D* h01_[36];
00095 TProfile2D* h02_[36];
00096 TProfile2D* h03_[36];
00097 TProfile2D* h04_[36];
00098 TProfile2D* h05_[36];
00099 TProfile2D* h06_[36];
00100 TProfile2D* h07_[36];
00101 TProfile2D* h08_[36];
00102 
00103 TProfile2D* h09_[36];
00104 TProfile2D* h10_[36];
00105 TProfile2D* h11_[36];
00106 TProfile2D* h12_[36];
00107 
00108 TProfile2D* h13_[36];
00109 TProfile2D* h14_[36];
00110 TProfile2D* h15_[36];
00111 TProfile2D* h16_[36];
00112 TProfile2D* h17_[36];
00113 TProfile2D* h18_[36];
00114 TProfile2D* h19_[36];
00115 TProfile2D* h20_[36];
00116 
00117 TProfile2D* h21_[36];
00118 TProfile2D* h22_[36];
00119 TProfile2D* h23_[36];
00120 TProfile2D* h24_[36];
00121 
00122 TProfile2D* hs01_[36];
00123 TProfile2D* hs02_[36];
00124 TProfile2D* hs03_[36];
00125 TProfile2D* hs04_[36];
00126 
00127 TProfile2D* hs05_[36];
00128 TProfile2D* hs06_[36];
00129 TProfile2D* hs07_[36];
00130 TProfile2D* hs08_[36];
00131 
00132 MonitorElement* meg01_[36];
00133 MonitorElement* meg02_[36];
00134 MonitorElement* meg03_[36];
00135 MonitorElement* meg04_[36];
00136 
00137 MonitorElement* meg05_[36];
00138 MonitorElement* meg06_[36];
00139 MonitorElement* meg07_[36];
00140 MonitorElement* meg08_[36];
00141 MonitorElement* meg09_[36];
00142 MonitorElement* meg10_[36];
00143 MonitorElement* meg11_[36];
00144 MonitorElement* meg12_[36];
00145 
00146 MonitorElement* mea01_[36];
00147 MonitorElement* mea02_[36];
00148 MonitorElement* mea03_[36];
00149 MonitorElement* mea04_[36];
00150 MonitorElement* mea05_[36];
00151 MonitorElement* mea06_[36];
00152 MonitorElement* mea07_[36];
00153 MonitorElement* mea08_[36];
00154 
00155 MonitorElement* met01_[36];
00156 MonitorElement* met02_[36];
00157 MonitorElement* met03_[36];
00158 MonitorElement* met04_[36];
00159 MonitorElement* met05_[36];
00160 MonitorElement* met06_[36];
00161 MonitorElement* met07_[36];
00162 MonitorElement* met08_[36];
00163 
00164 MonitorElement* metav01_[36];
00165 MonitorElement* metav02_[36];
00166 MonitorElement* metav03_[36];
00167 MonitorElement* metav04_[36];
00168 MonitorElement* metav05_[36];
00169 MonitorElement* metav06_[36];
00170 MonitorElement* metav07_[36];
00171 MonitorElement* metav08_[36];
00172 
00173 MonitorElement* metrms01_[36];
00174 MonitorElement* metrms02_[36];
00175 MonitorElement* metrms03_[36];
00176 MonitorElement* metrms04_[36];
00177 MonitorElement* metrms05_[36];
00178 MonitorElement* metrms06_[36];
00179 MonitorElement* metrms07_[36];
00180 MonitorElement* metrms08_[36];
00181 
00182 MonitorElement* meaopn01_[36];
00183 MonitorElement* meaopn02_[36];
00184 MonitorElement* meaopn03_[36];
00185 MonitorElement* meaopn04_[36];
00186 MonitorElement* meaopn05_[36];
00187 MonitorElement* meaopn06_[36];
00188 MonitorElement* meaopn07_[36];
00189 MonitorElement* meaopn08_[36];
00190 
00191 MonitorElement* mepnprms01_[36];
00192 MonitorElement* mepnprms02_[36];
00193 MonitorElement* mepnprms03_[36];
00194 MonitorElement* mepnprms04_[36];
00195 MonitorElement* mepnprms05_[36];
00196 MonitorElement* mepnprms06_[36];
00197 MonitorElement* mepnprms07_[36];
00198 MonitorElement* mepnprms08_[36];
00199 
00200 MonitorElement* me_hs01_[36];
00201 MonitorElement* me_hs02_[36];
00202 MonitorElement* me_hs03_[36];
00203 MonitorElement* me_hs04_[36];
00204 MonitorElement* me_hs05_[36];
00205 MonitorElement* me_hs06_[36];
00206 MonitorElement* me_hs07_[36];
00207 MonitorElement* me_hs08_[36];
00208 
00209 TProfile* i01_[36];
00210 TProfile* i02_[36];
00211 TProfile* i03_[36];
00212 TProfile* i04_[36];
00213 TProfile* i05_[36];
00214 TProfile* i06_[36];
00215 TProfile* i07_[36];
00216 TProfile* i08_[36];
00217 TProfile* i09_[36];
00218 TProfile* i10_[36];
00219 TProfile* i11_[36];
00220 TProfile* i12_[36];
00221 TProfile* i13_[36];
00222 TProfile* i14_[36];
00223 TProfile* i15_[36];
00224 TProfile* i16_[36];
00225 
00226 // Quality check on crystals
00227 
00228 float percentVariation_;
00229 float amplitudeThreshold_;
00230 
00231 // Quality check on PNs
00232 
00233 float amplitudeThresholdPnG01_;
00234 float amplitudeThresholdPnG16_;
00235 float pedPnExpectedMean_[2];
00236 float pedPnDiscrepancyMean_[2];
00237 float pedPnRMSThreshold_[2];
00238 
00239 };
00240 
00241 #endif

Generated on Tue Jun 9 17:32:41 2009 for CMSSW by  doxygen 1.5.4