Go to the documentation of this file.
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);
ConstGeometricDetContainer & components()
void trackerStablePhiSort(RandomAccessIterator begin, RandomAccessIterator end, const Extractor &extr)
const Translation & translation() const
static double getPhiGluedModule(const GeometricDet *a)
static double getPhi(const GeometricDet *a)
void buildComponent(FilteredView &, GeometricDet *, const std::string &) override
void setGeographicalID(DetId id)
static double getPhiMirror(const GeometricDet *a)
static double getPhiGluedModuleMirror(const GeometricDet *a)
void addComponents(GeometricDetContainer const &cont)
Log< level::Error, false > LogError
void sortNS(FilteredView &, GeometricDet *) override
GeometricDet * component(size_t index)
std::vector< GeometricDet const * > ConstGeometricDetContainer
void buildComponent(FilteredView &, GeometricDet *, const std::string &) override
std::vector< GeometricDet * > GeometricDetContainer
Abs< T >::type abs(const T &t)
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