File indexing completed on 2023-10-25 10:05:33
0001 #ifndef GeomPropagators_TrackerBounds_H
0002 #define GeomPropagators_TrackerBounds_H
0003
0004 #include "DataFormats/GeometrySurface/interface/ReferenceCounted.h"
0005 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
0006
0007 class Cylinder;
0008 class Disk;
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 class TrackerBounds {
0025 public:
0026 static const Cylinder& barrelBound() { return *theCylinder; }
0027 static const Disk& negativeEndcapDisk() { return *theNegativeDisk; }
0028 static const Disk& positiveEndcapDisk() { return *thePositiveDisk; }
0029
0030
0031
0032 static float radius() { return 112.f; }
0033 static float halfLength() { return 273.5f; }
0034 static bool isInside(const GlobalPoint&);
0035
0036 private:
0037 static const ReferenceCountingPointer<Cylinder> theCylinder;
0038 static const ReferenceCountingPointer<Disk> theNegativeDisk;
0039 static const ReferenceCountingPointer<Disk> thePositiveDisk;
0040 };
0041
0042 #endif