CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CmsTrackerLadderBuilder.cc
Go to the documentation of this file.
8 #include <vector>
9 
11 
12  CmsDetConstruction theCmsDetConstruction;
13  theCmsDetConstruction.buildComponent(fv,g,s);
14 }
15 
18 
19  if (comp.front()->type()==GeometricDet::DetUnit)
20  std::sort(comp.begin(),comp.end(),LessZ());
21  else
22  edm::LogError("CmsTrackerLadderBuilder")<<"ERROR - wrong SubDet to sort..... "<<det->components().front()->type();
23 
24 
25  for(uint32_t i=0; i<comp.size();i++){
26  comp[i]->setGeographicalID(i+1);
27  }
28 
29 
30 }
31 
32 
33 
34 
int i
Definition: DBlmapReader.cc:9
void buildComponent(DDFilteredView &, GeometricDet *, std::string)
virtual void sortNS(DDFilteredView &, GeometricDet *)
virtual void buildComponent(DDFilteredView &, GeometricDet *, std::string)
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
Definition: Activities.doc:4
std::vector< GeometricDet const * > GeometricDetContainer
Definition: GeometricDet.h:36
GeometricDetContainer & components()
Definition: GeometricDet.h:163