13 : m_layerNumberPXB( layerNumberPXB )
29 std::bitset<32> binary_ID(ID);
32 uint32_t mask = (7<<25);
33 uint32_t iSubDet = ID & mask;
34 iSubDet = iSubDet >> 25;
47 temp |= (jSubDet<<25);
70 if((component)->components()[0]->translation().z()<0. )
128 temp |= (component->geographicalID().rawId() << 16 );
134 temp |= (component->geographicalID().rawId() << 14);
141 temp |= (component->geographicalID().rawId() << 11);
148 temp |= (component->geographicalID().rawId() << 14);
155 temp |= (component->geographicalID().rawId() << 14);
168 component->setGeographicalID( temp );
171 iterate(component,level+1,component->geographicalID().rawId());
189 temp |= (component->geographicalID().rawId()<<8);
190 component->setGeographicalID(temp);
199 temp |= (component->geographicalID().rawId()<<8);
200 component->setGeographicalID(temp);
209 temp |= (component->geographicalID().rawId()<<4);
210 component->setGeographicalID(temp);
219 temp |= (component->geographicalID().rawId()<<9);
220 component->setGeographicalID(
DetId(temp));
229 temp |= (component->geographicalID().rawId()<<5);
230 component->setGeographicalID(temp);
239 temp |= (component->geographicalID().rawId()<<8);
240 component->setGeographicalID(temp);
254 iterate(component,level+1,component->geographicalID().rawId());
273 temp |= (component->geographicalID().rawId()<<5);
274 component->setGeographicalID(temp);
282 temp |= (component->geographicalID().rawId()<<2);
283 component->setGeographicalID(temp);
290 iterate(component,level+1,component->geographicalID().rawId());
311 temp |= (component->geographicalID().rawId()<<2);
314 iterate(component,level+1,component->geographicalID().rawId());
324 temp |= (component->geographicalID().rawId());
344 temp |= (component->geographicalID().rawId());
unsigned int m_layerNumberPXB
void setGeographicalID(DetId id)
GeometricDet * buildId(GeometricDet *det)
DetId geographicalID() const
uint32_t rawId() const
get the raw id
CmsTrackerDetIdBuilder(unsigned int layerNumberPXB)
DDTranslation const & translation() const
GeometricDet * component(size_t index)
void iterate(GeometricDet *det, int level, unsigned int ID)