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 
TkRotation< float >
TrackerBounds::halfLength
static float halfLength()
Definition: TrackerBounds.h:33
BoundDisk.h
epsilon
static const float epsilon
Definition: TrackerBounds.cc:10
SimpleCylinderBounds.h
TrackerBounds::radius
static float radius()
Definition: TrackerBounds.h:32
ReferenceCountingPointer< BoundCylinder >
BoundCylinder.h
TrackerBounds::isInside
static bool isInside(const GlobalPoint &)
Definition: TrackerBounds.cc:37
SimpleCylinderBounds
Definition: SimpleCylinderBounds.h:19
SimpleDiskBounds
Definition: SimpleDiskBounds.h:11
TrackerBounds.h
initPositive
static Disk * initPositive()
Definition: TrackerBounds.cc:29
Point3DBase< float, GlobalTag >
TrackerBounds::thePositiveDisk
static const ReferenceCountingPointer< Disk > thePositiveDisk
Definition: TrackerBounds.h:39
TrackerBounds::theNegativeDisk
static const ReferenceCountingPointer< Disk > theNegativeDisk
Definition: TrackerBounds.h:38
Disk
Definition: BoundDisk.h:19
initNegative
static Disk * initNegative()
Definition: TrackerBounds.cc:21
makeMuonMisalignmentScenario.rot
rot
Definition: makeMuonMisalignmentScenario.py:322
TrackerBounds::theCylinder
static const ReferenceCountingPointer< Cylinder > theCylinder
Definition: TrackerBounds.h:37
Cylinder::computeRadius
static float computeRadius(Bounds const &bounds)
Definition: Cylinder.h:28
Cylinder
Definition: Cylinder.h:19
SimpleDiskBounds.h
initCylinder
static Cylinder * initCylinder()
Definition: TrackerBounds.cc:12
point
*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