CMS 3D CMS Logo

List of all members | Private Member Functions
CmsMTDETLRingBuilder Class Reference

#include <CmsMTDETLRingBuilder.h>

Inheritance diagram for CmsMTDETLRingBuilder:
CmsMTDLevelBuilder CmsMTDAbstractConstruction

Private Member Functions

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

Additional Inherited Members

- Public Member Functions inherited from CmsMTDLevelBuilder
void build (DDFilteredView &, GeometricTimingDet *, std::string) override
 
 ~CmsMTDLevelBuilder () override
 
- Public Member Functions inherited from CmsMTDAbstractConstruction
virtual ~CmsMTDAbstractConstruction ()=default
 
- Static Public Member Functions inherited from CmsMTDLevelBuilder
static double getPhi (const GeometricTimingDet *a)
 
static double getPhiGluedModule (const GeometricTimingDet *a)
 
static double getPhiGluedModuleMirror (const GeometricTimingDet *a)
 
static double getPhiMirror (const GeometricTimingDet *a)
 
static double getPhiModule (const GeometricTimingDet *a)
 
static double getPhiModuleMirror (const GeometricTimingDet *a)
 
static bool isLessModZ (const GeometricTimingDet *a, const GeometricTimingDet *b)
 
static bool isLessR (const GeometricTimingDet *a, const GeometricTimingDet *b)
 
static bool isLessRModule (const GeometricTimingDet *a, const GeometricTimingDet *b)
 
static bool isLessZ (const GeometricTimingDet *a, const GeometricTimingDet *b)
 
static bool phiSortNP (const GeometricTimingDet *a, const GeometricTimingDet *b)
 
static bool subDetByType (const GeometricTimingDet *a, const GeometricTimingDet *b)
 
- Protected Attributes inherited from CmsMTDLevelBuilder
CmsMTDStringToEnum theCmsMTDStringToEnum
 

Detailed Description

Class which contructs MTD ETL Rings.

Definition at line 10 of file CmsMTDETLRingBuilder.h.

Member Function Documentation

void CmsMTDETLRingBuilder::buildComponent ( DDFilteredView fv,
GeometricTimingDet g,
std::string  s 
)
overrideprivatevirtual

Implements CmsMTDLevelBuilder.

Definition at line 12 of file CmsMTDETLRingBuilder.cc.

References CmsMTDConstruction::buildComponent().

12  {
13 
14  CmsMTDConstruction theCmsMTDConstruction;
15  theCmsMTDConstruction.buildComponent(fv,g,s);
16 
17 }
void buildComponent(DDFilteredView &, GeometricTimingDet *, std::string) override
void CmsMTDETLRingBuilder::sortNS ( DDFilteredView fv,
GeometricTimingDet det 
)
overrideprivatevirtual

Reimplemented from CmsMTDLevelBuilder.

Definition at line 21 of file CmsMTDETLRingBuilder.cc.

References AlCaHLTBitMon_QueryRunRegistry::comp, GeometricTimingDet::components(), CmsMTDLevelBuilder::getPhiGluedModule(), and mtdStablePhiSort().

21  {
22 
24 
25  //increasing phi taking into account the sub-modules
26  mtdStablePhiSort(comp.begin(), comp.end(), getPhiGluedModule);
27 
28 }
static double getPhiGluedModule(const GeometricTimingDet *a)
ConstGeometricTimingDetContainer & components()
void mtdStablePhiSort(RandomAccessIterator begin, RandomAccessIterator end, const Extractor &extr)
std::vector< GeometricTimingDet const * > ConstGeometricTimingDetContainer