18 switch (theCmsMTDStringToEnum.type(ringname)) {
20 theCmsMTDETLRingBuilder.
build(fv, subdet, s);
23 throw cms::Exception(
"CmsMTDDiscBuilder") <<
" ERROR - I was expecting a Ring, I got a " << ringname;
35 std::stable_sort(comp.begin(), comp.end(), isLessRModule);
38 edm::LogError(
"CmsMTDDiscBuilder") <<
"ERROR - wrong SubDet to sort..... " << det->
components().front()->type();
42 uint32_t totalrings = comp.size();
44 const uint32_t side = det->
translation().z() > 0 ? 1 : 0;
46 for (uint32_t rn = 0; rn < totalrings; ++rn) {
const DDLogicalPart & logicalPart() const
The logical-part of the current node in the filtered-view.
void sortNS(DDFilteredView &, GeometricTimingDet *) override
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
ConstGeometricTimingDetContainer & components()
void addComponent(GeometricTimingDet *)
GeometricTimingDet * component(size_t index)
void setGeographicalID(DetId id)
void build(DDFilteredView &, GeometricTimingDet *, std::string) override
void buildComponent(DDFilteredView &, GeometricTimingDet *, std::string) override
std::vector< GeometricTimingDet const * > ConstGeometricTimingDetContainer
Detector identifier class for the Endcap Timing Layer.
std::vector< GeometricTimingDet * > GeometricTimingDetContainer
const std::string & name() const
Returns the name.
Translation const & translation() const