13 edm::LogInfo(
"EcalGeom") <<
"Creating EcalEndcapNumberingScheme";
17 edm::LogInfo(
"EcalGeom") <<
"Deleting EcalEndcapNumberingScheme";
22 const uint32_t nLevels ( baseNumber.
getLevels() ) ;
29 edm::LogWarning(
"EcalGeom") <<
"ECalEndcapNumberingScheme::getUnitID(): "
30 <<
"Not enough levels found in EcalBaseNumber ( "
44 edm::LogWarning(
"EcalGeom") <<
"EalEndcaplNumberingScheme::getUnitID: No "
45 <<
"level found in EcalBaseNumber Returning 0";
54 edm::LogWarning(
"EcalGeom") <<
"ECalEndcapNumberingScheme::getUnitID: Null"
55 <<
" pointer to alveole ! Use default id=1";
59 int module_number = MVid;
60 int crystal_number = PVid;
77 const int icx ( ic/10 ) ;
78 const int icy ( ic%5 ) ;
80 const int isx ( is/10 ) ;
81 const int isy ( is%10 ) ;
88 const int ix ( 50 +
id*iz*( 5*isx + icx + 1 ) - (
id*iz - 1 )/2 ) ;
89 const int iy ( 50 +
id*iq*( 5*isy + icy + 1 ) - (
id*iq - 1 )/2 ) ;
100 edm::LogWarning(
"EdalGeom") <<
"ECalEndcapNumberingScheme::getUnitID(): "
101 <<
"****************** Bad crystal number = " << ic
111 edm::LogWarning(
"EdalGeom") <<
"ECalEndcapNumberingScheme::getUnitID(): "
112 <<
"****************** Bad supercrystal number = " << is
120 edm::LogWarning(
"EdalGeom") <<
"ECalEndcapNumberingScheme::getUnitID(): "
121 <<
"****************** Bad quadrant number = " << iq
129 edm::LogWarning(
"EdalGeom") <<
"ECalEndcapNumberingScheme::getUnitID(): "
130 <<
"****************** Bad dee number = " <<
id
138 edm::LogWarning(
"EdalGeom") <<
"ECalEndcapNumberingScheme::getUnitID(): "
139 <<
"****************** Bad z-end number = " << iz
146 edm::LogWarning(
"EdalGeom") <<
"ECalEndcapNumberingScheme::getUnitID(): "
147 <<
"****************** Bad DetId numbers = "
148 << ix <<
", " << iy <<
", " << iz ;
std::string const & getLevelName(int level) const
~EcalEndcapNumberingScheme()
int getCopyNumber(int level) const
EcalEndcapNumberingScheme()
static const int SCCRYSTALMODE
static bool validDetId(int crystal_ix, int crystal_iy, int iz)
uint32_t rawId() const
get the raw id
virtual uint32_t getUnitID(const EcalBaseNumber &baseNumber) const