21 theCmsMTDModuleBuilder.
build(fv,subdet,side);
39 for(uint32_t
i=0;
i<comp.size();
i++){
42 rods.emplace_back(component);
51 uint32_t totalrods = rods.size();
53 LogTrace(
"DetConstruction") <<
" Rods ordered by phi: ";
54 for ( uint32_t rod = 0; rod < totalrods; rod++) {
55 uint32_t
temp = rod+1;
57 rods[rod]->setGeographicalID(
DetId(temp));
58 LogTrace(
"BuildingMTDDetId") <<
"\t\t\t DetId >> " << temp <<
"(r: " <<
sqrt(rods[rod]->translation().Perp2()) <<
", phi: " << rods[rod]->phi() <<
", z: " << rods[rod]->translation().z() <<
")";
std::vector< GeometricTimingDet * > GeometricTimingDetContainer
GeometricTimingDet::GeometricTimingEnumType type(std::string const &) const
const DDLogicalPart & logicalPart() const
The logical-part of the current node in the filtered-view.
void sortNS(DDFilteredView &, GeometricTimingDet *) override
CmsMTDStringToEnum theCmsMTDStringToEnum
static double getPhi(const GeometricTimingDet *a)
void MTDStablePhiSort(RandomAccessIterator begin, RandomAccessIterator end, const Extractor &extr)
void addComponents(GeometricTimingDetContainer const &cont)
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 *)
const std::string fullname() const
GeometricTimingDet * component(size_t index)
void build(DDFilteredView &, GeometricTimingDet *, std::string) override
void buildComponent(DDFilteredView &, GeometricTimingDet *, std::string) override
std::vector< GeometricTimingDet const * > ConstGeometricTimingDetContainer