CMS 3D CMS Logo

CmsTrackerPixelPhase2DoubleDiskBuilder.cc
Go to the documentation of this file.
9 #include <vector>
10 #include <algorithm>
11 
12 using namespace std;
13 
14 template <class FilteredView>
16  GeometricDet* g,
17  const std::string& s) {
18  CmsTrackerPixelPhase2SubDiskBuilder<FilteredView> theCmsTrackerPixelPhase2SubDiskBuilder;
19  GeometricDet* subdet = new GeometricDet(&fv,
22 
26  theCmsTrackerPixelPhase2SubDiskBuilder.build(fv, subdet, s);
27  break;
28  default:
29  edm::LogError("CmsTrackerPixelPhase2DoubleDiskBuilder")
30  << " ERROR - I was expecting a SubDisk, I got a " << ExtractStringFromDDD<FilteredView>::getString(s, &fv);
31  }
32  g->addComponent(subdet);
33 }
34 
35 template <class FilteredView>
38 
40 
41  for (uint32_t i = 0; i < comp.size(); i++) {
43  }
44 }
45 
static std::string getString(const std::string &, FilteredView *)
void setGeographicalID(DetId id)
Definition: GeometricDet.h:99
void sortNS(FilteredView &, GeometricDet *) override
Log< level::Error, false > LogError
static bool isLessModZ(const GeometricDet *a, const GeometricDet *b)
void build(FilteredView &, GeometricDet *, const std::string &) override
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
ConstGeometricDetContainer & components()
Definition: GeometricDet.h:151
GeometricDet * component(size_t index)
Definition: GeometricDet.h:147
std::vector< GeometricDet const * > ConstGeometricDetContainer
Definition: GeometricDet.h:34
void buildComponent(FilteredView &, GeometricDet *, const std::string &) override