38 if ( verbose )
std::cout <<
"Initializing EcalDQMChannelStatus and EcalDQMTowerStatus ..." << std::endl;
42 if ( setup.
find( edm::eventsetup::EventSetupRecordKey::makeKey<EcalDQMChannelStatusRcd>() ) ) {
48 if ( setup.
find( edm::eventsetup::EventSetupRecordKey::makeKey<EcalDQMTowerStatusRcd>() ) ) {
54 if ( verbose )
std::cout <<
"done." << std::endl;
67 int ic = 20*(i1-1)+(i2-1)+1;
70 if ( Masks::channelStatus ) {
72 if ( it != Masks::channelStatus->
end() ) mask |= it->getStatusCode() &
bits;
74 if ( Masks::towerStatus ) {
76 if ( it != Masks::towerStatus->
end() ) mask |= it->getStatusCode() &
bits;
84 if (
ism >= 1 &&
ism <= 9 ) jx = 101 - jx;
88 if ( Masks::channelStatus ) {
90 if ( it != Masks::channelStatus->
end() ) mask |= it->getStatusCode() &
bits;
92 if ( Masks::towerStatus ) {
94 if ( it != Masks::towerStatus->
end() ) mask |= it->getStatusCode() &
bits;
100 std::ostringstream
s;
101 s <<
"Invalid subdetector: subdet = " << subdet;
198 std::ostringstream
s;
199 s <<
"Invalid subdetector: subdet = " << subdet;
static const int LED_MEAN_ERROR
static bool validEE(const unsigned ism, const unsigned ix, const unsigned iy)
static const int LASER_MEAN_ERROR
static bool maskChannel(int ism, int i1, int i2, uint32_t bits, const EcalSubdetector subdet)
Some "id" conversions.
static const EcalDQMTowerStatus * towerStatus
static const int PEDESTAL_HIGH_GAIN_MEAN_ERROR
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
static const int TT_SIZE_ERROR
static int ix0EE(const unsigned ism)
const_iterator find(uint32_t rawId) const
static bool maskPn(int ism, int i1, uint32_t bits, const EcalSubdetector subdet)
static int iy0EE(const unsigned ism)
static const int STATUS_FLAG_ERROR
const eventsetup::EventSetupRecord * find(const eventsetup::EventSetupRecordKey &) const
static void initMasking(const edm::EventSetup &setup, bool verbose=false)
static const int PEDESTAL_LOW_GAIN_MEAN_ERROR
std::vector< Item >::const_iterator const_iterator
T const * product() const
static unsigned iSM(const unsigned ism, const EcalSubdetector subdet)
static const EcalDQMChannelStatus * channelStatus
const_iterator find(uint32_t rawId) const
std::vector< Item >::const_iterator const_iterator
static const int TESTPULSE_HIGH_GAIN_MEAN_ERROR
static const int SMCRYSTALMODE
int ism(int ieta, int iphi)
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")