15 edm::LogError(
"WrongConfiguration") <<
"Wrong configuration of TrackerGeometricDetESModule. Vector of "
16 << detidShifts.size() <<
" elements provided";
25 LogDebug(
"BuildingTrackerDetId") <<
"Starting to build Tracker DetIds";
33 std::bitset<32> binary_ID(ID);
36 uint32_t mask = (7 << 25);
37 uint32_t iSubDet = ID & mask;
38 iSubDet = iSubDet >> 25;
50 temp |= (iSubDet << 25);
58 negside = component->
components().front()->translation().z() <
61 <<
"Is negative endcap? " << negside <<
", because z translation is " << component->
translation().z()
62 <<
" and component z translation is " << component->
components().front()->translation().z();
86 component->setGeographicalID(temp);
CmsTrackerDetIdBuilder(const std::vector< int > &detidShifts)
static const unsigned int nSubDet
void iterate(GeometricDet &det, int level, unsigned int ID)
constexpr uint32_t rawId() const
get the raw id
void setGeographicalID(DetId id)
static const int maxLevels
ConstGeometricDetContainer & components()
void buildId(GeometricDet &det)
Abs< T >::type abs(const T &t)
GeometricDet * component(size_t index)
const DetId & geographicalId() const
const Translation & translation() const
std::array< int, nSubDet *maxLevels > m_detidshifts