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);