42 buildDetGeomDesc(&fv, tracker);
67 throw cms::Exception(
"DDDTotemRPContruction") <<
"size of copyNumbers for RP_Silicon_Detector is " 68 << cN.size() <<
". It must be >= 3." << endl;
71 const unsigned int A = cN[cN.size() - 3];
72 const unsigned int arm = A / 100;
73 const unsigned int station = (A % 100) / 10;
74 const unsigned int rp = A % 10;
75 const unsigned int detector = cN[cN.size() - 1];
81 const uint32_t decRPId = fv->
copyno();
82 const uint32_t armIdx = (decRPId / 100) % 10;
83 const uint32_t stIdx = (decRPId / 10) % 10;
84 const uint32_t rpIdx = decRPId % 10;
92 const unsigned int id = copy_num[copy_num.size()-1],
104 buildDetGeomDesc(fv, newGD);
Detector ID class for TOTEM Si strip detectors.
void buildDetGeomDesc(DDFilteredView *fv, DetGeomDesc *gd)
bool parent()
set the current node to the parent node ...
const DDLogicalPart & logicalPart() const
The logical-part of the current node in the filtered-view.
nav_type copyNumbers() const
return the stack of copy numbers
bool nextSibling()
set the current node to the next sibling ...
const char DDD_TOTEM_RP_PRIMARY_VACUUM_NAME[]
DDD name of RP.
type of data representation of DDCompactView
const DetGeomDesc * construct(const DDCompactView *cpv)
int copyno() const
Copy number associated with the current node.
void setGeographicalID(DetId id)
ID stuff.
Geometrical description of a detector.
A DDFilter that always returns true.
const char DDD_CTPPS_DIAMONDS_DETECTOR_NAME[]
bool firstChild()
set the current node to the first child ...
Detector ID class for CTPPS Timing Diamond detectors. Bits [19:31] : Assigend in CTPPSDetId Calss Bit...
const char DDD_TOTEM_RP_DETECTOR_NAME[]
DDD name of RP detector.
void addComponent(DetGeomDesc *)
const std::string & name() const
Returns the name.