14 template <
class FilteredView>
22 template <
class FilteredView>
28 switch (comp.front()->type()) {
37 <<
"ERROR - wrong SubDet to sort..... " << det->
components().front()->type();
40 static std::string const TECGluedDet(
"TECGluedDet");
45 if (moduleName_ == TECGluedDet || moduleName_ == TECDet) {
47 if (det->
translation().z() < 0 && moduleName_ == TECDet) {
51 if (det->
translation().z() < 0 && moduleName_ == TECGluedDet) {
55 for (uint32_t
i = 0;
i < comp.size();
i++)
63 for (uint32_t
i = 0;
i < comp.size();
i++) {
71 for (uint32_t
i = 0;
i < compbw.size();
i++) {
72 uint32_t
temp =
i + 1;
74 compbw[
i]->setGeographicalID(temp);
77 for (uint32_t
i = 0;
i < compfw.size();
i++) {
78 uint32_t
temp =
i + 1;
80 compfw[
i]->setGeographicalID(temp);
std::vector< GeometricDet * > GeometricDetContainer
void setGeographicalID(DetId id)
static double getPhiMirror(const GeometricDet *a)
Log< level::Error, false > LogError
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)
const Translation & translation() const
static double getPhiGluedModule(const GeometricDet *a)
void buildComponent(FilteredView &, GeometricDet *, const std::string &) override
static double getPhi(const GeometricDet *a)