24 theCmsTrackerStringBuilder.
build(fv,subdet,s);
27 theCmsTrackerRodBuilder.
build(fv,subdet,s);
30 theCmsTrackerLadderBuilder.
build(fv,subdet,s);
50 float layerRadius = (det->
params()[2]+det->
params()[1])/2.;
65 for(
size_t i = 0;
i< comp.size(); ++
i) {
67 if(component->translation().z()<0.){
68 neg.push_back(component);
70 pos.push_back(component);
74 for(GeometricDet::GeometricDetContainer::iterator
i=neg.begin();
i!=neg.end();
i++){
76 if(rPos > layerRadius ){
83 for(GeometricDet::GeometricDetContainer::iterator
i=pos.begin();
i!=pos.end();
i++){
84 double rPos = (*i)->translation().Rho();
85 if(rPos > layerRadius ){
97 for(uint32_t
i=0;
i<intneg.size();
i++){
101 intneg[
i]->setGeographicalID(
DetId(temp));
104 for(uint32_t
i=0;
i<extneg.size();
i++){
108 extneg[
i]->setGeographicalID(
DetId(temp));
111 for(uint32_t
i=0;
i<intpos.size();
i++){
115 intpos[
i]->setGeographicalID(
DetId(temp));
118 for(uint32_t
i=0;
i<extpos.size();
i++){
122 extpos[
i]->setGeographicalID(
DetId(temp));
138 for(
size_t i=0;
i<comp.size(); ++
i) {
140 if(component->translation().z()<0.){
141 neg.push_back(component);
143 pos.push_back(component);
150 for(uint32_t
i=0;
i<neg.size();
i++){
153 neg[
i]->setGeographicalID(
DetId(temp));
156 for(uint32_t
i=0;
i<pos.size();
i++){
159 pos[
i]->setGeographicalID(
DetId(temp));
170 for(uint32_t
i=0;
i<comp.size();
i++){
175 edm::LogError(
"CmsTrackerLayerBuilder")<<
"ERROR - wrong SubDet to sort..... "<<det->
components().front()->type();
void addComponent(GeometricDet *)
virtual void buildComponent(DDFilteredView &, GeometricDet *, std::string)
void setGeographicalID(DetId id)
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
ConstGeometricDetContainer & components()
std::vector< double > const & params() const
virtual void build(DDFilteredView &, GeometricDet *, std::string)
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)
virtual void sortNS(DDFilteredView &, GeometricDet *)
GeometricDet::GeometricEnumType type(std::string const &) const
CmsTrackerStringToEnum theCmsTrackerStringToEnum