CMS 3D CMS Logo

TrackerBounds.cc
Go to the documentation of this file.
2 
7 
8 //Ported from ORCA
9 
10 static const float epsilon = 0.001; // should not matter at all
11 
13  Surface::RotationType rot; // unit rotation matrix
18  return new Cylinder(Cylinder::computeRadius(*cb), Surface::PositionType(0, 0, 0), rot, cb);
19 }
20 
21 static Disk* initNegative() {
22  Surface::RotationType rot; // unit rotation matrix
23 
25  rot,
27 }
28 
29 static Disk* initPositive() {
30  Surface::RotationType rot; // unit rotation matrix
31 
33  rot,
35 }
36 
38  return (point.perp() <= TrackerBounds::radius() && fabs(point.z()) <= TrackerBounds::halfLength());
39 }
40 
41 // static initializers
42 
static const float epsilon
static bool isInside(const GlobalPoint &)
static Disk * initPositive()
static float halfLength()
Definition: TrackerBounds.h:33
static const ReferenceCountingPointer< Cylinder > theCylinder
Definition: TrackerBounds.h:37
static const ReferenceCountingPointer< Disk > thePositiveDisk
Definition: TrackerBounds.h:39
Definition: BoundDisk.h:19
static float radius()
Definition: TrackerBounds.h:32
static Disk * initNegative()
static const ReferenceCountingPointer< Disk > theNegativeDisk
Definition: TrackerBounds.h:38
static float computeRadius(Bounds const &bounds)
Definition: Cylinder.h:28
static Cylinder * initCylinder()
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5