14 template <
class FilteredView>
20 template <
class FilteredView>
27 switch (comp.front()->type()) {
36 <<
"ERROR - wrong SubDet to sort..... " << det->
components().front()->type();
40 static std::string const TECGluedDet(
"TECGluedDet");
47 if (pname == TECGluedDet || pname == TECDet) {
49 if (det->
translation().z() < 0 && pname == TECDet) {
53 if (det->
translation().z() < 0 && pname == TECGluedDet) {
57 for (uint32_t
i = 0;
i < comp.size();
i++)
65 for (uint32_t
i = 0;
i < comp.size();
i++) {
73 for (uint32_t
i = 0;
i < compbw.size();
i++) {
74 uint32_t
temp =
i + 1;
76 compbw[
i]->setGeographicalID(temp);
79 for (uint32_t
i = 0;
i < compfw.size();
i++) {
80 uint32_t
temp =
i + 1;
82 compfw[
i]->setGeographicalID(temp);
std::vector< GeometricDet * > GeometricDetContainer
void setGeographicalID(DetId id)
static double getPhiMirror(const GeometricDet *a)
Translation const & translation() const
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
ConstGeometricDetContainer & components()
Abs< T >::type abs(const T &t)
static double getPhiGluedModuleMirror(const GeometricDet *a)
GeometricDet * component(size_t index)
std::vector< GeometricDet const * > ConstGeometricDetContainer
void buildComponent(FilteredView &, GeometricDet *, const std::string &) override
void trackerStablePhiSort(RandomAccessIterator begin, RandomAccessIterator end, const Extractor &extr)
void sortNS(FilteredView &, GeometricDet *) override
void addComponents(GeometricDetContainer const &cont)
static double getPhiGluedModule(const GeometricDet *a)
void buildComponent(FilteredView &, GeometricDet *, const std::string &) override
static double getPhi(const GeometricDet *a)