25 switch(comp.front()->type()) {
34 edm::LogError(
"CmsTrackerRingBuilder")<<
"ERROR - wrong SubDet to sort..... "<<det->
components().front()->type();
37 static std::string
const part(
"TkDDDStructure");
38 static std::string
const TECGluedDet(
"TECGluedDet");
39 static std::string
const TECDet(
"TECDet");
45 if(pname== TECGluedDet || pname == TECDet){
48 if( det->
translation().z() < 0 && pname == TECDet) {
52 if( det->
translation().z() < 0 && pname == TECGluedDet) {
56 for(uint32_t
i=0;
i<comp.size();
i++)
57 comp[
i]->setGeographicalID(
i+1);
64 for(uint32_t
i=0;
i<comp.size();
i++){
65 if(fabs(comp[
i]->translation().
z())<fabs(det->
translation().z())){
66 compfw.push_back(comp[
i]);
68 compbw.push_back(comp[
i]);
72 for(uint32_t
i=0;
i<compbw.size();
i++){
75 compbw[
i]->setGeographicalID(temp);
78 for(uint32_t
i=0;
i<compfw.size();
i++){
81 compfw[
i]->setGeographicalID(temp);
bool parent()
set the current node to the parent node ...
void buildComponent(DDFilteredView &, GeometricDet *, std::string)
virtual void sortNS(DDFilteredView &, 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 buildComponent(DDFilteredView &, GeometricDet *, std::string)
void TrackerStablePhiSort(RandomAccessIterator begin, RandomAccessIterator end, const Extractor &extr)
DDTranslation const & translation() const
GeometricDetContainer & components()
void addComponents(GeometricDetContainer const &cont)
bool firstChild()
set the current node to the first child ...