67 throw cms::Exception(
"DDDTotemRPContruction") <<
"size of copyNumbers for RP_Silicon_Detector is " << cN.size() <<
". It must be >= 3." << endl;
70 unsigned int A = cN[cN.size() - 3];
71 unsigned int arm = A / 100;
72 unsigned int station = (A % 100) / 10;
73 unsigned int rp = A % 10;
74 unsigned int detector = cN[cN.size() - 1];
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 ...
type of data representation of DDCompactView
const DetGeomDesc * construct(const DDCompactView *cpv)
void setGeographicalID(DetId id)
ID stuff.
Geometrical description of a detector.
bool firstChild()
set the current node to the first child ...
const char DDD_TOTEM_RP_DETECTOR_NAME[]
DDD name of RP detector.
void addComponent(DetGeomDesc *)
const std::string & name() const
Returns the name.