CMS 3D CMS Logo

List of all members | Private Member Functions
CmsMTDModuleBuilder Class Reference

#include <CmsMTDModuleBuilder.h>

Inheritance diagram for CmsMTDModuleBuilder:
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 builds Pixel Ladders

Definition at line 11 of file CmsMTDModuleBuilder.h.

Member Function Documentation

void CmsMTDModuleBuilder::buildComponent ( DDFilteredView fv,
GeometricTimingDet g,
std::string  side 
)
overrideprivatevirtual

Implements CmsMTDLevelBuilder.

Definition at line 10 of file CmsMTDModuleBuilder.cc.

References CmsMTDConstruction::buildComponent().

10  {
11 
12  CmsMTDConstruction theCmsMTDConstruction;
13  theCmsMTDConstruction.buildComponent(fv,g,side);
14 }
void buildComponent(DDFilteredView &, GeometricTimingDet *, std::string) override
void CmsMTDModuleBuilder::sortNS ( DDFilteredView fv,
GeometricTimingDet det 
)
overrideprivatevirtual

Reimplemented from CmsMTDLevelBuilder.

Definition at line 18 of file CmsMTDModuleBuilder.cc.

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

18  {
20 
21  std::stable_sort(comp.begin(),comp.end(),isLessZ);
22 
23  if (comp.empty() ){
24  edm::LogError("CmsMTDModuleBuilder") << "Where are the ETL modules?";
25  }
26 
27 }
ConstGeometricTimingDetContainer & components()
static bool isLessZ(const GeometricTimingDet *a, const GeometricTimingDet *b)
std::vector< GeometricTimingDet const * > ConstGeometricTimingDetContainer