17 edm::LogError(
"WrongConfiguration") <<
"Wrong configuration of TrackerGeometricDetESModule. Vector of " 18 << detidShifts.size() <<
" elements provided";
28 LogDebug(
"BuildingTrackerDetId") <<
"Starting to build Tracker 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 );
static const unsigned int nSubDet
constexpr uint32_t rawId() const
get the raw id
void setGeographicalID(DetId id)
static const int maxLevels
GeometricDet * buildId(GeometricDet *det)
DetId geographicalID() const
std::array< int, nSubDet *maxLevels > m_detidshifts
ConstGeometricDetContainer & components()
Abs< T >::type abs(const T &t)
DDTranslation const & translation() const
GeometricDet * component(size_t index)
void iterate(GeometricDet *det, int level, unsigned int ID)
CmsTrackerDetIdBuilder(std::vector< int > detidShifts)