CMS 3D CMS Logo

List of all members | Private Member Functions
CmsTrackerOTRingBuilder Class Reference

#include <CmsTrackerOTRingBuilder.h>

Inheritance diagram for CmsTrackerOTRingBuilder:
CmsTrackerLevelBuilder CmsTrackerAbstractConstruction

Private Member Functions

void buildComponent (DDFilteredView &, GeometricDet *, std::string) override
 
void sortNS (DDFilteredView &, GeometricDet *) override
 

Additional Inherited Members

- Public Member Functions inherited from CmsTrackerLevelBuilder
void build (DDFilteredView &, GeometricDet *, std::string) override
 
 ~CmsTrackerLevelBuilder () override
 
- Public Member Functions inherited from CmsTrackerAbstractConstruction
virtual ~CmsTrackerAbstractConstruction ()=default
 
- Protected Attributes inherited from CmsTrackerLevelBuilder
CmsTrackerStringToEnum theCmsTrackerStringToEnum
 

Detailed Description

Class which contructs PixelForward Panels.

Definition at line 10 of file CmsTrackerOTRingBuilder.h.

Member Function Documentation

void CmsTrackerOTRingBuilder::buildComponent ( DDFilteredView fv,
GeometricDet g,
std::string  s 
)
overrideprivatevirtual

Implements CmsTrackerLevelBuilder.

Definition at line 12 of file CmsTrackerOTRingBuilder.cc.

References CmsDetConstruction::buildComponent().

12  {
13 
14  CmsDetConstruction theCmsDetConstruction;
15  theCmsDetConstruction.buildComponent(fv,g,s);
16 
17 }
void buildComponent(DDFilteredView &, GeometricDet *, std::string) override
void CmsTrackerOTRingBuilder::sortNS ( DDFilteredView fv,
GeometricDet det 
)
overrideprivatevirtual

Reimplemented from CmsTrackerLevelBuilder.

Definition at line 19 of file CmsTrackerOTRingBuilder.cc.

References AlCaHLTBitMon_QueryRunRegistry::comp, GeometricDet::component(), GeometricDet::components(), mps_fire::i, GeometricDet::setGeographicalID(), and TrackerStablePhiSort().

19  {
20 
22 
23  //increasing phi taking into account the sub-modules
24  TrackerStablePhiSort(comp.begin(), comp.end(), ExtractPhiGluedModule());
25 
26  for(uint32_t i=0; i<comp.size();i++){
27  det->component(i)->setGeographicalID(i+1);
28  }
29 
30 }
void setGeographicalID(DetId id)
Definition: GeometricDet.h:82
ConstGeometricDetContainer & components()
Definition: GeometricDet.h:176
void TrackerStablePhiSort(RandomAccessIterator begin, RandomAccessIterator end, const Extractor &extr)
GeometricDet * component(size_t index)
Definition: GeometricDet.h:114
std::vector< GeometricDet const * > ConstGeometricDetContainer
Definition: GeometricDet.h:36