CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 bool isInside(const GlobalPoint &)
T perp() const
Definition: PV3DBase.h:69
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
T z() const
Definition: PV3DBase.h:61
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