16 template <
class FilteredView>
26 theCmsTrackerPanelBuilder.
build(fv, subdet,
s);
32 g->addComponent(subdet);
35 template <
class FilteredView>
45 <<
"ERROR - wrong SubDet to sort..... " << det->
components().front()->type();
51 uint32_t totalblade =
comp.size() / 2;
54 zminpanels.reserve(totalblade);
55 zmaxpanels.reserve(totalblade);
56 for (uint32_t
j = 0;
j < totalblade;
j++) {
58 zmaxpanels.emplace_back(det->
component(2 *
j));
59 zminpanels.emplace_back(det->
component(2 *
j + 1));
62 zmaxpanels.emplace_back(det->
component(2 *
j + 1));
63 zminpanels.emplace_back(det->
component(2 *
j));
65 edm::LogWarning(
"CmsTrackerDiskBuilder") <<
"WARNING - The Z of both panels are equal! ";
69 for (uint32_t
fn = 0;
fn < zminpanels.size();
fn++) {
70 uint32_t blade =
fn + 1;
72 uint32_t
temp = (blade << 2) | panel;
73 zminpanels[
fn]->setGeographicalID(
temp);
76 for (uint32_t bn = 0; bn < zmaxpanels.size(); bn++) {
77 uint32_t blade = bn + 1;
79 uint32_t
temp = (blade << 2) | panel;
80 zmaxpanels[bn]->setGeographicalID(
temp);
std::vector< GeometricDet * > GeometricDetContainer
void buildComponent(FilteredView &, GeometricDet *, const std::string &) override
Log< level::Error, false > LogError
void build(FilteredView &, GeometricDet *, const std::string &) 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
ConstGeometricDetContainer & components()
Abs< T >::type abs(const T &t)
GeometricDet * component(size_t index)
std::vector< GeometricDet const * > ConstGeometricDetContainer
void trackerStablePhiSort(RandomAccessIterator begin, RandomAccessIterator end, const Extractor &extr)
void sortNS(FilteredView &, GeometricDet *) override
void addComponents(GeometricDetContainer const &cont)
Log< level::Warning, false > LogWarning
static double getPhi(const GeometricDet *a)