17 edm::LogError(
"WrongConfiguration") <<
"Wrong configuration of TrackerGeometricTimingDetESModule. Vector of " 18 << detidShifts.size() <<
" elements provided";
28 LogDebug(
"BuildingTrackerDetId") <<
"Starting to build MTD DetIds";
40 std::bitset<32> binary_ID(ID);
43 uint32_t
mask = (7<<25);
44 uint32_t iSubDet = ID &
mask;
45 iSubDet = iSubDet >> 25;
49 <<
"+" << ID <<
" " << iSubDet <<
" " <<
level;
61 temp |= (iSubDet<<25);
68 LogTrace(
"BuildingTrackerDetId") <<
"Is negative endcap? " << negside
69 <<
", because z translation is " << component->
translation().z()
70 <<
" and component z translation is " << component->
components().front()->translation().z();
99 component->setGeographicalID( temp );
std::array< int, nSubDet *maxLevels > m_detidshifts
CmsMTDDetIdBuilder(std::vector< int > detidShifts)
constexpr uint32_t rawId() const
get the raw id
ConstGeometricTimingDetContainer & components()
void iterate(GeometricTimingDet *det, int level, unsigned int ID)
DDTranslation const & translation() const
GeometricTimingDet * buildId(GeometricTimingDet *det)
GeometricTimingDet * component(size_t index)
Abs< T >::type abs(const T &t)
static const int maxLevels
void setGeographicalID(DetId id)
DetId geographicalID() const
static const unsigned int nSubDet