CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackerBounds.h
Go to the documentation of this file.
1 #ifndef GeomPropagators_TrackerBounds_H
2 #define GeomPropagators_TrackerBounds_H
3 
6 
7 class Cylinder;
8 class Disk;
9 
25 public:
26 
27  static const Cylinder& barrelBound() {check(); return *theCylinder;}
28  static const Disk& negativeEndcapDisk() {check(); return *theNegativeDisk;}
29  static const Disk& positiveEndcapDisk() {check(); return *thePositiveDisk;}
30 
33  static float radius() {return 112.f;}
34  static float halfLength() {return 273.5f;}
35  static bool isInside(const GlobalPoint &);
36 
37 private:
38 
42  static bool theInit;
43 
44  static void check() {if (!theInit) initialize();}
45 
46  static void initialize();
47 };
48 
49 #endif
50 
51 
static ReferenceCountingPointer< Disk > theNegativeDisk
Definition: TrackerBounds.h:40
static bool isInside(const GlobalPoint &)
static ReferenceCountingPointer< Disk > thePositiveDisk
Definition: TrackerBounds.h:41
static const Cylinder & barrelBound()
Definition: TrackerBounds.h:27
static float halfLength()
Definition: TrackerBounds.h:34
static void initialize()
static ReferenceCountingPointer< Cylinder > theCylinder
Definition: TrackerBounds.h:39
static void check()
Definition: TrackerBounds.h:44
static const Disk & negativeEndcapDisk()
Definition: TrackerBounds.h:28
static bool theInit
Definition: TrackerBounds.h:42
static float radius()
Definition: TrackerBounds.h:33
static const Disk & positiveEndcapDisk()
Definition: TrackerBounds.h:29