CMS 3D CMS Logo

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

#include <CmsTrackerOTRingBuilder.h>

Inheritance diagram for CmsTrackerOTRingBuilder< FilteredView >:
CmsTrackerLevelBuilder< FilteredView > CmsTrackerAbstractConstruction< FilteredView >

Private Member Functions

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

Additional Inherited Members

- Public Member Functions inherited from CmsTrackerLevelBuilder< FilteredView >
void build (FilteredView &, GeometricDet *, const std::string &) override
 
template<>
void build (DDFilteredView &fv, GeometricDet *tracker, const std::string &attribute)
 
template<>
void build (cms::DDFilteredView &fv, GeometricDet *tracker, const std::string &attribute)
 
 ~CmsTrackerLevelBuilder () override
 
- Public Member Functions inherited from CmsTrackerAbstractConstruction< FilteredView >
virtual ~CmsTrackerAbstractConstruction ()=default
 
- Protected Attributes inherited from CmsTrackerLevelBuilder< FilteredView >
CmsTrackerStringToEnum theCmsTrackerStringToEnum
 

Detailed Description

template<class FilteredView>
class CmsTrackerOTRingBuilder< FilteredView >

Class which contructs PixelForward Panels.

Definition at line 12 of file CmsTrackerOTRingBuilder.h.

Member Function Documentation

template<class FilteredView >
void CmsTrackerOTRingBuilder< FilteredView >::buildComponent ( FilteredView &  fv,
GeometricDet g,
const std::string &  s 
)
overrideprivatevirtual

Implements CmsTrackerLevelBuilder< FilteredView >.

Definition at line 14 of file CmsTrackerOTRingBuilder.cc.

References CmsDetConstruction< FilteredView >::buildComponent().

14  {
15  CmsDetConstruction<FilteredView> theCmsDetConstruction;
16  theCmsDetConstruction.buildComponent(fv, g, s);
17 }
void buildComponent(FilteredView &, GeometricDet *, const std::string &) override
template<class FilteredView >
void CmsTrackerOTRingBuilder< FilteredView >::sortNS ( FilteredView &  fv,
GeometricDet det 
)
overrideprivatevirtual

Reimplemented from CmsTrackerLevelBuilder< FilteredView >.

Definition at line 20 of file CmsTrackerOTRingBuilder.cc.

References AlCaHLTBitMon_QueryRunRegistry::comp, GeometricDet::component(), GeometricDet::components(), CmsTrackerLevelBuilderHelper::getPhiGluedModule(), mps_fire::i, GeometricDet::setGeographicalID(), and trackerStablePhiSort().

20  {
22 
23  //increasing phi taking into account the sub-modules
25 
26  for (uint32_t i = 0; i < comp.size(); i++) {
27  det->component(i)->setGeographicalID(i + 1);
28  }
29 }
void setGeographicalID(DetId id)
Definition: GeometricDet.h:99
ConstGeometricDetContainer & components()
Definition: GeometricDet.h:152
GeometricDet * component(size_t index)
Definition: GeometricDet.h:148
std::vector< GeometricDet const * > ConstGeometricDetContainer
Definition: GeometricDet.h:34
void trackerStablePhiSort(RandomAccessIterator begin, RandomAccessIterator end, const Extractor &extr)
static double getPhiGluedModule(const GeometricDet *a)