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 
27 public:
28 
29  static const Cylinder& barrelBound() {check(); return *theCylinder;}
30  static const Disk& negativeEndcapDisk() {check(); return *theNegativeDisk;}
31  static const Disk& 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< Disk > theNegativeDisk
Definition: TrackerBounds.h:42
static bool isInside(const GlobalPoint &)
static ReferenceCountingPointer< Disk > thePositiveDisk
Definition: TrackerBounds.h:43
static const Cylinder & barrelBound()
Definition: TrackerBounds.h:29
static float halfLength()
Definition: TrackerBounds.h:36
static void initialize()
static ReferenceCountingPointer< Cylinder > theCylinder
Definition: TrackerBounds.h:41
static void check()
Definition: TrackerBounds.h:46
static const Disk & negativeEndcapDisk()
Definition: TrackerBounds.h:30
static bool theInit
Definition: TrackerBounds.h:44
static float radius()
Definition: TrackerBounds.h:35
static const Disk & positiveEndcapDisk()
Definition: TrackerBounds.h:31