25 switch(comp.front()->type()) {
34 edm::LogError(
"CmsTrackerRingBuilder")<<
"ERROR - wrong SubDet to sort..... "<<det->
components().front()->type();
38 static std::string const TECGluedDet(
"TECGluedDet");
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++)
64 for(uint32_t
i=0;
i<comp.size();
i++){
65 if(fabs(comp[
i]->translation().
z())<fabs(det->
translation().z())){
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 setGeographicalID(DetId id)
void buildComponent(DDFilteredView &, GeometricDet *, std::string)
virtual void sortNS(DDFilteredView &, GeometricDet *)
std::vector< GeometricDet * > GeometricDetContainer
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
virtual void buildComponent(DDFilteredView &, GeometricDet *, std::string)
ConstGeometricDetContainer & components()
void TrackerStablePhiSort(RandomAccessIterator begin, RandomAccessIterator end, const Extractor &extr)
DDTranslation const & translation() const
GeometricDet * component(size_t index)
std::vector< GeometricDet const * > ConstGeometricDetContainer
void addComponents(GeometricDetContainer const &cont)
bool firstChild()
set the current node to the first child ...