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 BoundCylinder;
8 class BoundDisk;
9 
27 public:
28 
29  static const BoundCylinder& barrelBound() {check(); return *theCylinder;}
30  static const BoundDisk& negativeEndcapDisk() {check(); return *theNegativeDisk;}
31  static const BoundDisk& positiveEndcapDisk() {check(); return *thePositiveDisk;}
32 
35  static float radius() {return 112.f;}
36  static float halfLength() {return 273.5f;}
37  static bool isInside(const GlobalPoint &);
38 
39 private:
40 
44  static bool theInit;
45 
46  static void check() {if (!theInit) initialize();}
47 
48  static void initialize();
49 };
50 
51 #endif
52 
53 
static ReferenceCountingPointer< BoundDisk > theNegativeDisk
Definition: TrackerBounds.h:42
static bool isInside(const GlobalPoint &)
static ReferenceCountingPointer< BoundDisk > thePositiveDisk
Definition: TrackerBounds.h:43
static float halfLength()
Definition: TrackerBounds.h:36
static const BoundCylinder & barrelBound()
Definition: TrackerBounds.h:29
static void initialize()
static ReferenceCountingPointer< BoundCylinder > theCylinder
Definition: TrackerBounds.h:41
static void check()
Definition: TrackerBounds.h:46
static const BoundDisk & positiveEndcapDisk()
Definition: TrackerBounds.h:31
static bool theInit
Definition: TrackerBounds.h:44
static float radius()
Definition: TrackerBounds.h:35
static const BoundDisk & negativeEndcapDisk()
Definition: TrackerBounds.h:30