CMS 3D CMS Logo

CmsTrackerPixelPhase2EndcapBuilder.cc
Go to the documentation of this file.
11 #include <vector>
12 
13 #include <bitset>
14 
15 template <class FilteredView>
17  GeometricDet* g,
18  const std::string& s) {
19  CmsTrackerPhase2TPDiskBuilder<FilteredView> theCmsTrackerPhase2DiskBuilder;
20  CmsTrackerPixelPhase2DiskBuilder<FilteredView> theCmsTrackerPixelPhase2DiskBuilder;
21  CmsTrackerOTDiscBuilder<FilteredView> theCmsTrackerOTDiscBuilder;
22 
23  GeometricDet* subdet = new GeometricDet(&fv,
29  theCmsTrackerPhase2DiskBuilder.build(fv, subdet, s);
30  break;
32  theCmsTrackerPhase2DiskBuilder.build(fv, subdet, s);
33  break;
35  theCmsTrackerPixelPhase2DiskBuilder.build(fv, subdet, s);
36  break;
38  theCmsTrackerOTDiscBuilder.build(fv, subdet, s);
39  break;
40 
41  default:
42  edm::LogError("CmsTrackerPixelPhase2EndcapBuilder")
43  << " ERROR - I was expecting a Disk... I got a " << ExtractStringFromDDD<FilteredView>::getString(s, &fv);
44  }
45 
46  g->addComponent(subdet);
47 }
48 
49 template <class FilteredView>
52 
54 
55  for (uint32_t i = 0; i < comp.size(); i++) {
57  i + 1); // Every subdetector: Inner pixel first, OT later, then sort by disk number
58  }
59 }
60 
ExtractStringFromDDD::getString
static std::string getString(const std::string &, FilteredView *)
CmsTrackerLevelBuilder
Definition: CmsTrackerLevelBuilder.h:31
mps_fire.i
i
Definition: mps_fire.py:428
MessageLogger.h
GeometricDet::PixelPhase2ReducedDisk
Definition: GeometricDet.h:79
GeometricDet::components
ConstGeometricDetContainer & components()
Definition: GeometricDet.h:149
CmsTrackerPhase2TPDiskBuilder.h
CmsTrackerPixelPhase2EndcapBuilder.h
AlCaHLTBitMon_QueryRunRegistry.comp
comp
Definition: AlCaHLTBitMon_QueryRunRegistry.py:249
ExtractStringFromDDD
Definition: ExtractStringFromDDD.h:12
alignCSCRings.s
s
Definition: alignCSCRings.py:92
DDFilteredView.h
CmsTrackerPixelPhase2DiskBuilder.h
GeometricDet::setGeographicalID
void setGeographicalID(DetId id)
Definition: GeometricDet.h:97
CmsTrackerPixelPhase2EndcapBuilder::buildComponent
void buildComponent(FilteredView &, GeometricDet *, const std::string &) override
Definition: CmsTrackerPixelPhase2EndcapBuilder.cc:16
CmsTrackerPixelPhase2DiskBuilder
Definition: CmsTrackerPixelPhase2DiskBuilder.h:12
GeometricDet
Definition: GeometricDet.h:31
CmsTrackerOTDiscBuilder.h
DDFilteredView.h
CmsTrackerLevelBuilderHelper::isLessModZ
static bool isLessModZ(const GeometricDet *a, const GeometricDet *b)
Definition: CmsTrackerLevelBuilder.cc:40
GeometricDet::PixelPhase2TDRDisk
Definition: GeometricDet.h:80
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CmsTrackerLevelBuilder::build
void build(FilteredView &, GeometricDet *, const std::string &) override
jetUpdater_cfi.sort
sort
Definition: jetUpdater_cfi.py:29
gainCalibHelper::gainCalibPI::type
type
Definition: SiPixelGainCalibHelper.h:40
CmsTrackerPixelPhase2EndcapBuilder::sortNS
void sortNS(FilteredView &, GeometricDet *) override
Definition: CmsTrackerPixelPhase2EndcapBuilder.cc:50
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
GeometricDet.h
CmsTrackerPhase2TPDiskBuilder
Definition: CmsTrackerPhase2TPDiskBuilder.h:12
CmsTrackerPixelPhase2EndcapBuilder
Definition: CmsTrackerPixelPhase2EndcapBuilder.h:12
CmsTrackerOTDiscBuilder
Definition: CmsTrackerOTDiscBuilder.h:12
ExtractStringFromDDD.h
GeometricDet::OTPhase2Wheel
Definition: GeometricDet.h:77
GeometricDet::component
GeometricDet * component(size_t index)
Definition: GeometricDet.h:145
GeometricDet::PixelPhase2FullDisk
Definition: GeometricDet.h:78
GeometricDet::ConstGeometricDetContainer
std::vector< GeometricDet const * > ConstGeometricDetContainer
Definition: GeometricDet.h:34
DetId.h
g
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