#include <EBSummaryClient.h>
Definition at line 31 of file EBSummaryClient.h.
EBSummaryClient::EBSummaryClient | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 42 of file EBSummaryClient.cc.
References cloneME_, debug_, enableCleanup_, edm::ParameterSet::getUntrackedParameter(), hpot01_, htmt01_, httt01_, i, ecalpyutils::ism(), laserWavelengths_, meGlobalSummary_, meIntegrity_, meIntegrityErr_, meIntegrityPN_, meLaserL1_, meLaserL1Ampl_, meLaserL1AmplOverPN_, meLaserL1Err_, meLaserL1PN_, meLaserL1PNErr_, meLaserL1Timing_, meLaserL2_, meLaserL2Ampl_, meLaserL2AmplOverPN_, meLaserL2Err_, meLaserL2PN_, meLaserL2PNErr_, meLaserL2Timing_, meLaserL3_, meLaserL3Ampl_, meLaserL3AmplOverPN_, meLaserL3Err_, meLaserL3PN_, meLaserL3PNErr_, meLaserL3Timing_, meLaserL4_, meLaserL4Ampl_, meLaserL4AmplOverPN_, meLaserL4Err_, meLaserL4PN_, meLaserL4PNErr_, meLaserL4Timing_, meOccupancy1D_, meOccupancy_, meOccupancyPN_, mePedestalG01_, mePedestalG06_, mePedestalG12_, mePedestalOnline_, mePedestalOnlineErr_, mePedestalOnlineMean_, mePedestalOnlineRMS_, mePedestalOnlineRMSMap_, mePedestalPNG01_, mePedestalPNG16_, meRecHitEnergy_, meStatusFlags_, meStatusFlagsErr_, meSummaryErr_, meTestPulseAmplG01_, meTestPulseAmplG06_, meTestPulseAmplG12_, meTestPulseG01_, meTestPulseG06_, meTestPulseG12_, meTestPulsePNG01_, meTestPulsePNG16_, meTiming_, meTimingMean1D_, meTimingMean_, meTimingRMS1D_, meTimingRMS_, meTriggerTowerEmulError_, meTriggerTowerEt_, meTriggerTowerNonSingleTiming_, meTriggerTowerTiming_, MGPAGains_, MGPAGainsPN_, prefixME_, produceReports_, reducedReports_, subfolder_, superModules_, synchErrorThreshold_, timingNHitThreshold_, and verbose_.
{ // cloneME switch cloneME_ = ps.getUntrackedParameter<bool>("cloneME", true); // verbose switch verbose_ = ps.getUntrackedParameter<bool>("verbose", true); // debug switch debug_ = ps.getUntrackedParameter<bool>("debug", false); // prefixME path prefixME_ = ps.getUntrackedParameter<std::string>("prefixME", ""); subfolder_ = ps.getUntrackedParameter<std::string>("subfolder", ""); // enableCleanup_ switch enableCleanup_ = ps.getUntrackedParameter<bool>("enableCleanup", false); produceReports_ = ps.getUntrackedParameter<bool>("produceReports", true); reducedReports_ = ps.getUntrackedParameter<bool>("reducedReports", false); // vector of selected Super Modules (Defaults to all 36). superModules_.reserve(36); for ( unsigned int i = 1; i <= 36; i++ ) superModules_.push_back(i); superModules_ = ps.getUntrackedParameter<std::vector<int> >("superModules", superModules_); laserWavelengths_.reserve(4); for ( unsigned int i = 1; i <= 4; i++ ) laserWavelengths_.push_back(i); laserWavelengths_ = ps.getUntrackedParameter<std::vector<int> >("laserWavelengths", laserWavelengths_); MGPAGains_.reserve(3); for ( unsigned int i = 1; i <= 3; i++ ) MGPAGains_.push_back(i); MGPAGains_ = ps.getUntrackedParameter<std::vector<int> >("MGPAGains", MGPAGains_); MGPAGainsPN_.reserve(2); for ( unsigned int i = 1; i <= 3; i++ ) MGPAGainsPN_.push_back(i); MGPAGainsPN_ = ps.getUntrackedParameter<std::vector<int> >("MGPAGainsPN", MGPAGainsPN_); timingNHitThreshold_ = ps.getUntrackedParameter<int>("timingNHitThreshold", 5); synchErrorThreshold_ = ps.getUntrackedParameter<double>("synchErrorThreshold", 0.01); // summary maps meIntegrity_ = 0; meIntegrityPN_ = 0; meOccupancy_ = 0; meOccupancyPN_ = 0; meStatusFlags_ = 0; mePedestalOnline_ = 0; mePedestalOnlineRMSMap_ = 0; mePedestalOnlineMean_ = 0; mePedestalOnlineRMS_ = 0; meLaserL1_ = 0; meLaserL1PN_ = 0; meLaserL1Ampl_ = 0; meLaserL1Timing_ = 0; meLaserL1AmplOverPN_ = 0; meLaserL2_ = 0; meLaserL2PN_ = 0; meLaserL2Ampl_ = 0; meLaserL2Timing_ = 0; meLaserL2AmplOverPN_ = 0; meLaserL3_ = 0; meLaserL3PN_ = 0; meLaserL3Ampl_ = 0; meLaserL3Timing_ = 0; meLaserL3AmplOverPN_ = 0; meLaserL4_ = 0; meLaserL4PN_ = 0; meLaserL4Ampl_ = 0; meLaserL4Timing_ = 0; meLaserL4AmplOverPN_ = 0; mePedestalG01_ = 0; mePedestalG06_ = 0; mePedestalG12_ = 0; mePedestalPNG01_ = 0; mePedestalPNG16_ = 0; meTestPulseG01_ = 0; meTestPulseG06_ = 0; meTestPulseG12_ = 0; meTestPulsePNG01_ = 0; meTestPulsePNG16_ = 0; meTestPulseAmplG01_ = 0; meTestPulseAmplG06_ = 0; meTestPulseAmplG12_ = 0; meGlobalSummary_ = 0; meRecHitEnergy_ = 0; meTiming_ = 0; meTimingMean1D_ = 0; meTimingRMS1D_ = 0; meTimingMean_ = 0; meTimingRMS_ = 0; meTriggerTowerEt_ = 0; meTriggerTowerEmulError_ = 0; meTriggerTowerTiming_ = 0; meTriggerTowerNonSingleTiming_ = 0; // summary errors meIntegrityErr_ = 0; meOccupancy1D_ = 0; meStatusFlagsErr_ = 0; mePedestalOnlineErr_ = 0; meLaserL1Err_ = 0; meLaserL1PNErr_ = 0; meLaserL2Err_ = 0; meLaserL2PNErr_ = 0; meLaserL3Err_ = 0; meLaserL3PNErr_ = 0; meLaserL4Err_ = 0; meLaserL4PNErr_ = 0; meSummaryErr_ = 0; // additional histograms from tasks for ( unsigned int i=0; i<superModules_.size(); i++ ) { int ism = superModules_[i]; hpot01_[ism-1] = 0; httt01_[ism-1] = 0; htmt01_[ism-1] = 0; } }
EBSummaryClient::~EBSummaryClient | ( | ) | [virtual] |
void EBSummaryClient::analyze | ( | void | ) | [virtual] |
Analyze.
Implements EBClient.
Definition at line 993 of file EBSummaryClient.cc.
References abs, clients_, cloneME_, gather_cfg::cout, CommonMethods::cp(), debug_, dqmStore_, EcalBarrel, MonitorElement::Fill(), spr::find(), DQMStore::get(), MonitorElement::getBinContent(), MonitorElement::getBinError(), UtilsClient::getBinStatistics(), MonitorElement::getEntries(), getHisto(), EBIntegrityClient::h_, EBIntegrityClient::hmem_, hot01_, hpot01_, htmt01_, httt01_, i, ievt_, ecalpyutils::ism(), j, jevt_, EBTriggerTowerClient::l01_, EBTriggerTowerClient::l02_, laserWavelengths_, UtilsClient::maskBinContent(), Masks::maskChannel(), EBTriggerTowerClient::me_o01_, EBTriggerTowerClient::me_o02_, EBTestPulseClient::mea01_, EBLaserClient::mea01_, EBTestPulseClient::mea02_, EBLaserClient::mea02_, EBLaserClient::mea03_, EBTestPulseClient::mea03_, EBLaserClient::mea04_, EBLaserClient::meaopn01_, EBLaserClient::meaopn02_, EBLaserClient::meaopn03_, EBLaserClient::meaopn04_, EBPedestalClient::meg01_, EBIntegrityClient::meg01_, EBLaserClient::meg01_, EBTestPulseClient::meg01_, EBPedestalClient::meg02_, EBIntegrityClient::meg02_, EBLaserClient::meg02_, EBTestPulseClient::meg02_, EBTestPulseClient::meg03_, EBLaserClient::meg03_, EBPedestalOnlineClient::meg03_, EBPedestalClient::meg03_, EBTestPulseClient::meg04_, EBLaserClient::meg04_, EBPedestalClient::meg04_, EBTestPulseClient::meg05_, EBPedestalClient::meg05_, EBLaserClient::meg09_, EBLaserClient::meg10_, EBLaserClient::meg11_, EBLaserClient::meg12_, meGlobalSummary_, EBStatusFlagsClient::meh01_, meIntegrity_, meIntegrityErr_, meIntegrityPN_, meLaserL1_, meLaserL1Ampl_, meLaserL1AmplOverPN_, meLaserL1Err_, meLaserL1PN_, meLaserL1PNErr_, meLaserL1Timing_, meLaserL2_, meLaserL2Ampl_, meLaserL2AmplOverPN_, meLaserL2Err_, meLaserL2PN_, meLaserL2PNErr_, meLaserL2Timing_, meLaserL3_, meLaserL3Ampl_, meLaserL3AmplOverPN_, meLaserL3Err_, meLaserL3PN_, meLaserL3PNErr_, meLaserL3Timing_, meLaserL4_, meLaserL4Ampl_, meLaserL4AmplOverPN_, meLaserL4Err_, meLaserL4PN_, meLaserL4PNErr_, meLaserL4Timing_, meOccupancy1D_, meOccupancy_, meOccupancyPN_, mePedestalG01_, mePedestalG06_, mePedestalG12_, mePedestalOnline_, mePedestalOnlineErr_, mePedestalOnlineMean_, mePedestalOnlineRMS_, mePedestalOnlineRMSMap_, mePedestalPNG01_, mePedestalPNG16_, meRecHitEnergy_, meStatusFlags_, meStatusFlagsErr_, meSummaryErr_, EBLaserClient::met01_, EBLaserClient::met02_, EBLaserClient::met03_, EBLaserClient::met04_, meTestPulseAmplG01_, meTestPulseAmplG06_, meTestPulseAmplG12_, meTestPulseG01_, meTestPulseG06_, meTestPulseG12_, meTestPulsePNG01_, meTestPulsePNG16_, meTiming_, meTimingMean1D_, meTimingMean_, meTimingRMS1D_, meTimingRMS_, meTriggerTowerEmulError_, meTriggerTowerEt_, meTriggerTowerNonSingleTiming_, meTriggerTowerTiming_, norm01_, EcalDQMStatusHelper::PHYSICS_BAD_CHANNEL_WARNING, prefixME_, produceReports_, reducedReports_, MonitorElement::Reset(), Numbers::sEB(), MonitorElement::setBinContent(), MonitorElement::setEntries(), subfolder_, superModules_, synch01_, synchErrorThreshold_, and timingNHitThreshold_.
Referenced by EcalBarrelMonitorClient::analyze(), and EcalBarrelMonitorClient::endRun().
{ ievt_++; jevt_++; if ( ievt_ % 10 == 0 ) { if ( debug_ ) std::cout << "EBSummaryClient: ievt/jevt = " << ievt_ << "/" << jevt_ << std::endl; } uint32_t chWarnBit = 1 << EcalDQMStatusHelper::PHYSICS_BAD_CHANNEL_WARNING; for ( int iex = 1; iex <= 170; iex++ ) { for ( int ipx = 1; ipx <= 360; ipx++ ) { if ( meIntegrity_ ) meIntegrity_->setBinContent( ipx, iex, 6. ); if ( meOccupancy_ ) meOccupancy_->setBinContent( ipx, iex, 0. ); if ( meStatusFlags_ ) meStatusFlags_->setBinContent( ipx, iex, 6. ); if ( mePedestalOnline_ ) mePedestalOnline_->setBinContent( ipx, iex, 6. ); if ( mePedestalOnlineRMSMap_ ) mePedestalOnlineRMSMap_->setBinContent( ipx, iex, -1.); if ( meLaserL1_ ) meLaserL1_->setBinContent( ipx, iex, 6. ); if ( meLaserL2_ ) meLaserL2_->setBinContent( ipx, iex, 6. ); if ( meLaserL3_ ) meLaserL3_->setBinContent( ipx, iex, 6. ); if ( meLaserL4_ ) meLaserL4_->setBinContent( ipx, iex, 6. ); if ( mePedestalG01_ ) mePedestalG01_->setBinContent( ipx, iex, 6. ); if ( mePedestalG06_ ) mePedestalG06_->setBinContent( ipx, iex, 6. ); if ( mePedestalG12_ ) mePedestalG12_->setBinContent( ipx, iex, 6. ); if ( meTestPulseG01_ ) meTestPulseG01_->setBinContent( ipx, iex, 6. ); if ( meTestPulseG06_ ) meTestPulseG06_->setBinContent( ipx, iex, 6. ); if ( meTestPulseG12_ ) meTestPulseG12_->setBinContent( ipx, iex, 6. ); if ( meRecHitEnergy_ ) meRecHitEnergy_->setBinContent( ipx, iex, 0. ); if(meGlobalSummary_ ) meGlobalSummary_->setBinContent( ipx, iex, 6. ); } } for ( int iex = 1; iex <= 20; iex++ ) { for ( int ipx = 1; ipx <= 90; ipx++ ) { if ( meIntegrityPN_ ) meIntegrityPN_->setBinContent( ipx, iex, 6. ); if ( meOccupancyPN_ ) meOccupancyPN_->setBinContent( ipx, iex, 0. ); if ( meLaserL1PN_ ) meLaserL1PN_->setBinContent( ipx, iex, 6. ); if ( meLaserL2PN_ ) meLaserL2PN_->setBinContent( ipx, iex, 6. ); if ( meLaserL3PN_ ) meLaserL3PN_->setBinContent( ipx, iex, 6. ); if ( meLaserL4PN_ ) meLaserL4PN_->setBinContent( ipx, iex, 6. ); if ( mePedestalPNG01_ ) mePedestalPNG01_->setBinContent( ipx, iex, 6. ); if ( mePedestalPNG16_ ) mePedestalPNG16_->setBinContent( ipx, iex, 6. ); if ( meTestPulsePNG01_ ) meTestPulsePNG01_->setBinContent( ipx, iex, 6. ); if ( meTestPulsePNG16_ ) meTestPulsePNG16_->setBinContent( ipx, iex, 6. ); } } for ( int iex = 1; iex <= 34; iex++ ) { for ( int ipx = 1; ipx <= 72; ipx++ ) { if ( meTriggerTowerEt_ ) meTriggerTowerEt_->setBinContent( ipx, iex, 0. ); if ( meTriggerTowerEmulError_ ) meTriggerTowerEmulError_->setBinContent( ipx, iex, 6. ); if ( meTriggerTowerTiming_ ) meTriggerTowerTiming_->setBinContent( ipx, iex, 0. ); if ( meTriggerTowerNonSingleTiming_ ) meTriggerTowerNonSingleTiming_->setBinContent( ipx, iex, -1. ); if ( meTiming_ ) meTiming_->setBinContent( ipx, iex, 6. ); } } if ( meIntegrity_ ) meIntegrity_->setEntries( 0 ); if ( meIntegrityErr_ ) meIntegrityErr_->Reset(); if ( meIntegrityPN_ ) meIntegrityPN_->setEntries( 0 ); if ( meOccupancy_ ) meOccupancy_->setEntries( 0 ); if ( meOccupancy1D_ ) meOccupancy1D_->Reset(); if ( meOccupancyPN_ ) meOccupancyPN_->setEntries( 0 ); if ( meStatusFlags_ ) meStatusFlags_->setEntries( 0 ); if ( meStatusFlagsErr_ ) meStatusFlagsErr_->Reset(); if ( mePedestalOnline_ ) mePedestalOnline_->setEntries( 0 ); if ( mePedestalOnlineErr_ ) mePedestalOnlineErr_->Reset(); if ( mePedestalOnlineMean_ ) mePedestalOnlineMean_->Reset(); if ( mePedestalOnlineRMS_ ) mePedestalOnlineRMS_->Reset(); if ( mePedestalOnlineRMSMap_ ) mePedestalOnlineRMSMap_->Reset(); if ( meLaserL1_ ) meLaserL1_->setEntries( 0 ); if ( meLaserL1Err_ ) meLaserL1Err_->Reset(); if ( meLaserL1Ampl_ ) meLaserL1Ampl_->Reset(); if ( meLaserL1Timing_ ) meLaserL1Timing_->Reset(); if ( meLaserL1AmplOverPN_ ) meLaserL1AmplOverPN_->Reset(); if ( meLaserL1PN_ ) meLaserL1PN_->setEntries( 0 ); if ( meLaserL1PNErr_ ) meLaserL1PNErr_->Reset(); if ( meLaserL2_ ) meLaserL2_->setEntries( 0 ); if ( meLaserL2Err_ ) meLaserL2Err_->Reset(); if ( meLaserL2Ampl_ ) meLaserL2Ampl_->Reset(); if ( meLaserL2Timing_ ) meLaserL2Timing_->Reset(); if ( meLaserL2AmplOverPN_ ) meLaserL2AmplOverPN_->Reset(); if ( meLaserL2PN_ ) meLaserL2PN_->setEntries( 0 ); if ( meLaserL2PNErr_ ) meLaserL2PNErr_->Reset(); if ( meLaserL3_ ) meLaserL3_->setEntries( 0 ); if ( meLaserL3Err_ ) meLaserL3Err_->Reset(); if ( meLaserL3Ampl_ ) meLaserL3Ampl_->Reset(); if ( meLaserL3Timing_ ) meLaserL3Timing_->Reset(); if ( meLaserL3AmplOverPN_ ) meLaserL3AmplOverPN_->Reset(); if ( meLaserL3PN_ ) meLaserL3PN_->setEntries( 0 ); if ( meLaserL3PNErr_ ) meLaserL3PNErr_->Reset(); if ( meLaserL4_ ) meLaserL4_->setEntries( 0 ); if ( meLaserL4Err_ ) meLaserL4Err_->Reset(); if ( meLaserL4Ampl_ ) meLaserL4Ampl_->Reset(); if ( meLaserL4Timing_ ) meLaserL4Timing_->Reset(); if ( meLaserL4AmplOverPN_ ) meLaserL4AmplOverPN_->Reset(); if ( meLaserL4PN_ ) meLaserL4PN_->setEntries( 0 ); if ( meLaserL4PNErr_ ) meLaserL4PNErr_->Reset(); if ( mePedestalG01_ ) mePedestalG01_->setEntries( 0 ); if ( mePedestalG06_ ) mePedestalG06_->setEntries( 0 ); if ( mePedestalG12_ ) mePedestalG12_->setEntries( 0 ); if ( mePedestalPNG01_ ) mePedestalPNG01_->setEntries( 0 ); if ( mePedestalPNG16_ ) mePedestalPNG16_->setEntries( 0 ); if ( meTestPulseG01_ ) meTestPulseG01_->setEntries( 0 ); if ( meTestPulseG06_ ) meTestPulseG06_->setEntries( 0 ); if ( meTestPulseG12_ ) meTestPulseG12_->setEntries( 0 ); if ( meTestPulsePNG01_ ) meTestPulsePNG01_->setEntries( 0 ); if ( meTestPulsePNG16_ ) meTestPulsePNG16_->setEntries( 0 ); if ( meTestPulseAmplG01_ ) meTestPulseAmplG01_->Reset(); if ( meTestPulseAmplG06_ ) meTestPulseAmplG06_->Reset(); if ( meTestPulseAmplG12_ ) meTestPulseAmplG12_->Reset(); if ( meRecHitEnergy_ ) meRecHitEnergy_->setEntries( 0 ); if ( meTiming_ ) meTiming_->setEntries( 0 ); if ( meTimingMean1D_ ) meTimingMean1D_->Reset(); if ( meTimingRMS1D_ ) meTimingRMS1D_->Reset(); if ( meTimingMean_ ) meTimingMean_->Reset(); if ( meTimingRMS_ ) meTimingRMS_->Reset(); if ( meTriggerTowerEt_ ) meTriggerTowerEt_->setEntries( 0 ); if ( meTriggerTowerEmulError_ ) meTriggerTowerEmulError_->setEntries( 0 ); if ( meTriggerTowerTiming_ ) meTriggerTowerTiming_->setEntries( 0 ); if ( meTriggerTowerNonSingleTiming_ ) meTriggerTowerNonSingleTiming_->setEntries( 0 ); if(meGlobalSummary_ ) meGlobalSummary_->setEntries( 0 ); if(meSummaryErr_) meSummaryErr_->Reset(); MonitorElement* me(0); me = dqmStore_->get(prefixME_ + "/EBTimingTask/EBTMT timing map"); TProfile2D* htmt(0); htmt = UtilsClient::getHisto(me, false, htmt); std::string subdir(subfolder_ == "" ? "" : subfolder_ + "/"); TH1F* oosTrend(0); for ( unsigned int i=0; i<clients_.size(); i++ ) { EBIntegrityClient* ebic = dynamic_cast<EBIntegrityClient*>(clients_[i]); EBStatusFlagsClient* ebsfc = dynamic_cast<EBStatusFlagsClient*>(clients_[i]); if(!produceReports_) ebsfc = 0; EBPedestalOnlineClient* ebpoc = dynamic_cast<EBPedestalOnlineClient*>(clients_[i]); if(!produceReports_) ebpoc = 0; EBLaserClient* eblc = dynamic_cast<EBLaserClient*>(clients_[i]); EBPedestalClient* ebpc = dynamic_cast<EBPedestalClient*>(clients_[i]); EBTestPulseClient* ebtpc = dynamic_cast<EBTestPulseClient*>(clients_[i]); EBTimingClient* ebtmc = dynamic_cast<EBTimingClient*>(clients_[i]); EBTriggerTowerClient* ebtttc = dynamic_cast<EBTriggerTowerClient*>(clients_[i]); MonitorElement *me_01, *me_02, *me_03; MonitorElement *me_04, *me_05; // MonitorElement *me_f[6], *me_fg[2]; TH2F* h2; TH2F* h3; me = dqmStore_->get( prefixME_ + "/EcalInfo/EBMM DCC" ); norm01_ = UtilsClient::getHisto( me, cloneME_, norm01_ ); me = dqmStore_->get( prefixME_ + "/EBRawDataTask/" + subdir + "EBRDT L1A FE errors" ); synch01_ = UtilsClient::getHisto( me, cloneME_, synch01_ ); me = dqmStore_->get(prefixME_ + "/EBRawDataTask/" + subdir + "EBRDT accumulated FE synchronization errors"); oosTrend = UtilsClient::getHisto(me, cloneME_, oosTrend); for ( unsigned int i=0; i<superModules_.size(); i++ ) { int ism = superModules_[i]; me = dqmStore_->get( prefixME_ + "/EBOccupancyTask/" + subdir + "EBOT rec hit energy " + Numbers::sEB(ism) ); hot01_[ism-1] = UtilsClient::getHisto( me, cloneME_, hot01_[ism-1] ); me = dqmStore_->get( prefixME_ + "/EBPedestalOnlineTask/"+ subdir + "Gain12/EBPOT pedestal " + Numbers::sEB(ism) + " G12" ); hpot01_[ism-1] = UtilsClient::getHisto( me, cloneME_, hpot01_[ism-1] ); me = dqmStore_->get( prefixME_ + "/EBTriggerTowerTask/EBTTT Et map Real Digis " + Numbers::sEB(ism) ); httt01_[ism-1] = UtilsClient::getHisto( me, cloneME_, httt01_[ism-1] ); me = dqmStore_->get( prefixME_ + "/EBTimingTask/EBTMT timing " + Numbers::sEB(ism) ); htmt01_[ism-1] = UtilsClient::getHisto( me, cloneME_, htmt01_[ism-1] ); for ( int ie = 1; ie <= 85; ie++ ) { for ( int ip = 1; ip <= 20; ip++ ) { if ( ebic ) { me = ebic->meg01_[ism-1]; if ( me ) { float xval = me->getBinContent( ie, ip ); int iex; int ipx; if ( ism <= 18 ) { iex = 1+(85-ie); ipx = ip+20*(ism-1); } else { iex = 85+ie; ipx = 1+(20-ip)+20*(ism-19); } if(meIntegrity_) meIntegrity_->setBinContent( ipx, iex, xval ); if( xval == 0 && meIntegrityErr_) meIntegrityErr_->Fill( ism ); } h2 = ebic->h_[ism-1]; if ( h2 ) { float xval = h2->GetBinContent( ie, ip ); int iex; int ipx; if ( ism <= 18 ) { iex = 1+(85-ie); ipx = ip+20*(ism-1); } else { iex = 85+ie; ipx = 1+(20-ip)+20*(ism-19); } if(meOccupancy_) meOccupancy_->setBinContent( ipx, iex, xval ); if ( xval != 0 && meOccupancy1D_) meOccupancy1D_->Fill( ism, xval ); } } if ( ebpoc ) { me = ebpoc->meg03_[ism-1]; if ( me ) { int iex; int ipx; if ( ism <= 18 ) { iex = 1+(85-ie); ipx = ip+20*(ism-1); } else { iex = 85+ie; ipx = 1+(20-ip)+20*(ism-19); } float xval = me->getBinContent( ie, ip ); if(mePedestalOnline_) mePedestalOnline_->setBinContent( ipx, iex, xval ); if ( xval == 0 && mePedestalOnlineErr_ ) mePedestalOnlineErr_->Fill( ism ); } float num01, mean01, rms01; bool update01 = UtilsClient::getBinStatistics(hpot01_[ism-1], ie, ip, num01, mean01, rms01); if ( update01 ) { int iex; int ipx; if ( ism <= 18 ) { iex = 1+(85-ie); ipx = ip+20*(ism-1); } else { iex = 85+ie; ipx = 1+(20-ip)+20*(ism-19); } if(mePedestalOnlineRMSMap_) mePedestalOnlineRMSMap_->setBinContent( ipx, iex, rms01 ); if(mePedestalOnlineRMS_) mePedestalOnlineRMS_->Fill( ism, rms01 ); if(mePedestalOnlineMean_) mePedestalOnlineMean_->Fill( ism, mean01 ); } } if ( eblc ) { int iex; int ipx; if ( ism <= 18 ) { iex = 1+(85-ie); ipx = ip+20*(ism-1); } else { iex = 85+ie; ipx = 1+(20-ip)+20*(ism-19); } if ( find(laserWavelengths_.begin(), laserWavelengths_.end(), 1) != laserWavelengths_.end() ) { me = eblc->meg01_[ism-1]; if ( me ) { float xval = me->getBinContent( ie, ip ); if ( me->getEntries() != 0 ) { meLaserL1_->setBinContent( ipx, iex, xval ); if ( xval == 0 ) meLaserL1Err_->Fill( ism ); } } } if ( find(laserWavelengths_.begin(), laserWavelengths_.end(), 2) != laserWavelengths_.end() ) { me = eblc->meg02_[ism-1]; if ( me ) { float xval = me->getBinContent( ie, ip ); if ( me->getEntries() != 0 ) { meLaserL2_->setBinContent( ipx, iex, xval ); if ( xval == 0 ) meLaserL2Err_->Fill( ism ); } } } if ( find(laserWavelengths_.begin(), laserWavelengths_.end(), 3) != laserWavelengths_.end() ) { me = eblc->meg03_[ism-1]; if ( me ) { float xval = me->getBinContent( ie, ip ); if ( me->getEntries() != 0 ) { meLaserL3_->setBinContent( ipx, iex, xval ); if ( xval == 0 ) meLaserL3Err_->Fill( ism ); } } } if ( find(laserWavelengths_.begin(), laserWavelengths_.end(), 4) != laserWavelengths_.end() ) { me = eblc->meg04_[ism-1]; if ( me ) { float xval = me->getBinContent( ie, ip ); if ( me->getEntries() != 0 ) { meLaserL4_->setBinContent( ipx, iex, xval ); if ( xval == 0 ) meLaserL4Err_->Fill( ism ); } } } } if ( ebpc ) { me_01 = ebpc->meg01_[ism-1]; me_02 = ebpc->meg02_[ism-1]; me_03 = ebpc->meg03_[ism-1]; int iex; int ipx; if ( ism <= 18 ) { iex = 1+(85-ie); ipx = ip+20*(ism-1); } else { iex = 85+ie; ipx = 1+(20-ip)+20*(ism-19); } if ( me_01 ) { float val_01=me_01->getBinContent(ie,ip); if ( me_01->getEntries() != 0 ) mePedestalG01_->setBinContent( ipx, iex, val_01 ); } if ( me_02 ) { float val_02=me_02->getBinContent(ie,ip); if ( me_02->getEntries() != 0 ) mePedestalG06_->setBinContent( ipx, iex, val_02 ); } if ( me_03 ) { float val_03=me_03->getBinContent(ie,ip); if ( me_03->getEntries() != 0 ) mePedestalG12_->setBinContent( ipx, iex, val_03 ); } } if ( ebtpc ) { me_01 = ebtpc->meg01_[ism-1]; me_02 = ebtpc->meg02_[ism-1]; me_03 = ebtpc->meg03_[ism-1]; int iex; int ipx; if ( ism <= 18 ) { iex = 1+(85-ie); ipx = ip+20*(ism-1); } else { iex = 85+ie; ipx = 1+(20-ip)+20*(ism-19); } if ( me_01 ) { float val_01=me_01->getBinContent(ie,ip); if ( me_01->getEntries() != 0 ) meTestPulseG01_->setBinContent( ipx, iex, val_01 ); } if ( me_02 ) { float val_02=me_02->getBinContent(ie,ip); if ( me_02->getEntries() != 0 ) meTestPulseG06_->setBinContent( ipx, iex, val_02 ); } if ( me_03 ) { float val_03=me_03->getBinContent(ie,ip); if ( me_03->getEntries() != 0 ) meTestPulseG12_->setBinContent( ipx, iex, val_03 ); } } if ( hot01_[ism-1] ) { float xval = hot01_[ism-1]->GetBinContent( ie, ip ); int iex; int ipx; if ( ism <= 18 ) { iex = 1+(85-ie); ipx = ip+20*(ism-1); } else { iex = 85+ie; ipx = 1+(20-ip)+20*(ism-19); } if(meRecHitEnergy_) meRecHitEnergy_->setBinContent( ipx, iex, xval ); } if ( ebtmc ) { float num02, mean02, rms02; bool update02 = UtilsClient::getBinStatistics(htmt01_[ism-1], ie, ip, num02, mean02, rms02, timingNHitThreshold_); if ( update02 ) { mean02 -= 50.; meTimingMean1D_->Fill(mean02); meTimingRMS1D_->Fill(rms02); meTimingMean_->Fill( ism, mean02 ); meTimingRMS_->Fill( ism, rms02 ); } } } } for (int ie = 1; ie <= 17; ie++ ) { for (int ip = 1; ip <= 4; ip++ ) { int iex; int ipx; if ( ism <= 18 ) { iex = 1+(17-ie); ipx = ip+4*(ism-1); } else { iex = 17+ie; ipx = 1+(4-ip)+4*(ism-19); } if ( ebsfc ) { me = dqmStore_->get(prefixME_ + "/EcalInfo/EBMM DCC"); float xval = 6; if ( me ) { xval = 2; if ( me->getBinContent( ism ) > 0 ) xval = 1; } me = ebsfc->meh01_[ism-1]; if ( me ) { if ( me->getBinContent( ie, ip ) > 0 ) xval = 0; meStatusFlags_->setBinContent( ipx, iex, xval ); if ( me->getBinError( ie, ip ) > 0 && me->getBinError( ie, ip ) < 0.1 ) UtilsClient::maskBinContent( meStatusFlags_, ipx, iex ); if ( xval == 0 ) meStatusFlagsErr_->Fill( ism ); } } if ( ebtttc ) { float mean01 = 0; bool hadNonZeroInterest = false; if ( httt01_[ism-1] ) { mean01 = httt01_[ism-1]->GetBinContent( ie, ip ); if ( mean01 != 0. ) { if ( meTriggerTowerEt_ ) meTriggerTowerEt_->setBinContent( ipx, iex, mean01 ); } } me = ebtttc->me_o01_[ism-1]; if ( me ) { float xval = me->getBinContent( ie, ip ); if ( xval != 0. ) { meTriggerTowerTiming_->setBinContent( ipx, iex, xval ); hadNonZeroInterest = true; } } me = ebtttc->me_o02_[ism-1]; if ( me ) { float xval = me->getBinContent( ie, ip ); if ( xval != 0. ) { meTriggerTowerNonSingleTiming_->setBinContent( ipx, iex, xval ); } } float xval = 2; if( mean01 > 0. ) { h2 = ebtttc->l01_[ism-1]; h3 = ebtttc->l02_[ism-1]; if ( h2 && h3 ) { // float emulErrorVal = h2->GetBinContent( ie, ip ) + h3->GetBinContent( ie, ip ); float emulErrorVal = h2->GetBinContent( ie, ip ); if( emulErrorVal > 0.01 * ievt_ && hadNonZeroInterest ) xval = 0; } if ( xval!=0 && hadNonZeroInterest ) xval = 1; } meTriggerTowerEmulError_->setBinContent( ipx, iex, xval ); } if ( ebtmc ) { if( htmt01_[ism-1] ){ float num(0.); bool mask(false); for(int ce=1; ce<=5; ce++){ for(int cp=1; cp<=5; cp++){ int scie = (ie - 1) * 5 + ce; int scip = (ip - 1) * 5 + cp; num += htmt01_[ism-1]->GetBinEntries(htmt01_[ism-1]->GetBin(scie, scip)); if(Masks::maskChannel(ism, scie, scip, chWarnBit, EcalBarrel)) mask = true; } } float nHitThreshold(timingNHitThreshold_ * 18.); bool update01(false); float num01, mean01, rms01; update01 = UtilsClient::getBinStatistics(htmt, ipx, iex, num01, mean01, rms01, nHitThreshold); mean01 -= 50.; if(!update01){ mean01 = 0.; rms01 = 0.; } update01 |= num > 1.3 * nHitThreshold; float xval = 2.; if(update01){ if( std::abs(mean01) > 2. || rms01 > 6. || num > 1.3 * num01) xval = 0.; else xval = 1.; } meTiming_->setBinContent( ipx, iex, xval ); if ( mask ) UtilsClient::maskBinContent( meTiming_, ipx, iex ); } } } } // PN's summaries for( int i = 1; i <= 10; i++ ) { for( int j = 1; j <= 5; j++ ) { int ichanx; int ipseudostripx; if(ism<=18) { ichanx = i; ipseudostripx = j+5*(ism-1); } else { ichanx = i+10; ipseudostripx = j+5*(ism-19); } if ( ebic ) { me_04 = ebic->meg02_[ism-1]; h2 = ebic->hmem_[ism-1]; if( me_04 ) { float xval = me_04->getBinContent(i,j); if(meIntegrityPN_) meIntegrityPN_->setBinContent( ipseudostripx, ichanx, xval ); } if ( h2 ) { float xval = h2->GetBinContent(i,1); if(meOccupancyPN_) meOccupancyPN_->setBinContent( ipseudostripx, ichanx, xval ); } } if ( ebpc ) { me_04 = ebpc->meg04_[ism-1]; me_05 = ebpc->meg05_[ism-1]; if( me_04 ) { float val_04=me_04->getBinContent(i,1); mePedestalPNG01_->setBinContent( ipseudostripx, ichanx, val_04 ); } if( me_05 ) { float val_05=me_05->getBinContent(i,1); mePedestalPNG16_->setBinContent( ipseudostripx, ichanx, val_05 ); } } if ( ebtpc ) { me_04 = ebtpc->meg04_[ism-1]; me_05 = ebtpc->meg05_[ism-1]; if( me_04 ) { float val_04=me_04->getBinContent(i,1); meTestPulsePNG01_->setBinContent( ipseudostripx, ichanx, val_04 ); } if( me_05 ) { float val_05=me_05->getBinContent(i,1); meTestPulsePNG16_->setBinContent( ipseudostripx, ichanx, val_05 ); } } if ( eblc ) { if ( find(laserWavelengths_.begin(), laserWavelengths_.end(), 1) != laserWavelengths_.end() ) { me = eblc->meg09_[ism-1]; if( me ) { float xval = me->getBinContent(i,1); if ( me->getEntries() != 0 && me->getEntries() != 0 ) { meLaserL1PN_->setBinContent( ipseudostripx, ichanx, xval ); if ( xval == 0 ) meLaserL1PNErr_->Fill( ism ); } } } if ( find(laserWavelengths_.begin(), laserWavelengths_.end(), 2) != laserWavelengths_.end() ) { me = eblc->meg10_[ism-1]; if( me ) { float xval = me->getBinContent(i,1); if ( me->getEntries() != 0 && me->getEntries() != 0 ) { meLaserL2PN_->setBinContent( ipseudostripx, ichanx, xval ); if ( xval == 0 ) meLaserL2PNErr_->Fill( ism ); } } } if ( find(laserWavelengths_.begin(), laserWavelengths_.end(), 3) != laserWavelengths_.end() ) { me = eblc->meg11_[ism-1]; if( me ) { float xval = me->getBinContent(i,1); if ( me->getEntries() != 0 && me->getEntries() != 0 ) { meLaserL3PN_->setBinContent( ipseudostripx, ichanx, xval ); if ( xval == 0 ) meLaserL3PNErr_->Fill( ism ); } } } if ( find(laserWavelengths_.begin(), laserWavelengths_.end(), 4) != laserWavelengths_.end() ) { me = eblc->meg12_[ism-1]; if( me ) { float xval = me->getBinContent(i,1); if ( me->getEntries() != 0 && me->getEntries() != 0 ) { meLaserL4PN_->setBinContent( ipseudostripx, ichanx, xval ); if ( xval == 0 ) meLaserL4PNErr_->Fill( ism ); } } } } } } for(int chan=0; chan<1700; chan++) { int ie = (chan)/20 + 1; int ip = (chan)%20 + 1; // laser 1D summaries if ( eblc ) { if ( find(laserWavelengths_.begin(), laserWavelengths_.end(), 1) != laserWavelengths_.end() ) { MonitorElement *meg = eblc->meg01_[ism-1]; float xval = 2; if ( meg ) xval = meg->getBinContent( ie, ip ); // exclude channels without laser data (yellow in the quality map) if( xval != 2 && xval != 5 ) { MonitorElement* mea01 = eblc->mea01_[ism-1]; MonitorElement* met01 = eblc->met01_[ism-1]; MonitorElement* meaopn01 = eblc->meaopn01_[ism-1]; if( mea01 && met01 && meaopn01 ) { meLaserL1Ampl_->Fill( ism, mea01->getBinContent( chan+1 ) ); if( met01->getBinContent( chan+1 ) > 0. ) meLaserL1Timing_->Fill( ism, met01->getBinContent( chan+1 ) ); meLaserL1AmplOverPN_->Fill( ism, meaopn01->getBinContent( chan+1 ) ); } } } if ( find(laserWavelengths_.begin(), laserWavelengths_.end(), 2) != laserWavelengths_.end() ) { MonitorElement *meg = eblc->meg02_[ism-1]; float xval = 2; if ( meg ) xval = meg->getBinContent( ie, ip ); // exclude channels without laser data (yellow in the quality map) if( xval != 2 && xval != 5 ) { MonitorElement* mea02 = eblc->mea02_[ism-1]; MonitorElement* met02 = eblc->met02_[ism-1]; MonitorElement* meaopn02 = eblc->meaopn02_[ism-1]; if( mea02 && met02 && meaopn02 ) { meLaserL2Ampl_->Fill( ism, mea02->getBinContent( chan+1 ) ); if( met02->getBinContent( chan+1 ) > 0. ) meLaserL2Timing_->Fill( ism, met02->getBinContent( chan+1 ) ); meLaserL2AmplOverPN_->Fill( ism, meaopn02->getBinContent( chan+1 ) ); } } } if ( find(laserWavelengths_.begin(), laserWavelengths_.end(), 3) != laserWavelengths_.end() ) { MonitorElement *meg = eblc->meg03_[ism-1]; float xval = 2; if ( meg ) xval = meg->getBinContent( ie, ip ); // exclude channels without laser data (yellow in the quality map) if( xval != 2 && xval != 5 ) { MonitorElement* mea03 = eblc->mea03_[ism-1]; MonitorElement* met03 = eblc->met03_[ism-1]; MonitorElement* meaopn03 = eblc->meaopn03_[ism-1]; if( mea03 && met03 && meaopn03 ) { meLaserL3Ampl_->Fill( ism, mea03->getBinContent( chan+1 ) ); if( met03->getBinContent( chan+1 ) > 0. ) meLaserL3Timing_->Fill( ism, met03->getBinContent( chan+1 ) ); meLaserL3AmplOverPN_->Fill( ism, meaopn03->getBinContent( chan+1 ) ); } } } if ( find(laserWavelengths_.begin(), laserWavelengths_.end(), 4) != laserWavelengths_.end() ) { MonitorElement *meg = eblc->meg04_[ism-1]; float xval = 2; if ( meg ) xval = meg->getBinContent( ie, ip ); // exclude channels without laser data (yellow in the quality map) if( xval != 2 && xval != 5 ) { MonitorElement* mea04 = eblc->mea04_[ism-1]; MonitorElement* met04 = eblc->met04_[ism-1]; MonitorElement* meaopn04 = eblc->meaopn04_[ism-1]; if( mea04 && met04 && meaopn04 ) { meLaserL4Ampl_->Fill( ism, mea04->getBinContent( chan+1 ) ); if( met04->getBinContent( chan+1 ) > 0. ) meLaserL4Timing_->Fill( ism, met04->getBinContent( chan+1 ) ); meLaserL4AmplOverPN_->Fill( ism, meaopn04->getBinContent( chan+1 ) ); } } } } if ( ebtpc ) { MonitorElement *meg01 = ebtpc->meg01_[ism-1]; MonitorElement *meg02 = ebtpc->meg02_[ism-1]; MonitorElement *meg03 = ebtpc->meg03_[ism-1]; if ( meg01 ) { float xval01 = meg01->getBinContent(ie,ip); if ( xval01 != 2 && xval01 != 5 ) { me = ebtpc->mea01_[ism-1]; if ( me ) { meTestPulseAmplG01_->Fill( ism, me->getBinContent( chan+1 ) ); } } } if ( meg02 ) { float xval02 = meg02->getBinContent(ie,ip); if ( xval02 != 2 && xval02 != 5 ) { me = ebtpc->mea02_[ism-1]; if ( me ) { meTestPulseAmplG06_->Fill( ism, me->getBinContent( chan+1 ) ); } } } if ( meg03 ) { float xval03 = meg03->getBinContent(ie,ip); if ( xval03 != 2 && xval03 != 5 ) { me = ebtpc->mea03_[ism-1]; if ( me ) { meTestPulseAmplG12_->Fill( ism, me->getBinContent( chan+1 ) ); } } } } } // loop on channels } // loop on SM } // loop on clients // The global-summary int nGlobalErrors = 0; int nGlobalErrorsEB[36]; int nValidChannels = 0; int nValidChannelsEB[36]; for (int i = 0; i < 36; i++) { nGlobalErrorsEB[i] = 0; nValidChannelsEB[i] = 0; } for ( int iex = 1; iex <= 170; iex++ ) { for ( int ipx = 1; ipx <= 360; ipx++ ) { if(meGlobalSummary_) { int ism = (ipx-1)/20 + 1 ; if ( iex>85 ) ism+=18; int iet = (iex-1)/5 + 1; int ipt = (ipx-1)/5 + 1; float xval = 6; float val_in = meIntegrity_->getBinContent(ipx,iex); float val_po = mePedestalOnline_->getBinContent(ipx,iex); float val_tm = reducedReports_ ? 1. : meTiming_->getBinContent(ipt,iet); float val_sf = meStatusFlags_->getBinContent((ipx-1)/5+1,(iex-1)/5+1); float val_ee = reducedReports_ ? 1. : meTriggerTowerEmulError_->getBinContent((ipx-1)/5+1,(iex-1)/5+1); // removed from the global summary temporarily // float val_ee = 1; // combine all the available wavelenghts in unique laser status // for each laser turn dark color and yellow into bright green float val_ls_1=2, val_ls_2=2, val_ls_3=2, val_ls_4=2; if ( find(laserWavelengths_.begin(), laserWavelengths_.end(), 1) != laserWavelengths_.end() ) { if ( meLaserL1_ ) val_ls_1 = meLaserL1_->getBinContent(ipx,iex); if(val_ls_1==2 || val_ls_1==3 || val_ls_1==4 || val_ls_1==5) val_ls_1=1; } if ( find(laserWavelengths_.begin(), laserWavelengths_.end(), 2) != laserWavelengths_.end() ) { if ( meLaserL2_ ) val_ls_2 = meLaserL2_->getBinContent(ipx,iex); if(val_ls_2==2 || val_ls_2==3 || val_ls_2==4 || val_ls_2==5) val_ls_2=1; } if ( find(laserWavelengths_.begin(), laserWavelengths_.end(), 3) != laserWavelengths_.end() ) { if ( meLaserL3_ ) val_ls_3 = meLaserL3_->getBinContent(ipx,iex); if(val_ls_3==2 || val_ls_3==3 || val_ls_3==4 || val_ls_3==5) val_ls_3=1; } if ( find(laserWavelengths_.begin(), laserWavelengths_.end(), 4) != laserWavelengths_.end() ) { if ( meLaserL4_ ) val_ls_4 = meLaserL4_->getBinContent(ipx,iex); if(val_ls_4==2 || val_ls_4==3 || val_ls_4==4 || val_ls_4==5) val_ls_4=1; } float val_ls = 1; if (val_ls_1 == 0 || val_ls_2==0 || val_ls_3==0 || val_ls_4==0) val_ls=0; // DO NOT CONSIDER CALIBRATION EVENTS IN THE REPORT SUMMARY UNTIL LHC COLLISIONS val_ls = 1; // turn each dark color (masked channel) to bright green // for laser & timing & trigger turn also yellow into bright green // for pedestal online too because is not computed in calibration events // 0/3 = red/dark red // 1/4 = green/dark green // 2/5 = yellow/dark yellow // 6 = unknown if( val_in==3 || val_in==4 || val_in==5) val_in=1; if(val_po==2 || val_po==3 || val_po==4 || val_po==5) val_po=1; if(val_tm==2 || val_tm==3 || val_tm==4 || val_tm==5) val_tm=1; if( val_sf==3 || val_sf==4 || val_sf==5) val_sf=1; if(val_ee==2 || val_ee==3 || val_ee==4 || val_ee==5) val_ee=1; if(val_in==6) xval=6; else if(val_in==0) xval=0; else if(val_po==0 || val_ls==0 || val_tm==0 || val_sf==0 || val_ee==0) xval=0; else if(val_po==2 || val_ls==2 || val_tm==2 || val_sf==2 || val_ee==2) xval=2; else xval=1; // if the SM is entirely not read, the masked channels // are reverted back to yellow float iEntries=0; if(norm01_ && synch01_) { float frac_synch_errors = 0.; float norm = norm01_->GetBinContent(ism); if(norm > 0) frac_synch_errors = float(synch01_->GetBinContent(ism))/float(norm); if(frac_synch_errors > synchErrorThreshold_){ xval = 0; if(oosTrend && oosTrend->GetBinContent(oosTrend->GetNbinsX()) - oosTrend->GetBinContent(1) < 1.) xval += 3.; } } std::vector<int>::iterator iter = find(superModules_.begin(), superModules_.end(), ism); if (iter != superModules_.end()) { for ( unsigned int i=0; i<clients_.size(); i++ ) { EBIntegrityClient* ebic = dynamic_cast<EBIntegrityClient*>(clients_[i]); if ( ebic ) { TH2F* h2 = ebic->h_[ism-1]; if ( h2 ) { iEntries = h2->GetEntries(); } } } } if ( iEntries==0 ) { xval=2; } meGlobalSummary_->setBinContent( ipx, iex, xval ); if ( xval >= 0 && xval <= 5 ) { if ( xval != 2 && xval != 5 ) ++nValidChannels; if ( iex <= 85 ) { if ( xval != 2 && xval != 5 ) ++nValidChannelsEB[(ipx-1)/20]; } else { if ( xval != 2 && xval != 5 ) ++nValidChannelsEB[18+(ipx-1)/20]; } if ( xval == 0 ) ++nGlobalErrors; if ( iex <= 85 ) { if ( xval == 0 ) ++nGlobalErrorsEB[(ipx-1)/20]; } else { if ( xval == 0 ) ++nGlobalErrorsEB[18+(ipx-1)/20]; } } } } } if(meSummaryErr_) meSummaryErr_->setBinContent(1, double(nGlobalErrors) / double(nValidChannels)); float reportSummary = -1.0; if ( nValidChannels != 0 ) reportSummary = 1.0 - float(nGlobalErrors)/float(nValidChannels); me = dqmStore_->get(prefixME_ + "/EventInfo/reportSummary"); if ( me ) me->Fill(reportSummary); for (int i = 0; i < 36; i++) { float reportSummaryEB = -1.0; if ( nValidChannelsEB[i] != 0 ) reportSummaryEB = 1.0 - float(nGlobalErrorsEB[i])/float(nValidChannelsEB[i]); me = dqmStore_->get(prefixME_ + "/EventInfo/reportSummaryContents/EcalBarrel_" + Numbers::sEB(i+1)); if ( me ) me->Fill(reportSummaryEB); } if(meGlobalSummary_){ me = dqmStore_->get(prefixME_ + "/EventInfo/reportSummaryMap"); if ( me ) { int nValidChannelsTT[72][34]; int nGlobalErrorsTT[72][34]; for ( int iettx = 0; iettx < 34; iettx++ ) { for ( int ipttx = 0; ipttx < 72; ipttx++ ) { nValidChannelsTT[ipttx][iettx] = 0; nGlobalErrorsTT[ipttx][iettx] = 0; } } for ( int iex = 1; iex <= 170; iex++ ) { for ( int ipx = 1; ipx <= 360; ipx++ ) { int iettx = (iex-1)/5+1; int ipttx = (ipx-1)/5+1; float xval = meGlobalSummary_->getBinContent( ipx, iex ); if ( xval >= 0 && xval <= 5 ) { if ( xval != 2 && xval != 5 ) ++nValidChannelsTT[ipttx-1][iettx-1]; if ( xval == 0 ) ++nGlobalErrorsTT[ipttx-1][iettx-1]; } } } // Countermeasure to partial TR failure // make the whole SM red if more than 2 towers within a 2x2 matrix fails for(int jeta(1); jeta <= 33; jeta++){ for(int jphi(1); jphi <= 71; jphi++){ int nErr(0); if(nValidChannelsTT[jphi - 1][jeta - 1] > 0 && nGlobalErrorsTT[jphi - 1][jeta - 1] == nValidChannelsTT[jphi - 1][jeta - 1]) nErr += 1; if(nValidChannelsTT[jphi][jeta - 1] > 0 && nGlobalErrorsTT[jphi][jeta - 1] == nValidChannelsTT[jphi][jeta - 1]) nErr += 1; if(nValidChannelsTT[jphi - 1][jeta] > 0 && nGlobalErrorsTT[jphi - 1][jeta] == nValidChannelsTT[jphi - 1][jeta]) nErr += 1; if(nValidChannelsTT[jphi][jeta] > 0 && nGlobalErrorsTT[jphi][jeta] == nValidChannelsTT[jphi][jeta]) nErr += 1; if(nErr > 2){ int jphi0(((jphi - 1) / 4) * 4); int jeta0(((jeta - 1) / 17) * 17); for(int jjphi(jphi0); jjphi < jphi0 + 4; jjphi++){ for(int jjeta(jeta0); jjeta < jeta0 + 17; jjeta++){ nGlobalErrorsTT[jjphi][jjeta] = nValidChannelsTT[jjphi][jjeta]; } } } } } for ( int iettx = 0; iettx < 34; iettx++ ) { for ( int ipttx = 0; ipttx < 72; ipttx++ ) { float xval = -1.0; if ( nValidChannelsTT[ipttx][iettx] != 0 ) xval = 1.0 - float(nGlobalErrorsTT[ipttx][iettx])/float(nValidChannelsTT[ipttx][iettx]); me->setBinContent( ipttx+1, iettx+1, xval ); } } } } }
void EBSummaryClient::beginJob | ( | void | ) | [virtual] |
BeginJob.
Implements EBClient.
Definition at line 179 of file EBSummaryClient.cc.
References gather_cfg::cout, debug_, dqmStore_, ievt_, jevt_, and cmsCodeRules::cppFunctionSkipper::operator.
Referenced by EcalBarrelMonitorClient::beginJob().
void EBSummaryClient::beginRun | ( | void | ) | [virtual] |
BeginRun.
Implements EBClient.
Definition at line 190 of file EBSummaryClient.cc.
References gather_cfg::cout, debug_, jevt_, and setup().
Referenced by EcalBarrelMonitorClient::beginRun().
void EBSummaryClient::cleanup | ( | void | ) | [virtual] |
Cleanup.
Implements EBClient.
Definition at line 773 of file EBSummaryClient.cc.
References cloneME_, dqmStore_, enableCleanup_, MonitorElement::getName(), hpot01_, httt01_, i, ecalpyutils::ism(), meGlobalSummary_, meIntegrity_, meIntegrityErr_, meIntegrityPN_, meLaserL1_, meLaserL1Ampl_, meLaserL1AmplOverPN_, meLaserL1Err_, meLaserL1PN_, meLaserL1PNErr_, meLaserL1Timing_, meLaserL2_, meLaserL2Ampl_, meLaserL2AmplOverPN_, meLaserL2Err_, meLaserL2PN_, meLaserL2PNErr_, meLaserL2Timing_, meLaserL3_, meLaserL3Ampl_, meLaserL3AmplOverPN_, meLaserL3Err_, meLaserL3PN_, meLaserL3PNErr_, meLaserL3Timing_, meLaserL4_, meLaserL4Ampl_, meLaserL4AmplOverPN_, meLaserL4Err_, meLaserL4PN_, meLaserL4PNErr_, meLaserL4Timing_, meOccupancy1D_, meOccupancy_, meOccupancyPN_, mePedestalG01_, mePedestalG06_, mePedestalG12_, mePedestalOnline_, mePedestalOnlineErr_, mePedestalOnlineMean_, mePedestalOnlineRMS_, mePedestalOnlineRMSMap_, meRecHitEnergy_, meStatusFlags_, meStatusFlagsErr_, meSummaryErr_, meTestPulseAmplG01_, meTestPulseAmplG06_, meTestPulseAmplG12_, meTestPulseG01_, meTestPulseG06_, meTestPulseG12_, meTiming_, meTimingMean1D_, meTimingMean_, meTimingRMS1D_, meTimingRMS_, meTriggerTowerEmulError_, meTriggerTowerEt_, meTriggerTowerNonSingleTiming_, meTriggerTowerTiming_, prefixME_, DQMStore::removeElement(), DQMStore::setCurrentFolder(), and superModules_.
Referenced by endJob(), and endRun().
{ if ( ! enableCleanup_ ) return; for ( unsigned int i=0; i<superModules_.size(); i++ ) { int ism = superModules_[i]; if ( cloneME_ ) { if ( hpot01_[ism-1] ) delete hpot01_[ism-1]; if ( httt01_[ism-1] ) delete httt01_[ism-1]; } hpot01_[ism-1] = 0; httt01_[ism-1] = 0; } dqmStore_->setCurrentFolder( prefixME_ + "/EBSummaryClient" ); if ( meIntegrity_ ) dqmStore_->removeElement( meIntegrity_->getName() ); meIntegrity_ = 0; if ( meIntegrityErr_ ) dqmStore_->removeElement( meIntegrityErr_->getName() ); meIntegrityErr_ = 0; if ( meIntegrityPN_ ) dqmStore_->removeElement( meIntegrityPN_->getName() ); meIntegrityPN_ = 0; if ( meOccupancy_ ) dqmStore_->removeElement( meOccupancy_->getName() ); meOccupancy_ = 0; if ( meOccupancy1D_ ) dqmStore_->removeElement( meOccupancy1D_->getName() ); meOccupancy1D_ = 0; if ( meOccupancyPN_ ) dqmStore_->removeElement( meOccupancyPN_->getName() ); meOccupancyPN_ = 0; if ( meStatusFlags_ ) dqmStore_->removeElement( meStatusFlags_->getName() ); meStatusFlags_ = 0; if ( meStatusFlagsErr_ ) dqmStore_->removeElement( meStatusFlagsErr_->getName() ); meStatusFlagsErr_ = 0; if ( mePedestalOnline_ ) dqmStore_->removeElement( mePedestalOnline_->getName() ); mePedestalOnline_ = 0; if ( mePedestalOnlineErr_ ) dqmStore_->removeElement( mePedestalOnlineErr_->getName() ); mePedestalOnlineErr_ = 0; if ( mePedestalOnlineMean_ ) dqmStore_->removeElement( mePedestalOnlineMean_->getName() ); mePedestalOnlineMean_ = 0; if ( mePedestalOnlineRMS_ ) dqmStore_->removeElement( mePedestalOnlineRMS_->getName() ); mePedestalOnlineRMS_ = 0; if ( mePedestalOnlineRMSMap_ ) dqmStore_->removeElement( mePedestalOnlineRMSMap_->getName() ); mePedestalOnlineRMSMap_ = 0; if ( meLaserL1_ ) dqmStore_->removeElement( meLaserL1_->getName() ); meLaserL1_ = 0; if ( meLaserL1Err_ ) dqmStore_->removeElement( meLaserL1Err_->getName() ); meLaserL1Err_ = 0; if ( meLaserL1Ampl_ ) dqmStore_->removeElement( meLaserL1Ampl_->getName() ); meLaserL1Ampl_ = 0; if ( meLaserL1Timing_ ) dqmStore_->removeElement( meLaserL1Timing_->getName() ); meLaserL1Timing_ = 0; if ( meLaserL1AmplOverPN_ ) dqmStore_->removeElement( meLaserL1AmplOverPN_->getName() ); meLaserL1AmplOverPN_ = 0; if ( meLaserL1PN_ ) dqmStore_->removeElement( meLaserL1PN_->getName() ); meLaserL1PN_ = 0; if ( meLaserL1PNErr_ ) dqmStore_->removeElement( meLaserL1PNErr_->getName() ); meLaserL1PNErr_ = 0; if ( meLaserL2_ ) dqmStore_->removeElement( meLaserL2_->getName() ); meLaserL2_ = 0; if ( meLaserL2Err_ ) dqmStore_->removeElement( meLaserL2Err_->getName() ); meLaserL2Err_ = 0; if ( meLaserL2Ampl_ ) dqmStore_->removeElement( meLaserL2Ampl_->getName() ); meLaserL2Ampl_ = 0; if ( meLaserL2Timing_ ) dqmStore_->removeElement( meLaserL2Timing_->getName() ); meLaserL2Timing_ = 0; if ( meLaserL2AmplOverPN_ ) dqmStore_->removeElement( meLaserL2AmplOverPN_->getName() ); meLaserL2AmplOverPN_ = 0; if ( meLaserL2PN_ ) dqmStore_->removeElement( meLaserL2PN_->getName() ); meLaserL2PN_ = 0; if ( meLaserL2PNErr_ ) dqmStore_->removeElement( meLaserL2PNErr_->getName() ); meLaserL2PNErr_ = 0; if ( meLaserL3_ ) dqmStore_->removeElement( meLaserL3_->getName() ); meLaserL3_ = 0; if ( meLaserL3Err_ ) dqmStore_->removeElement( meLaserL3Err_->getName() ); meLaserL3Err_ = 0; if ( meLaserL3Ampl_ ) dqmStore_->removeElement( meLaserL3Ampl_->getName() ); meLaserL3Ampl_ = 0; if ( meLaserL3Timing_ ) dqmStore_->removeElement( meLaserL3Timing_->getName() ); meLaserL3Timing_ = 0; if ( meLaserL3AmplOverPN_ ) dqmStore_->removeElement( meLaserL3AmplOverPN_->getName() ); meLaserL3AmplOverPN_ = 0; if ( meLaserL3PN_ ) dqmStore_->removeElement( meLaserL3PN_->getName() ); meLaserL3PN_ = 0; if ( meLaserL3PNErr_ ) dqmStore_->removeElement( meLaserL3PNErr_->getName() ); meLaserL3PNErr_ = 0; if ( meLaserL4_ ) dqmStore_->removeElement( meLaserL4_->getName() ); meLaserL4_ = 0; if ( meLaserL4Err_ ) dqmStore_->removeElement( meLaserL4Err_->getName() ); meLaserL4Err_ = 0; if ( meLaserL4Ampl_ ) dqmStore_->removeElement( meLaserL4Ampl_->getName() ); meLaserL4Ampl_ = 0; if ( meLaserL4Timing_ ) dqmStore_->removeElement( meLaserL4Timing_->getName() ); meLaserL4Timing_ = 0; if ( meLaserL4AmplOverPN_ ) dqmStore_->removeElement( meLaserL4AmplOverPN_->getName() ); meLaserL4AmplOverPN_ = 0; if ( meLaserL4PN_ ) dqmStore_->removeElement( meLaserL4PN_->getName() ); meLaserL4PN_ = 0; if ( meLaserL4PNErr_ ) dqmStore_->removeElement( meLaserL4PNErr_->getName() ); meLaserL4PNErr_ = 0; if ( mePedestalG01_ ) dqmStore_->removeElement( mePedestalG01_->getName() ); mePedestalG01_ = 0; if ( mePedestalG06_ ) dqmStore_->removeElement( mePedestalG06_->getName() ); mePedestalG06_ = 0; if ( mePedestalG12_ ) dqmStore_->removeElement( mePedestalG12_->getName() ); mePedestalG12_ = 0; if ( meTestPulseG01_ ) dqmStore_->removeElement( meTestPulseG01_->getName() ); meTestPulseG01_ = 0; if ( meTestPulseG06_ ) dqmStore_->removeElement( meTestPulseG06_->getName() ); meTestPulseG06_ = 0; if ( meTestPulseG12_ ) dqmStore_->removeElement( meTestPulseG12_->getName() ); meTestPulseG12_ = 0; if ( meTestPulseG01_ ) dqmStore_->removeElement( meTestPulseG01_->getName() ); meTestPulseG01_ = 0; if ( meTestPulseAmplG01_ ) dqmStore_->removeElement( meTestPulseAmplG01_->getName() ); meTestPulseAmplG01_ = 0; if ( meTestPulseAmplG06_ ) dqmStore_->removeElement( meTestPulseAmplG06_->getName() ); meTestPulseAmplG06_ = 0; if ( meTestPulseAmplG12_ ) dqmStore_->removeElement( meTestPulseAmplG12_->getName() ); meTestPulseAmplG12_ = 0; if ( meRecHitEnergy_ ) dqmStore_->removeElement( meRecHitEnergy_->getName() ); meRecHitEnergy_ = 0; if ( meTiming_ ) dqmStore_->removeElement( meTiming_->getName() ); meTiming_ = 0; if ( meTimingMean1D_ ) dqmStore_->removeElement( meTimingMean1D_->getName() ); meTimingMean1D_ = 0; if ( meTimingRMS1D_ ) dqmStore_->removeElement( meTimingRMS1D_->getName() ); meTimingRMS1D_ = 0; if ( meTimingMean_ ) dqmStore_->removeElement( meTimingMean_->getName() ); meTimingMean_ = 0; if ( meTimingRMS_ ) dqmStore_->removeElement( meTimingRMS_->getName() ); meTimingRMS_ = 0; if ( meTriggerTowerEt_ ) dqmStore_->removeElement( meTriggerTowerEt_->getName() ); meTriggerTowerEt_ = 0; if ( meTriggerTowerEmulError_ ) dqmStore_->removeElement( meTriggerTowerEmulError_->getName() ); meTriggerTowerEmulError_ = 0; if ( meTriggerTowerTiming_ ) dqmStore_->removeElement( meTriggerTowerTiming_->getName() ); meTriggerTowerTiming_ = 0; if ( meTriggerTowerNonSingleTiming_ ) dqmStore_->removeElement( meTriggerTowerNonSingleTiming_->getName() ); meTriggerTowerNonSingleTiming_ = 0; if ( meGlobalSummary_ ) dqmStore_->removeElement( meGlobalSummary_->getName() ); meGlobalSummary_ = 0; if(meSummaryErr_) dqmStore_->removeElement(meSummaryErr_->getName()); meSummaryErr_ = 0; }
void EBSummaryClient::endJob | ( | void | ) | [virtual] |
EndJob.
Implements EBClient.
Definition at line 200 of file EBSummaryClient.cc.
References cleanup(), gather_cfg::cout, debug_, and ievt_.
Referenced by EcalBarrelMonitorClient::endJob().
void EBSummaryClient::endRun | ( | void | ) | [virtual] |
EndRun.
Implements EBClient.
Definition at line 208 of file EBSummaryClient.cc.
References cleanup(), gather_cfg::cout, debug_, and jevt_.
Referenced by EcalBarrelMonitorClient::endRun().
int EBSummaryClient::getEvtPerJob | ( | void | ) | [inline, virtual] |
Get Functions.
Implements EBClient.
Definition at line 68 of file EBSummaryClient.h.
References ievt_.
{ return ievt_; }
int EBSummaryClient::getEvtPerRun | ( | void | ) | [inline, virtual] |
void EBSummaryClient::setFriends | ( | std::vector< EBClient * > | clients | ) | [inline] |
Set Clients.
Definition at line 72 of file EBSummaryClient.h.
References clients_.
Referenced by EcalBarrelMonitorClient::EcalBarrelMonitorClient().
{ clients_ = clients; }
void EBSummaryClient::setup | ( | void | ) | [virtual] |
Setup.
Implements EBClient.
Definition at line 216 of file EBSummaryClient.cc.
References DQMStore::book1D(), DQMStore::book2D(), DQMStore::bookProfile(), clients_, dqmStore_, spr::find(), MonitorElement::getName(), i, IntegrityClient_cfi::integrityClient, LaserClient_cfi::laserClient, laserWavelengths_, meGlobalSummary_, meIntegrity_, meIntegrityErr_, meIntegrityPN_, meLaserL1_, meLaserL1Ampl_, meLaserL1AmplOverPN_, meLaserL1Err_, meLaserL1PN_, meLaserL1PNErr_, meLaserL1Timing_, meLaserL2_, meLaserL2Ampl_, meLaserL2AmplOverPN_, meLaserL2Err_, meLaserL2PN_, meLaserL2PNErr_, meLaserL2Timing_, meLaserL3_, meLaserL3Ampl_, meLaserL3AmplOverPN_, meLaserL3Err_, meLaserL3PN_, meLaserL3PNErr_, meLaserL3Timing_, meLaserL4_, meLaserL4Ampl_, meLaserL4AmplOverPN_, meLaserL4Err_, meLaserL4PN_, meLaserL4PNErr_, meLaserL4Timing_, meOccupancy1D_, meOccupancy_, meOccupancyPN_, mePedestalG01_, mePedestalG06_, mePedestalG12_, mePedestalOnline_, mePedestalOnlineErr_, mePedestalOnlineMean_, mePedestalOnlineRMS_, mePedestalOnlineRMSMap_, mePedestalPNG01_, mePedestalPNG16_, meRecHitEnergy_, meStatusFlags_, meStatusFlagsErr_, meSummaryErr_, meTestPulseAmplG01_, meTestPulseAmplG06_, meTestPulseAmplG12_, meTestPulseG01_, meTestPulseG06_, meTestPulseG12_, meTestPulsePNG01_, meTestPulsePNG16_, meTiming_, meTimingMean1D_, meTimingMean_, meTimingRMS1D_, meTimingRMS_, meTriggerTowerEmulError_, meTriggerTowerEt_, meTriggerTowerNonSingleTiming_, meTriggerTowerTiming_, MGPAGains_, MGPAGainsPN_, mergeVDriftHistosByStation::name, OccupancyClient_cfi::occupancyClient, prefixME_, produceReports_, reducedReports_, DQMStore::removeElement(), Numbers::sEB(), MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), DQMStore::setCurrentFolder(), and TimingClient_cfi::timingClient.
Referenced by beginRun().
{ bool integrityClient(false); bool occupancyClient(false); bool statusFlagsClient(false); bool pedestalOnlineClient(false); bool laserClient(false); bool pedestalClient(false); bool testPulseClient(false); bool timingClient(false); bool triggerTowerClient(false); for(unsigned i = 0; i < clients_.size(); i++){ if(dynamic_cast<EBIntegrityClient*>(clients_[i])) integrityClient = true; if(dynamic_cast<EBOccupancyClient*>(clients_[i])) occupancyClient = true; if(dynamic_cast<EBStatusFlagsClient*>(clients_[i])) statusFlagsClient = true; if(dynamic_cast<EBPedestalOnlineClient*>(clients_[i])) pedestalOnlineClient = true; if(dynamic_cast<EBLaserClient*>(clients_[i])) laserClient = true; if(dynamic_cast<EBPedestalClient*>(clients_[i])) pedestalClient = true; if(dynamic_cast<EBTestPulseClient*>(clients_[i])) testPulseClient = true; if(dynamic_cast<EBTimingClient*>(clients_[i])) timingClient = true; if(dynamic_cast<EBTriggerTowerClient*>(clients_[i])) triggerTowerClient = true; } std::string name; dqmStore_->setCurrentFolder( prefixME_ + "/EBSummaryClient" ); if(integrityClient){ if(produceReports_){ if ( meIntegrity_ ) dqmStore_->removeElement( meIntegrity_->getName() ); name = "EBIT integrity quality summary"; meIntegrity_ = dqmStore_->book2D(name, name, 360, 0., 360., 170, -85., 85.); meIntegrity_->setAxisTitle("jphi", 1); meIntegrity_->setAxisTitle("jeta", 2); if ( meIntegrityErr_ ) dqmStore_->removeElement( meIntegrityErr_->getName() ); name = "EBIT integrity quality errors summary"; meIntegrityErr_ = dqmStore_->book1D(name, name, 36, 1, 37); for (int i = 0; i < 36; i++) { meIntegrityErr_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } } if(laserClient){ if ( meIntegrityPN_ ) dqmStore_->removeElement( meIntegrityPN_->getName() ); name = "EBIT PN integrity quality summary"; meIntegrityPN_ = dqmStore_->book2D(name, name, 90, 0., 90., 20, -10., 10.); meIntegrityPN_->setAxisTitle("jchannel", 1); meIntegrityPN_->setAxisTitle("jpseudo-strip", 2); } } if(occupancyClient){ if(produceReports_){ if ( meOccupancy_ ) dqmStore_->removeElement( meOccupancy_->getName() ); name = "EBOT digi occupancy summary"; meOccupancy_ = dqmStore_->book2D(name, name, 360, 0., 360., 170, -85., 85.); meOccupancy_->setAxisTitle("jphi", 1); meOccupancy_->setAxisTitle("jeta", 2); if ( meOccupancy1D_ ) dqmStore_->removeElement( meOccupancy1D_->getName() ); name = "EBOT digi occupancy summary 1D"; meOccupancy1D_ = dqmStore_->book1D(name, name, 36, 1, 37); for (int i = 0; i < 36; i++) { meOccupancy1D_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } if( meRecHitEnergy_ ) dqmStore_->removeElement( meRecHitEnergy_->getName() ); name = "EBOT energy summary"; meRecHitEnergy_ = dqmStore_->book2D(name, name, 360, 0., 360., 170, -85., 85.); meRecHitEnergy_->setAxisTitle("jphi", 1); meRecHitEnergy_->setAxisTitle("jeta", 2); meRecHitEnergy_->setAxisTitle("energy (GeV)", 3); } if(laserClient){ if ( meOccupancyPN_ ) dqmStore_->removeElement( meOccupancyPN_->getName() ); name = "EBOT PN digi occupancy summary"; meOccupancyPN_ = dqmStore_->book2D(name, name, 90, 0., 90., 20, -10., 10.); meOccupancyPN_->setAxisTitle("jchannel", 1); meOccupancyPN_->setAxisTitle("jpseudo-strip", 2); } } if(statusFlagsClient && produceReports_){ if ( meStatusFlags_ ) dqmStore_->removeElement( meStatusFlags_->getName() ); name = "EBSFT front-end status summary"; meStatusFlags_ = dqmStore_->book2D(name, name, 72, 0., 72., 34, -17., 17.); meStatusFlags_->setAxisTitle("jphi'", 1); meStatusFlags_->setAxisTitle("jeta'", 2); if ( meStatusFlagsErr_ ) dqmStore_->removeElement( meStatusFlagsErr_->getName() ); name = "EBSFT front-end status errors summary"; meStatusFlagsErr_ = dqmStore_->book1D(name, name, 36, 1, 37); for (int i = 0; i < 36; i++) { meStatusFlagsErr_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } } if(pedestalOnlineClient && produceReports_){ if ( mePedestalOnline_ ) dqmStore_->removeElement( mePedestalOnline_->getName() ); name = "EBPOT pedestal quality summary G12"; mePedestalOnline_ = dqmStore_->book2D(name, name, 360, 0., 360., 170, -85., 85.); mePedestalOnline_->setAxisTitle("jphi", 1); mePedestalOnline_->setAxisTitle("jeta", 2); if ( mePedestalOnlineErr_ ) dqmStore_->removeElement( mePedestalOnlineErr_->getName() ); name = "EBPOT pedestal quality errors summary G12"; mePedestalOnlineErr_ = dqmStore_->book1D(name, name, 36, 1, 37); for (int i = 0; i < 36; i++) { mePedestalOnlineErr_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } if ( mePedestalOnlineRMSMap_ ) dqmStore_->removeElement( mePedestalOnlineRMSMap_->getName() ); name = "EBPOT pedestal G12 RMS map"; mePedestalOnlineRMSMap_ = dqmStore_->book2D(name, name, 360, 0., 360., 170, -85., 85.); mePedestalOnlineRMSMap_->setAxisTitle("jphi", 1); mePedestalOnlineRMSMap_->setAxisTitle("jeta", 2); mePedestalOnlineRMSMap_->setAxisTitle("rms", 3); if ( mePedestalOnlineMean_ ) dqmStore_->removeElement( mePedestalOnlineMean_->getName() ); name = "EBPOT pedestal G12 mean"; mePedestalOnlineMean_ = dqmStore_->bookProfile(name, name, 36, 1, 37, 100, 150., 250.); for (int i = 0; i < 36; i++) { mePedestalOnlineMean_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } if ( mePedestalOnlineRMS_ ) dqmStore_->removeElement( mePedestalOnlineRMS_->getName() ); name = "EBPOT pedestal G12 rms"; mePedestalOnlineRMS_ = dqmStore_->bookProfile(name, name, 36, 1, 37, 100, 0., 10.); for (int i = 0; i < 36; i++) { mePedestalOnlineRMS_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } } if(laserClient){ if ( find(laserWavelengths_.begin(), laserWavelengths_.end(), 1) != laserWavelengths_.end() ) { if ( meLaserL1_ ) dqmStore_->removeElement( meLaserL1_->getName() ); name = "EBLT laser quality summary L1"; meLaserL1_ = dqmStore_->book2D(name, name, 360, 0., 360., 170, -85., 85.); meLaserL1_->setAxisTitle("jphi", 1); meLaserL1_->setAxisTitle("jeta", 2); if ( meLaserL1Err_ ) dqmStore_->removeElement( meLaserL1Err_->getName() ); name = "EBLT laser quality errors summary L1"; meLaserL1Err_ = dqmStore_->book1D(name, name, 36, 1, 37); for (int i = 0; i < 36; i++) { meLaserL1Err_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } if ( meLaserL1PN_ ) dqmStore_->removeElement( meLaserL1PN_->getName() ); name = "EBLT PN laser quality summary L1"; meLaserL1PN_ = dqmStore_->book2D(name, name, 90, 0., 90., 20, -10., 10.); meLaserL1PN_->setAxisTitle("jchannel", 1); meLaserL1PN_->setAxisTitle("jpseudo-strip", 2); if ( meLaserL1PNErr_ ) dqmStore_->removeElement( meLaserL1PNErr_->getName() ); name = "EBLT PN laser quality errors summary L1"; meLaserL1PNErr_ = dqmStore_->book1D(name, name, 36, 1, 37); for (int i = 0; i < 36; i++) { meLaserL1PNErr_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } if ( meLaserL1Ampl_ ) dqmStore_->removeElement( meLaserL1Ampl_->getName() ); name = "EBLT laser L1 amplitude summary"; meLaserL1Ampl_ = dqmStore_->bookProfile(name, name, 36, 1, 37, 4096, 0., 4096., "s"); for (int i = 0; i < 36; i++) { meLaserL1Ampl_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } if ( meLaserL1Timing_ ) dqmStore_->removeElement( meLaserL1Timing_->getName() ); name = "EBLT laser L1 timing summary"; meLaserL1Timing_ = dqmStore_->bookProfile(name, name, 36, 1, 37, 100, 0., 10., "s"); for (int i = 0; i < 36; i++) { meLaserL1Timing_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } if ( meLaserL1AmplOverPN_ ) dqmStore_->removeElement( meLaserL1AmplOverPN_->getName() ); name = "EBLT laser L1 amplitude over PN summary"; meLaserL1AmplOverPN_ = dqmStore_->bookProfile(name, name, 36, 1, 37, 4096, 0., 4096.*12., "s"); for (int i = 0; i < 36; i++) { meLaserL1AmplOverPN_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } } if ( find(laserWavelengths_.begin(), laserWavelengths_.end(), 2) != laserWavelengths_.end() ) { if ( meLaserL2_ ) dqmStore_->removeElement( meLaserL2_->getName() ); name = "EBLT laser quality summary L2"; meLaserL2_ = dqmStore_->book2D(name, name, 360, 0., 360., 170, -85., 85.); meLaserL2_->setAxisTitle("jphi", 1); meLaserL2_->setAxisTitle("jeta", 2); if ( meLaserL2Err_ ) dqmStore_->removeElement( meLaserL2Err_->getName() ); name = "EBLT laser quality errors summary L2"; meLaserL2Err_ = dqmStore_->book1D(name, name, 36, 1, 37); for (int i = 0; i < 36; i++) { meLaserL2Err_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } if ( meLaserL2PN_ ) dqmStore_->removeElement( meLaserL2PN_->getName() ); name = "EBLT PN laser quality summary L2"; meLaserL2PN_ = dqmStore_->book2D(name, name, 90, 0., 90., 20, -10., 10.); meLaserL2PN_->setAxisTitle("jchannel", 1); meLaserL2PN_->setAxisTitle("jpseudo-strip", 2); if ( meLaserL2PNErr_ ) dqmStore_->removeElement( meLaserL2PNErr_->getName() ); name = "EBLT PN laser quality errors summary L2"; meLaserL2PNErr_ = dqmStore_->book1D(name, name, 36, 1, 37); for (int i = 0; i < 36; i++) { meLaserL2PNErr_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } if ( meLaserL2Ampl_ ) dqmStore_->removeElement( meLaserL2Ampl_->getName() ); name = "EBLT laser L2 amplitude summary"; meLaserL2Ampl_ = dqmStore_->bookProfile(name, name, 36, 1, 37, 4096, 0., 4096., "s"); for (int i = 0; i < 36; i++) { meLaserL2Ampl_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } if ( meLaserL2Timing_ ) dqmStore_->removeElement( meLaserL2Timing_->getName() ); name = "EBLT laser L2 timing summary"; meLaserL2Timing_ = dqmStore_->bookProfile(name, name, 36, 1, 37, 100, 0., 10., "s"); for (int i = 0; i < 36; i++) { meLaserL2Timing_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } if ( meLaserL2AmplOverPN_ ) dqmStore_->removeElement( meLaserL2AmplOverPN_->getName() ); name = "EBLT laser L2 amplitude over PN summary"; meLaserL2AmplOverPN_ = dqmStore_->bookProfile(name, name, 36, 1, 37, 4096, 0., 4096.*12., "s"); for (int i = 0; i < 36; i++) { meLaserL2AmplOverPN_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } } if ( find(laserWavelengths_.begin(), laserWavelengths_.end(), 3) != laserWavelengths_.end() ) { if ( meLaserL3_ ) dqmStore_->removeElement( meLaserL3_->getName() ); name = "EBLT laser quality summary L3"; meLaserL3_ = dqmStore_->book2D(name, name, 360, 0., 360., 170, -85., 85.); meLaserL3_->setAxisTitle("jphi", 1); meLaserL3_->setAxisTitle("jeta", 2); if ( meLaserL3Err_ ) dqmStore_->removeElement( meLaserL3Err_->getName() ); name = "EBLT laser quality errors summary L3"; meLaserL3Err_ = dqmStore_->book1D(name, name, 36, 1, 37); for (int i = 0; i < 36; i++) { meLaserL3Err_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } if ( meLaserL3PN_ ) dqmStore_->removeElement( meLaserL3PN_->getName() ); name = "EBLT PN laser quality summary L3"; meLaserL3PN_ = dqmStore_->book2D(name, name, 90, 0., 90., 20, -10., 10.); meLaserL3PN_->setAxisTitle("jchannel", 1); meLaserL3PN_->setAxisTitle("jpseudo-strip", 2); if ( meLaserL3PNErr_ ) dqmStore_->removeElement( meLaserL3PNErr_->getName() ); name = "EBLT PN laser quality errors summary L3"; meLaserL3PNErr_ = dqmStore_->book1D(name, name, 36, 1, 37); for (int i = 0; i < 36; i++) { meLaserL3PNErr_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } if ( meLaserL3Ampl_ ) dqmStore_->removeElement( meLaserL3Ampl_->getName() ); name = "EBLT laser L3 amplitude summary"; meLaserL3Ampl_ = dqmStore_->bookProfile(name, name, 36, 1, 37, 4096, 0., 4096., "s"); for (int i = 0; i < 36; i++) { meLaserL3Ampl_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } if ( meLaserL3Timing_ ) dqmStore_->removeElement( meLaserL3Timing_->getName() ); name = "EBLT laser L3 timing summary"; meLaserL3Timing_ = dqmStore_->bookProfile(name, name, 36, 1, 37, 100, 0., 10., "s"); for (int i = 0; i < 36; i++) { meLaserL3Timing_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } if ( meLaserL3AmplOverPN_ ) dqmStore_->removeElement( meLaserL3AmplOverPN_->getName() ); name = "EBLT laser L3 amplitude over PN summary"; meLaserL3AmplOverPN_ = dqmStore_->bookProfile(name, name, 36, 1, 37, 4096, 0., 4096.*12., "s"); for (int i = 0; i < 36; i++) { meLaserL3AmplOverPN_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } } if ( find(laserWavelengths_.begin(), laserWavelengths_.end(), 4) != laserWavelengths_.end() ) { if ( meLaserL4_ ) dqmStore_->removeElement( meLaserL4_->getName() ); name = "EBLT laser quality summary L4"; meLaserL4_ = dqmStore_->book2D(name, name, 360, 0., 360., 170, -85., 85.); meLaserL4_->setAxisTitle("jphi", 1); meLaserL4_->setAxisTitle("jeta", 2); if ( meLaserL4Err_ ) dqmStore_->removeElement( meLaserL4Err_->getName() ); name = "EBLT laser quality errors summary L4"; meLaserL4Err_ = dqmStore_->book1D(name, name, 36, 1, 37); for (int i = 0; i < 36; i++) { meLaserL4Err_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } if ( meLaserL4PN_ ) dqmStore_->removeElement( meLaserL4PN_->getName() ); name = "EBLT PN laser quality summary L4"; meLaserL4PN_ = dqmStore_->book2D(name, name, 90, 0., 90., 20, -10., 10.); meLaserL4PN_->setAxisTitle("jchannel", 1); meLaserL4PN_->setAxisTitle("jpseudo-strip", 2); if ( meLaserL4PNErr_ ) dqmStore_->removeElement( meLaserL4PNErr_->getName() ); name = "EBLT PN laser quality errors summary L4"; meLaserL4PNErr_ = dqmStore_->book1D(name, name, 36, 1, 37); for (int i = 0; i < 36; i++) { meLaserL4PNErr_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } if ( meLaserL4Ampl_ ) dqmStore_->removeElement( meLaserL4Ampl_->getName() ); name = "EBLT laser L4 amplitude summary"; meLaserL4Ampl_ = dqmStore_->bookProfile(name, name, 36, 1, 37, 4096, 0., 4096., "s"); for (int i = 0; i < 36; i++) { meLaserL4Ampl_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } if ( meLaserL4Timing_ ) dqmStore_->removeElement( meLaserL4Timing_->getName() ); name = "EBLT laser L4 timing summary"; meLaserL4Timing_ = dqmStore_->bookProfile(name, name, 36, 1, 37, 100, 0., 10., "s"); for (int i = 0; i < 36; i++) { meLaserL4Timing_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } if ( meLaserL4AmplOverPN_ ) dqmStore_->removeElement( meLaserL4AmplOverPN_->getName() ); name = "EBLT laser L4 amplitude over PN summary"; meLaserL4AmplOverPN_ = dqmStore_->bookProfile(name, name, 36, 1, 37, 4096, 0., 4096.*12., "s"); for (int i = 0; i < 36; i++) { meLaserL4AmplOverPN_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } } } if(pedestalClient){ if (find(MGPAGains_.begin(), MGPAGains_.end(), 1) != MGPAGains_.end() ) { if( mePedestalG01_ ) dqmStore_->removeElement( mePedestalG01_->getName() ); name = "EBPT pedestal quality G01 summary"; mePedestalG01_ = dqmStore_->book2D(name, name, 360, 0., 360., 170, -85., 85.); mePedestalG01_->setAxisTitle("jphi", 1); mePedestalG01_->setAxisTitle("jeta", 2); } if (find(MGPAGains_.begin(), MGPAGains_.end(), 6) != MGPAGains_.end() ) { if( mePedestalG06_ ) dqmStore_->removeElement( mePedestalG06_->getName() ); name = "EBPT pedestal quality G06 summary"; mePedestalG06_ = dqmStore_->book2D(name, name, 360, 0., 360., 170, -85., 85.); mePedestalG06_->setAxisTitle("jphi", 1); mePedestalG06_->setAxisTitle("jeta", 2); } if (find(MGPAGains_.begin(), MGPAGains_.end(), 12) != MGPAGains_.end() ) { if( mePedestalG12_ ) dqmStore_->removeElement( mePedestalG12_->getName() ); name = "EBPT pedestal quality G12 summary"; mePedestalG12_ = dqmStore_->book2D(name, name, 360, 0., 360., 170, -85., 85.); mePedestalG12_->setAxisTitle("jphi", 1); mePedestalG12_->setAxisTitle("jeta", 2); } if (find(MGPAGainsPN_.begin(), MGPAGainsPN_.end(), 1) != MGPAGainsPN_.end() ) { if( mePedestalPNG01_ ) dqmStore_->removeElement( mePedestalPNG01_->getName() ); name = "EBPT PN pedestal quality G01 summary"; mePedestalPNG01_ = dqmStore_->book2D(name, name, 90, 0., 90., 20, -10, 10.); mePedestalPNG01_->setAxisTitle("jchannel", 1); mePedestalPNG01_->setAxisTitle("jpseudo-strip", 2); } if (find(MGPAGainsPN_.begin(), MGPAGainsPN_.end(), 16) != MGPAGainsPN_.end() ) { if( mePedestalPNG16_ ) dqmStore_->removeElement( mePedestalPNG16_->getName() ); name = "EBPT PN pedestal quality G16 summary"; mePedestalPNG16_ = dqmStore_->book2D(name, name, 90, 0., 90., 20, -10, 10.); mePedestalPNG16_->setAxisTitle("jchannel", 1); mePedestalPNG16_->setAxisTitle("jpseudo-strip", 2); } } if(testPulseClient){ if (find(MGPAGains_.begin(), MGPAGains_.end(), 1) != MGPAGains_.end() ) { if( meTestPulseG01_ ) dqmStore_->removeElement( meTestPulseG01_->getName() ); name = "EBTPT test pulse quality G01 summary"; meTestPulseG01_ = dqmStore_->book2D(name, name, 360, 0., 360., 170, -85., 85.); meTestPulseG01_->setAxisTitle("jphi", 1); meTestPulseG01_->setAxisTitle("jeta", 2); } if (find(MGPAGains_.begin(), MGPAGains_.end(), 6) != MGPAGains_.end() ) { if( meTestPulseG06_ ) dqmStore_->removeElement( meTestPulseG06_->getName() ); name = "EBTPT test pulse quality G06 summary"; meTestPulseG06_ = dqmStore_->book2D(name, name, 360, 0., 360., 170, -85., 85.); meTestPulseG06_->setAxisTitle("jphi", 1); meTestPulseG06_->setAxisTitle("jeta", 2); } if (find(MGPAGains_.begin(), MGPAGains_.end(), 12) != MGPAGains_.end() ) { if( meTestPulseG12_ ) dqmStore_->removeElement( meTestPulseG12_->getName() ); name = "EBTPT test pulse quality G12 summary"; meTestPulseG12_ = dqmStore_->book2D(name, name, 360, 0., 360., 170, -85., 85.); meTestPulseG12_->setAxisTitle("jphi", 1); meTestPulseG12_->setAxisTitle("jeta", 2); } if (find(MGPAGainsPN_.begin(), MGPAGainsPN_.end(), 1) != MGPAGainsPN_.end() ) { if( meTestPulsePNG01_ ) dqmStore_->removeElement( meTestPulsePNG01_->getName() ); name = "EBTPT PN test pulse quality G01 summary"; meTestPulsePNG01_ = dqmStore_->book2D(name, name, 90, 0., 90., 20, -10., 10.); meTestPulsePNG01_->setAxisTitle("jchannel", 1); meTestPulsePNG01_->setAxisTitle("jpseudo-strip", 2); } if (find(MGPAGainsPN_.begin(), MGPAGainsPN_.end(), 16) != MGPAGainsPN_.end() ) { if( meTestPulsePNG16_ ) dqmStore_->removeElement( meTestPulsePNG16_->getName() ); name = "EBTPT PN test pulse quality G16 summary"; meTestPulsePNG16_ = dqmStore_->book2D(name, name, 90, 0., 90., 20, -10., 10.); meTestPulsePNG16_->setAxisTitle("jchannel", 1); meTestPulsePNG16_->setAxisTitle("jpseudo-strip", 2); } if (find(MGPAGains_.begin(), MGPAGains_.end(), 1) != MGPAGains_.end() ) { if( meTestPulseAmplG01_ ) dqmStore_->removeElement( meTestPulseAmplG01_->getName() ); name = "EBTPT test pulse amplitude G01 summary"; meTestPulseAmplG01_ = dqmStore_->bookProfile(name, name, 36, 1, 37, 4096, 0., 4096.*12., "s"); for (int i = 0; i < 36; i++) { meTestPulseAmplG01_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } } if (find(MGPAGains_.begin(), MGPAGains_.end(), 6) != MGPAGains_.end() ) { if( meTestPulseAmplG06_ ) dqmStore_->removeElement( meTestPulseAmplG06_->getName() ); name = "EBTPT test pulse amplitude G06 summary"; meTestPulseAmplG06_ = dqmStore_->bookProfile(name, name, 36, 1, 37, 4096, 0., 4096.*12., "s"); for (int i = 0; i < 36; i++) { meTestPulseAmplG06_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } } if (find(MGPAGains_.begin(), MGPAGains_.end(), 12) != MGPAGains_.end() ) { if( meTestPulseAmplG12_ ) dqmStore_->removeElement( meTestPulseAmplG12_->getName() ); name = "EBTPT test pulse amplitude G12 summary"; meTestPulseAmplG12_ = dqmStore_->bookProfile(name, name, 36, 1, 37, 4096, 0., 4096.*12., "s"); for (int i = 0; i < 36; i++) { meTestPulseAmplG12_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } } } if(timingClient){ if( meTiming_ ) dqmStore_->removeElement( meTiming_->getName() ); name = "EBTMT timing quality summary"; meTiming_ = dqmStore_->book2D(name, name, 72, 0., 360., 34, -85., 85.); meTiming_->setAxisTitle("jphi", 1); meTiming_->setAxisTitle("jeta", 2); if( meTimingMean1D_ ) dqmStore_->removeElement( meTimingMean1D_->getName() ); name = "EBTMT timing mean 1D summary"; meTimingMean1D_ = dqmStore_->book1D(name, name, 100, -25., 25.); meTimingMean1D_->setAxisTitle("mean (ns)", 1); if( meTimingRMS1D_ ) dqmStore_->removeElement( meTimingRMS1D_->getName() ); name = "EBTMT timing rms 1D summary"; meTimingRMS1D_ = dqmStore_->book1D(name, name, 100, 0.0, 10.0); meTimingRMS1D_->setAxisTitle("rms (ns)", 1); if ( meTimingMean_ ) dqmStore_->removeElement( meTimingMean_->getName() ); name = "EBTMT timing mean"; meTimingMean_ = dqmStore_->bookProfile(name, name, 36, 1, 37, -20., 20.,""); for (int i = 0; i < 36; i++) { meTimingMean_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } meTimingMean_->setAxisTitle("mean (ns)", 2); if ( meTimingRMS_ ) dqmStore_->removeElement( meTimingRMS_->getName() ); name = "EBTMT timing rms"; meTimingRMS_ = dqmStore_->bookProfile(name, name, 36, 1, 37, 100, 0., 10.,""); for (int i = 0; i < 36; i++) { meTimingRMS_->setBinLabel(i+1, Numbers::sEB(i+1).c_str(), 1); } meTimingRMS_->setAxisTitle("rms (ns)", 2); } if(triggerTowerClient){ if( meTriggerTowerEt_ ) dqmStore_->removeElement( meTriggerTowerEt_->getName() ); name = "EBTTT Et trigger tower summary"; meTriggerTowerEt_ = dqmStore_->book2D(name, name, 72, 0., 72., 34, -17., 17.); meTriggerTowerEt_->setAxisTitle("jphi'", 1); meTriggerTowerEt_->setAxisTitle("jeta'", 2); meTriggerTowerEt_->setAxisTitle("Et (GeV)", 3); if( meTriggerTowerEmulError_ ) dqmStore_->removeElement( meTriggerTowerEmulError_->getName() ); name = "EBTTT emulator error quality summary"; meTriggerTowerEmulError_ = dqmStore_->book2D(name, name, 72, 0., 72., 34, -17., 17.); meTriggerTowerEmulError_->setAxisTitle("jphi'", 1); meTriggerTowerEmulError_->setAxisTitle("jeta'", 2); if( meTriggerTowerTiming_ ) dqmStore_->removeElement( meTriggerTowerTiming_->getName() ); name = "EBTTT Trigger Primitives Timing summary"; meTriggerTowerTiming_ = dqmStore_->book2D(name, name, 72, 0., 72., 34, -17., 17.); meTriggerTowerTiming_->setAxisTitle("jphi'", 1); meTriggerTowerTiming_->setAxisTitle("jeta'", 2); meTriggerTowerTiming_->setAxisTitle("TP data matching emulator", 3); if( meTriggerTowerNonSingleTiming_ ) dqmStore_->removeElement( meTriggerTowerNonSingleTiming_->getName() ); name = "EBTTT Trigger Primitives Non Single Timing summary"; meTriggerTowerNonSingleTiming_ = dqmStore_->book2D(name, name, 72, 0., 72., 34, -17., 17.); meTriggerTowerNonSingleTiming_->setAxisTitle("jphi'", 1); meTriggerTowerNonSingleTiming_->setAxisTitle("jeta'", 2); meTriggerTowerNonSingleTiming_->setAxisTitle("fraction", 3); } if(meIntegrity_ && mePedestalOnline_ && meStatusFlags_ && (reducedReports_ || (meTiming_ && meTriggerTowerEmulError_))){ if( meGlobalSummary_ ) dqmStore_->removeElement( meGlobalSummary_->getName() ); name = "EB global summary"; meGlobalSummary_ = dqmStore_->book2D(name, name, 360, 0., 360., 170, -85., 85.); meGlobalSummary_->setAxisTitle("jphi", 1); meGlobalSummary_->setAxisTitle("jeta", 2); if(meSummaryErr_) dqmStore_->removeElement(meSummaryErr_->getName()); name = "EB global summary errors"; meSummaryErr_ = dqmStore_->book1D(name, name, 1, 0., 1.); } }
std::vector<EBClient*> EBSummaryClient::clients_ [private] |
Definition at line 101 of file EBSummaryClient.h.
Referenced by analyze(), setFriends(), and setup().
bool EBSummaryClient::cloneME_ [private] |
Definition at line 81 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), and EBSummaryClient().
bool EBSummaryClient::debug_ [private] |
Definition at line 84 of file EBSummaryClient.h.
Referenced by analyze(), beginJob(), beginRun(), EBSummaryClient(), endJob(), and endRun().
DQMStore* EBSummaryClient::dqmStore_ [private] |
Definition at line 103 of file EBSummaryClient.h.
Referenced by analyze(), beginJob(), cleanup(), and setup().
bool EBSummaryClient::enableCleanup_ [private] |
Definition at line 90 of file EBSummaryClient.h.
Referenced by cleanup(), and EBSummaryClient().
TProfile2D* EBSummaryClient::hot01_[36] [private] |
Definition at line 175 of file EBSummaryClient.h.
Referenced by analyze().
TProfile2D* EBSummaryClient::hpot01_[36] [private] |
Definition at line 176 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), and EBSummaryClient().
TProfile2D* EBSummaryClient::htmt01_[36] [private] |
Definition at line 178 of file EBSummaryClient.h.
Referenced by analyze(), and EBSummaryClient().
TProfile2D* EBSummaryClient::httt01_[36] [private] |
Definition at line 177 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), and EBSummaryClient().
int EBSummaryClient::ievt_ [private] |
Definition at line 76 of file EBSummaryClient.h.
Referenced by analyze(), beginJob(), endJob(), and getEvtPerJob().
int EBSummaryClient::jevt_ [private] |
Definition at line 77 of file EBSummaryClient.h.
Referenced by analyze(), beginJob(), beginRun(), endRun(), and getEvtPerRun().
std::vector<int> EBSummaryClient::laserWavelengths_ [private] |
Definition at line 97 of file EBSummaryClient.h.
Referenced by analyze(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meGlobalSummary_ [private] |
Definition at line 171 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meIntegrity_ [private] |
Definition at line 105 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meIntegrityErr_ [private] |
Definition at line 107 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meIntegrityPN_ [private] |
Definition at line 106 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL1_ [private] |
Definition at line 118 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL1Ampl_ [private] |
Definition at line 120 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
Definition at line 122 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL1Err_ [private] |
Definition at line 119 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL1PN_ [private] |
Definition at line 123 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL1PNErr_ [private] |
Definition at line 124 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL1Timing_ [private] |
Definition at line 121 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL2_ [private] |
Definition at line 125 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL2Ampl_ [private] |
Definition at line 127 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
Definition at line 129 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL2Err_ [private] |
Definition at line 126 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL2PN_ [private] |
Definition at line 130 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL2PNErr_ [private] |
Definition at line 131 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL2Timing_ [private] |
Definition at line 128 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL3_ [private] |
Definition at line 132 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL3Ampl_ [private] |
Definition at line 134 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
Definition at line 136 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL3Err_ [private] |
Definition at line 133 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL3PN_ [private] |
Definition at line 137 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL3PNErr_ [private] |
Definition at line 138 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL3Timing_ [private] |
Definition at line 135 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL4_ [private] |
Definition at line 139 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL4Ampl_ [private] |
Definition at line 141 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
Definition at line 143 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL4Err_ [private] |
Definition at line 140 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL4PN_ [private] |
Definition at line 144 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL4PNErr_ [private] |
Definition at line 145 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meLaserL4Timing_ [private] |
Definition at line 142 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meOccupancy1D_ [private] |
Definition at line 112 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meOccupancy_ [private] |
Definition at line 110 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meOccupancyPN_ [private] |
Definition at line 111 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::mePedestalG01_ [private] |
Definition at line 146 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::mePedestalG06_ [private] |
Definition at line 147 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::mePedestalG12_ [private] |
Definition at line 148 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::mePedestalOnline_ [private] |
Definition at line 113 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
Definition at line 114 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
Definition at line 115 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
Definition at line 116 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
Definition at line 117 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::mePedestalPNG01_ [private] |
Definition at line 149 of file EBSummaryClient.h.
Referenced by analyze(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::mePedestalPNG16_ [private] |
Definition at line 150 of file EBSummaryClient.h.
Referenced by analyze(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meRecHitEnergy_ [private] |
Definition at line 160 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meStatusFlags_ [private] |
Definition at line 108 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meStatusFlagsErr_ [private] |
Definition at line 109 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meSummaryErr_ [private] |
Definition at line 173 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
Definition at line 156 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
Definition at line 157 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
Definition at line 158 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meTestPulseG01_ [private] |
Definition at line 151 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meTestPulseG06_ [private] |
Definition at line 152 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meTestPulseG12_ [private] |
Definition at line 153 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meTestPulsePNG01_ [private] |
Definition at line 154 of file EBSummaryClient.h.
Referenced by analyze(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meTestPulsePNG16_ [private] |
Definition at line 155 of file EBSummaryClient.h.
Referenced by analyze(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meTiming_ [private] |
Definition at line 161 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meTimingMean1D_ [private] |
Definition at line 162 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meTimingMean_ [private] |
Definition at line 164 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meTimingRMS1D_ [private] |
Definition at line 163 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meTimingRMS_ [private] |
Definition at line 165 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
Definition at line 167 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
MonitorElement* EBSummaryClient::meTriggerTowerEt_ [private] |
Definition at line 166 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
Definition at line 169 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
Definition at line 168 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
std::vector<int> EBSummaryClient::MGPAGains_ [private] |
Definition at line 98 of file EBSummaryClient.h.
Referenced by EBSummaryClient(), and setup().
std::vector<int> EBSummaryClient::MGPAGainsPN_ [private] |
Definition at line 99 of file EBSummaryClient.h.
Referenced by EBSummaryClient(), and setup().
TH1F* EBSummaryClient::norm01_ [private] |
Definition at line 179 of file EBSummaryClient.h.
Referenced by analyze().
std::string EBSummaryClient::prefixME_ [private] |
Definition at line 86 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), EBSummaryClient(), and setup().
bool EBSummaryClient::produceReports_ [private] |
Definition at line 92 of file EBSummaryClient.h.
Referenced by analyze(), EBSummaryClient(), and setup().
bool EBSummaryClient::reducedReports_ [private] |
Definition at line 94 of file EBSummaryClient.h.
Referenced by analyze(), EBSummaryClient(), and setup().
std::string EBSummaryClient::subfolder_ [private] |
Definition at line 88 of file EBSummaryClient.h.
Referenced by analyze(), and EBSummaryClient().
std::vector<int> EBSummaryClient::superModules_ [private] |
Definition at line 96 of file EBSummaryClient.h.
Referenced by analyze(), cleanup(), and EBSummaryClient().
TH1F * EBSummaryClient::synch01_ [private] |
Definition at line 179 of file EBSummaryClient.h.
Referenced by analyze().
float EBSummaryClient::synchErrorThreshold_ [private] |
Definition at line 79 of file EBSummaryClient.h.
Referenced by analyze(), and EBSummaryClient().
int EBSummaryClient::timingNHitThreshold_ [private] |
Definition at line 181 of file EBSummaryClient.h.
Referenced by analyze(), and EBSummaryClient().
bool EBSummaryClient::verbose_ [private] |
Definition at line 83 of file EBSummaryClient.h.
Referenced by EBSummaryClient().