35 if ( verbose )
std::cout <<
"Initializing EcalDQMChannelStatus and EcalDQMTowerStatus ..." << std::endl;
39 if ( setup.
find( edm::eventsetup::EventSetupRecordKey::makeKey<EcalDQMChannelStatusRcd>() ) ) {
45 if ( setup.
find( edm::eventsetup::EventSetupRecordKey::makeKey<EcalDQMTowerStatusRcd>() ) ) {
51 if ( verbose )
std::cout <<
"done." << std::endl;
64 int ic = 20*(i1-1)+(i2-1)+1;
67 if ( Masks::channelStatus ) {
69 if ( it != Masks::channelStatus->
end() ) mask |= it->getStatusCode() &
bits;
71 if ( Masks::towerStatus ) {
73 if ( it != Masks::towerStatus->
end() ) mask |= it->getStatusCode() &
bits;
81 if (
ism >= 1 &&
ism <= 9 ) jx = 101 - jx;
85 if ( Masks::channelStatus ) {
87 if ( it != Masks::channelStatus->
end() ) mask |= it->getStatusCode() &
bits;
89 if ( Masks::towerStatus ) {
91 if ( it != Masks::towerStatus->
end() ) mask |= it->getStatusCode() &
bits;
98 s <<
"Invalid subdetector: subdet = " << subdet;
195 std::ostringstream
s;
196 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="")