15 edm::LogError(
"WrongConfiguration") <<
"Wrong configuration of TrackerGeometricTimingDetESModule. Vector of " 16 << detidShifts.size() <<
" elements provided";
25 LogDebug(
"BuildingTrackerDetId") <<
"Starting to build MTD DetIds";
35 std::bitset<32> binary_ID(ID);
38 uint32_t mask = (7 << 25);
39 uint32_t iSubDet = ID & mask;
40 iSubDet = iSubDet >> 25;
52 temp |= (iSubDet << 25);
60 negside = component->
components().front()->translation().z() <
63 <<
"Is negative endcap? " << negside <<
", because z translation is " << component->
translation().z()
64 <<
" and component z translation is " << component->
components().front()->translation().z();
88 component->setGeographicalID(temp);
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)
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
std::array< int, nSubDet *maxLevels > m_detidshifts
Translation const & translation() const