CMS 3D CMS Logo

CmsMTDLevelBuilder.h
Go to the documentation of this file.
1 #ifndef Geometry_MTDNumberingBuilder_CmsMTDLevelBuilder_H
2 #define Geometry_MTDNumberingBuilder_CmsMTDLevelBuilder_H
3 
8 #include <string>
9 
10 class GeometricTimingDet;
11 
17 public:
18  // it relies on the fact that the GeometricTimingDet::GDEnumType enumerators
19  // used to identify the subdetectors in the upgrade geometries are equal to the
20  // ones of the present detector + n*100
21  static bool subDetByType(const GeometricTimingDet* a, const GeometricTimingDet* b);
22  // NP** Phase2 BarrelEndcap
23  static bool phiSortNP(const GeometricTimingDet* a, const GeometricTimingDet* b);
24  static bool isLessZ(const GeometricTimingDet* a, const GeometricTimingDet* b);
25  static bool isLessModZ(const GeometricTimingDet* a, const GeometricTimingDet* b);
26  static double getPhi(const GeometricTimingDet* a);
27  static double getPhiModule(const GeometricTimingDet* a);
28  static double getPhiGluedModule(const GeometricTimingDet* a);
29  static double getPhiMirror(const GeometricTimingDet* a);
30  static double getPhiModuleMirror(const GeometricTimingDet* a);
31  static double getPhiGluedModuleMirror(const GeometricTimingDet* a);
32  static bool isLessRModule(const GeometricTimingDet* a, const GeometricTimingDet* b);
33  static bool isLessR(const GeometricTimingDet* a, const GeometricTimingDet* b);
34 
36  ~CmsMTDLevelBuilder() override {}
37 
38 private:
40 
41 protected:
43 
44 private:
47 };
48 
49 #endif
~CmsMTDLevelBuilder() override
static bool subDetByType(const GeometricTimingDet *a, const GeometricTimingDet *b)
static bool phiSortNP(const GeometricTimingDet *a, const GeometricTimingDet *b)
static bool isLessR(const GeometricTimingDet *a, const GeometricTimingDet *b)
CmsMTDStringToEnum theCmsMTDStringToEnum
static double getPhi(const GeometricTimingDet *a)
static double getPhiGluedModule(const GeometricTimingDet *a)
static double getPhiGluedModuleMirror(const GeometricTimingDet *a)
CmsMTDStringToEnum _CmsMTDStringToEnum
virtual void sortNS(DDFilteredView &, GeometricTimingDet *)
static bool isLessRModule(const GeometricTimingDet *a, const GeometricTimingDet *b)
void build(DDFilteredView &, GeometricTimingDet *, std::string) override
static bool isLessZ(const GeometricTimingDet *a, const GeometricTimingDet *b)
static double getPhiModule(const GeometricTimingDet *a)
double b
Definition: hdecay.h:118
virtual void buildComponent(DDFilteredView &, GeometricTimingDet *, std::string)=0
double a
Definition: hdecay.h:119
static bool isLessModZ(const GeometricTimingDet *a, const GeometricTimingDet *b)
static double getPhiModuleMirror(const GeometricTimingDet *a)
static double getPhiMirror(const GeometricTimingDet *a)