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
CmsTrackerLevelBuilder
Definition: CmsTrackerLevelBuilder.h:31
CmsTrackerLevelBuilderHelper::getPhiModuleMirror
static double getPhiModuleMirror(const GeometricDet *a)
Definition: CmsTrackerLevelBuilder.cc:124
CmsTrackerLevelBuilder::sortNS
virtual void sortNS(FilteredView &, GeometricDet *)
Definition: CmsTrackerLevelBuilder.h:43
types.h
CmsTrackerStringToEnum
Definition: CmsTrackerStringToEnum.h:10
CmsTrackerLevelBuilderHelper::isLessZ
static bool isLessZ(const GeometricDet *a, const GeometricDet *b)
Definition: CmsTrackerLevelBuilder.cc:30
CmsTrackerLevelBuilderHelper::getPhiGluedModule
static double getPhiGluedModule(const GeometricDet *a)
Definition: CmsTrackerLevelBuilder.cc:83
CmsTrackerLevelBuilder::~CmsTrackerLevelBuilder
~CmsTrackerLevelBuilder() override
Definition: CmsTrackerLevelBuilder.h:34
CmsTrackerLevelBuilderHelper::getPhiModule
static double getPhiModule(const GeometricDet *a)
Definition: CmsTrackerLevelBuilder.cc:49
CmsTrackerAbstractConstruction
Definition: CmsTrackerAbstractConstruction.h:12
CmsTrackerLevelBuilderHelper::getPhi
static double getPhi(const GeometricDet *a)
Definition: CmsTrackerLevelBuilder.cc:44
CmsTrackerLevelBuilderHelper::isLessR
static bool isLessR(const GeometricDet *a, const GeometricDet *b)
Definition: CmsTrackerLevelBuilder.cc:140
CmsTrackerLevelBuilder::_CmsTrackerStringToEnum
CmsTrackerStringToEnum _CmsTrackerStringToEnum
Definition: CmsTrackerLevelBuilder.h:44
CmsTrackerAbstractConstruction.h
CmsTrackerLevelBuilderHelper::subDetByType
static bool subDetByType(const GeometricDet *a, const GeometricDet *b)
Definition: CmsTrackerLevelBuilder.cc:12
GeometricDet
Definition: GeometricDet.h:31
CmsTrackerStringToEnum.h
CmsTrackerLevelBuilderHelper::isLessModZ
static bool isLessModZ(const GeometricDet *a, const GeometricDet *b)
Definition: CmsTrackerLevelBuilder.cc:40
b
double b
Definition: hdecay.h:118
CmsTrackerLevelBuilderHelper::getPhiMirror
static double getPhiMirror(const GeometricDet *a)
Definition: CmsTrackerLevelBuilder.cc:118
CmsTrackerLevelBuilderHelper
Definition: CmsTrackerLevelBuilder.h:11
CmsTrackerLevelBuilderHelper::getPhiGluedModuleMirror
static double getPhiGluedModuleMirror(const GeometricDet *a)
Definition: CmsTrackerLevelBuilder.cc:130
a
double a
Definition: hdecay.h:119
CmsTrackerLevelBuilder::build
void build(FilteredView &, GeometricDet *, const std::string &) override
CmsTrackerLevelBuilder::buildComponent
virtual void buildComponent(FilteredView &, GeometricDet *, const std::string &)=0
CmsTrackerLevelBuilderHelper::isLessRModule
static bool isLessRModule(const GeometricDet *a, const GeometricDet *b)
Definition: CmsTrackerLevelBuilder.cc:136
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CmsTrackerLevelBuilder::theCmsTrackerStringToEnum
CmsTrackerStringToEnum theCmsTrackerStringToEnum
Definition: CmsTrackerLevelBuilder.h:40
CmsTrackerLevelBuilderHelper::phiSortNP
static bool phiSortNP(const GeometricDet *a, const GeometricDet *b)
Definition: CmsTrackerLevelBuilder.cc:20