28 std::bitset<32> binary_ID(ID);
31 uint32_t mask = (7<<25);
32 uint32_t iSubDet = ID & mask;
33 iSubDet = iSubDet >> 25;
43 uint32_t jSubDet = ((
in)->
components())[
i]->geographicalID().rawId();
45 temp |= (jSubDet<<25);
54 if( ((in)->components())[
i]->translation().z()<0. ) {
66 if( (((in)->components())[
i])->components()[0]->translation().z()<0. ) {
78 if( ((in)->components())[
i]->translation().z()<0. ) {
114 temp |= (((
in)->
components())[
i]->geographicalID().rawId()<<16);
121 temp |= (((
in)->
components())[
i]->geographicalID().rawId()<<16);
128 temp |= (((
in)->
components())[
i]->geographicalID().rawId()<<14);
135 temp |= (((
in)->
components())[
i]->geographicalID().rawId()<<11);
142 temp |= (((
in)->
components())[
i]->geographicalID().rawId()<<14);
149 temp |= (((
in)->
components())[
i]->geographicalID().rawId()<<14);
183 temp |= (((
in)->
components())[
i]->geographicalID().rawId()<<8);
193 temp |= (((
in)->
components())[
i]->geographicalID().rawId()<<8);
203 temp |= (((
in)->
components())[
i]->geographicalID().rawId()<<4);
213 temp |= (((
in)->
components())[
i]->geographicalID().rawId()<<9);
223 temp |= (((
in)->
components())[
i]->geographicalID().rawId()<<5);
233 temp |= (((
in)->
components())[
i]->geographicalID().rawId()<<8);
266 temp |= (((
in)->
components())[
i]->geographicalID().rawId()<<5);
275 temp |= (((
in)->
components())[
i]->geographicalID().rawId()<<2);
303 temp |= (((
in)->
components())[
i]->geographicalID().rawId()<<2);
void setGeographicalID(DetId id) const
DetId geographicalID() const
uint32_t rawId() const
get the raw id
void iterate(GeometricDet const *, int, unsigned int)
GeometricDet * buildId(GeometricDet *)