19 theCmsTrackerPanelBuilder.
build(fv,subdet,s);
36 edm::LogError(
"CmsTrackerDiskBuilder")<<
"ERROR - wrong SubDet to sort..... "<<det->
components().front()->type();
42 uint32_t totalblade = comp.size()/2;
43 if ( totalblade != 24 )
44 edm::LogError(
"CmsTrackerDiskBuilder")<<
"ERROR, The Total Number of Blade in one disk is "<<totalblade;
46 zminpanels.reserve(totalblade);
47 zmaxpanels.reserve(totalblade);
48 for( uint32_t
j=0;
j<totalblade ;
j++)
50 if ( fabs( comp[2*
j]->translation().
z() ) > fabs( comp[ 2*
j +1 ]->translation().
z() ) ) {
51 zmaxpanels.push_back(comp[2*
j] );
52 zminpanels.push_back(comp[2*j+1]);
54 }
else if ( fabs( comp[2*
j]->translation().
z() ) < fabs( comp[ 2*
j +1 ]->translation().
z() ) ) {
55 zmaxpanels.push_back(comp[2*
j+1] );
56 zminpanels.push_back(comp[2*
j]);
59 edm::LogWarning(
"CmsTrackerDiskBuilder")<<
"WARNING - The Z of both panels are equal! ";
64 for ( uint32_t fn=0; fn< zminpanels.size(); fn++) {
65 uint32_t blade = fn+1;
67 uint32_t
temp = (blade<<2) | panel;
68 zminpanels[fn]->setGeographicalID(temp);
71 for (uint32_t bn=0; bn< zmaxpanels.size(); bn++) {
72 uint32_t blade = bn+1;
74 uint32_t
temp = (blade<<2) | panel;
75 zmaxpanels[bn]->setGeographicalID(temp);
virtual void sortNS(DDFilteredView &, GeometricDet *)
void addComponent(GeometricDet *)
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
std::vector< GeometricDet const * > GeometricDetContainer
virtual void build(DDFilteredView &, GeometricDet *, std::string)
void TrackerStablePhiSort(RandomAccessIterator begin, RandomAccessIterator end, const Extractor &extr)
virtual void buildComponent(DDFilteredView &, GeometricDet *, std::string)
GeometricDetContainer & components()
void addComponents(GeometricDetContainer const &cont)
GeometricDet::GeometricEnumType type(std::string const &) const
CmsTrackerStringToEnum theCmsTrackerStringToEnum