test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Private Member Functions
CmsTrackerOTRingBuilder Class Reference

#include <CmsTrackerOTRingBuilder.h>

Inheritance diagram for CmsTrackerOTRingBuilder:
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 CmsTrackerOTRingBuilder.h.

Member Function Documentation

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

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)
void CmsTrackerOTRingBuilder::sortNS ( DDFilteredView fv,
GeometricDet det 
)
privatevirtual

Reimplemented from CmsTrackerLevelBuilder.

Definition at line 19 of file CmsTrackerOTRingBuilder.cc.

References AlCaHLTBitMon_QueryRunRegistry::comp, GeometricDet::component(), GeometricDet::components(), 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 }
int i
Definition: DBlmapReader.cc:9
void setGeographicalID(DetId id)
Definition: GeometricDet.h:80
ConstGeometricDetContainer & components()
Definition: GeometricDet.h:174
void TrackerStablePhiSort(RandomAccessIterator begin, RandomAccessIterator end, const Extractor &extr)
GeometricDet * component(size_t index)
Definition: GeometricDet.h:112
std::vector< GeometricDet const * > ConstGeometricDetContainer
Definition: GeometricDet.h:36