CMS 3D CMS Logo

CmsTrackerLevelBuilder.h
Go to the documentation of this file.
1 #ifndef Geometry_TrackerNumberingBuilder_CmsTrackerLevelBuilder_H
2 #define Geometry_TrackerNumberingBuilder_CmsTrackerLevelBuilder_H
3 
7 #include <string>
8 
9 class GeometricDet;
10 
12 public:
13  static bool subDetByType(const GeometricDet* a, const GeometricDet* b);
14  static bool phiSortNP(const GeometricDet* a, const GeometricDet* b); // NP** Phase2 BarrelEndcap
15  static bool isLessZ(const GeometricDet* a, const GeometricDet* b);
16  static bool isLessModZ(const GeometricDet* a, const GeometricDet* b);
17  static double getPhi(const GeometricDet* a);
18  static double getPhiModule(const GeometricDet* a);
19  static double getPhiGluedModule(const GeometricDet* a);
20  static double getPhiMirror(const GeometricDet* a);
21  static double getPhiModuleMirror(const GeometricDet* a);
22  static double getPhiGluedModuleMirror(const GeometricDet* a);
23  static bool isLessRModule(const GeometricDet* a, const GeometricDet* b);
24  static bool isLessR(const GeometricDet* a, const GeometricDet* b);
25 };
26 
30 template <class FilteredView>
32 public:
33  void build(FilteredView&, GeometricDet*, const std::string&) override;
35 
36 private:
37  virtual void buildComponent(FilteredView&, GeometricDet*, const std::string&) = 0;
38 
39 protected:
41 
42 private:
43  virtual void sortNS(FilteredView&, GeometricDet*) {}
45 };
46 
47 #endif
static bool isLessZ(const GeometricDet *a, const GeometricDet *b)
virtual void sortNS(FilteredView &, GeometricDet *)
static double getPhiModuleMirror(const GeometricDet *a)
static double getPhiMirror(const GeometricDet *a)
static bool subDetByType(const GeometricDet *a, const GeometricDet *b)
void build(FilteredView &, GeometricDet *, const std::string &) override
static bool isLessModZ(const GeometricDet *a, const GeometricDet *b)
static bool isLessR(const GeometricDet *a, const GeometricDet *b)
CmsTrackerStringToEnum _CmsTrackerStringToEnum
static double getPhiGluedModuleMirror(const GeometricDet *a)
static bool phiSortNP(const GeometricDet *a, const GeometricDet *b)
static double getPhiModule(const GeometricDet *a)
double b
Definition: hdecay.h:120
CmsTrackerStringToEnum theCmsTrackerStringToEnum
double a
Definition: hdecay.h:121
virtual void buildComponent(FilteredView &, GeometricDet *, const std::string &)=0
static double getPhiGluedModule(const GeometricDet *a)
static bool isLessRModule(const GeometricDet *a, const GeometricDet *b)
static double getPhi(const GeometricDet *a)