180 name =
"AverageNumberOfEEDigiVs5Minutes";
185 name =
"AverageNumberOfEcalPnDiodeDigiVs5Minutes";
190 name =
"AverageNumberOfEcalRecHitVs5Minutes";
195 name =
"AverageNumberOfEcalTrigPrimDigiVs5Minutes";
200 name =
"AverageNumberOfBasicClusterVs5Minutes";
205 name =
"AverageNumberOfBasicClusterSizeVs5Minutes";
210 name =
"AverageNumberOfSuperClusterVs5Minutes";
215 name =
"AverageNumberOfSuperClusterSizeVs5Minutes";
220 name =
"AverageNumberOfIntegrityErrorVs5Minutes";
225 name =
"AverageNumberOfFEDEEminusRawDataVs5Minutes";
230 name =
"AverageNumberOfFEDEEplusRawDataVs5Minutes";
235 name =
"AverageNumberOfEESRFlagVs5Minutes";
243 name =
"AverageNumberOfEEDigiVs1Hour";
248 name =
"AverageNumberOfEcalPnDiodeDigiVs1Hour";
253 name =
"AverageNumberOfEcalRecHitVs1Hour";
258 name =
"AverageNumberOfEcalTrigPrimDigiVs1Hour";
263 name =
"AverageNumberOfBasicClusterVs1Hour";
268 name =
"AverageNumberOfBasicClusterSizeVs1Hour";
273 name =
"AverageNumberOfSuperClusterVs1Hour";
278 name =
"AverageNumberOfSuperClusterSizeVs1Hour";
283 name =
"AverageNumberOfIntegrityErrorVs1Hour";
288 name =
"AverageNumberOfFEDEEminusRawDataVs1Hour";
293 name =
"AverageNumberOfFEDEEplusRawDataVs1Hour";
298 name =
"AverageNumberOfEESRFlagVs1Hour";
310 if ( !
init_ )
return;
393 long int minuteBinDiff = -1;
394 long int minuteDiff = -1;
397 long int hourBinDiff = -1;
398 long int hourDiff = -1;
466 float nbcc_size = 0.0;
469 nbcc = pBasicClusters->size();
470 for(reco::BasicClusterCollection::const_iterator it = pBasicClusters->begin();
471 it != pBasicClusters->end(); it++){
472 nbcc_size += it->size();
474 if(nbcc == 0) nbcc_size = 0;
475 else nbcc_size = nbcc_size / nbcc;
495 float nscc_size = 0.0;
498 nscc = pSuperClusters->size();
499 for(reco::SuperClusterCollection::const_iterator it = pSuperClusters->begin();
500 it != pSuperClusters->end(); it++){
501 nscc_size += it->clustersSize();
503 if(nscc == 0) nscc_size = 0;
504 else nscc_size = nscc_size / nscc;
619 double errorSum = ndic0 + ndic1 + ndic2 + ndic3 +
620 neic1 + neic2 + neic3 + neic4 + neic5 + neic6;
645 for (
int iDcc = eem1; iDcc <= eep2; ++iDcc ) {
646 int sizeInKB = allFedRawData->FEDData(iDcc).size()/kByte;
647 if(iDcc >= eem1 && iDcc <= eem2) nfedEEminus += sizeInKB;
648 if(iDcc >= eep1 && iDcc <= eep2) nfedEEplus += sizeInKB;
edm::InputTag EEDetIdCollection0_
MonitorElement * nSuperClusterMinutely_
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
const std::string & getName(void) const
get name of ME
MonitorElement * nEEDigiMinutely_
edm::InputTag EcalElectronicsIdCollection2_
void rmdir(const std::string &fullpath)
MonitorElement * nBasicClusterMinutely_
Some "id" conversions.
edm::InputTag EcalElectronicsIdCollection1_
void analyze(const edm::Event &e, const edm::EventSetup &c)
edm::InputTag EcalElectronicsIdCollection3_
void beginRun(const edm::Run &r, const edm::EventSetup &c)
MonitorElement * nFEDEEplusRawDataHourly_
MonitorElement * nEcalRecHitMinutely_
edm::InputTag EcalElectronicsIdCollection4_
EETrendTask(const edm::ParameterSet &ps)
MonitorElement * nEEDigiHourly_
MonitorElement * nEcalPnDiodeDigiMinutely_
edm::InputTag BasicClusterCollection_
MonitorElement * nEcalPnDiodeDigiHourly_
void removeElement(const std::string &name)
edm::InputTag EESRFlagCollection_
MonitorElement * nEESRFlagHourly_
MonitorElement * nBasicClusterSizeHourly_
edm::InputTag EEDigiCollection_
MonitorElement * nFEDEEminusRawDataMinutely_
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
MonitorElement * nEcalRecHitHourly_
MonitorElement * nFEDEEplusRawDataMinutely_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
MonitorElement * nFEDEEminusRawDataHourly_
Ecal Monitor Utility functions.
edm::InputTag EcalElectronicsIdCollection6_
static void initGeometry(const edm::EventSetup &setup, bool verbose=false)
MonitorElement * nSuperClusterHourly_
edm::InputTag EcalTrigPrimDigiCollection_
MonitorElement * nBasicClusterHourly_
edm::InputTag SuperClusterCollection_
MonitorElement * nEESRFlagMinutely_
MonitorElement * nSuperClusterSizeMinutely_
MonitorElement * nSuperClusterSizeHourly_
edm::InputTag EcalRecHitCollection_
TProfile * getTProfile(void) const
edm::InputTag EEDetIdCollection1_
MonitorElement * nIntegrityErrorHourly_
void calcBins(int binWidth, int divisor, long int start_time, long int last_time, long int current_time, long int &binDiff, long int &diff)
edm::InputTag FEDRawDataCollection_
MonitorElement * nEcalTrigPrimDigiMinutely_
void shift2Right(TH1 *h, int bins)
MonitorElement * nEcalTrigPrimDigiHourly_
MonitorElement * nIntegrityErrorMinutely_
edm::InputTag EcalPnDiodeDigiCollection_
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void Reset(void)
reset ME (ie. contents, errors, etc)
edm::InputTag EcalElectronicsIdCollection5_
void endRun(const edm::Run &r, const edm::EventSetup &c)
void setCurrentFolder(const std::string &fullpath)
edm::InputTag EEDetIdCollection2_
edm::InputTag EEDetIdCollection3_
MonitorElement * nBasicClusterSizeMinutely_