CMS 3D CMS Logo

List of all members | Private Member Functions
CmsTrackerPixelPhase2RingBuilder Class Reference

#include <CmsTrackerPixelPhase2RingBuilder.h>

Inheritance diagram for CmsTrackerPixelPhase2RingBuilder:
CmsTrackerLevelBuilder CmsTrackerAbstractConstruction

Private Member Functions

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

Additional Inherited Members

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

Detailed Description

Class which contructs PixelForward Panels.

Definition at line 10 of file CmsTrackerPixelPhase2RingBuilder.h.

Member Function Documentation

void CmsTrackerPixelPhase2RingBuilder::buildComponent ( DDFilteredView fv,
GeometricDet g,
std::string  s 
)
privatevirtual

Implements CmsTrackerLevelBuilder.

Definition at line 12 of file CmsTrackerPixelPhase2RingBuilder.cc.

References CmsDetConstruction::buildComponent().

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

Reimplemented from CmsTrackerLevelBuilder.

Definition at line 18 of file CmsTrackerPixelPhase2RingBuilder.cc.

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

18  {
19 
21 
22  //increasing phi taking into account the sub-modules
23 
24  TrackerStablePhiSort(comp.begin(), comp.end(), ExtractPhi());
25 
26 
27  for(uint32_t i=0; i<comp.size();i++){
28  det->component(i)->setGeographicalID(i+1);
29  }
30 
31 }
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