12 edm::LogInfo(
"MTDGeom") <<
"Creating BTLNumberingScheme";
18 edm::LogInfo(
"MTDGeom") <<
"Deleting BTLNumberingScheme";
24 const uint32_t nLevels ( baseNumber.
getLevels() ) ;
27 edm::LogInfo(
"MTDGeom") <<
"BTLNumberingScheme geometry levels = " << nLevels;
33 <<
"Not enough levels found in MTDBaseNumber ( " 57 uint32_t
pos = modName.find(
"Positive");
59 const uint32_t
zside = ( pos <= strlen(modName.c_str()) ? 1 : 0 );
60 std::string baseName = modName.substr(modName.find(
":")+1);
63 const int modtyp ( ::atoi( (baseName.substr(8,1)).c_str() ) == 9 || ::atoi( (baseName.substr(8,1)).c_str() ) == 5 ?
64 ::atoi( (baseName.substr(7,1)).c_str() ) + 1 : ::atoi( (baseName.substr(7,1)).c_str() ) ) ;
72 <<
"****************** Bad crystal number = " 74 <<
", Volume Number = " 83 <<
"****************** Bad module name = " 94 <<
"****************** Bad module copy = " 96 <<
", Volume Number = " 105 <<
"****************** Bad rod copy = " 107 <<
", Volume Number = " 114 BTLDetId thisBTLdetid( zside, rodCopy, modCopy, modtyp, crystal );
115 const int32_t intindex = thisBTLdetid.
rawId() ;
119 <<
" rod = " << rodCopy
120 <<
" zside = " << zside
121 <<
" module = " << modCopy
122 <<
" modtyp = " << modtyp
123 <<
" crystal = " << crystal
124 <<
" Raw Id = " << intindex
~BTLNumberingScheme() override
constexpr uint32_t rawId() const
get the raw id
uint32_t getUnitID(const MTDBaseNumber &baseNumber) const override
int getCopyNumber(int level) const
Detector identifier class for the Barrel Timing Layer. The crystal count must start from 0...
std::string const & getLevelName(int level) const