test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ECALBounds.cc
Go to the documentation of this file.
2 
5 
6 //Ported from ORCA
7 
8 static const float epsilon = 0.001; // should not matter at all
9 
11 {
12  Surface::RotationType rot; // unit rotation matrix
17  return new BoundCylinder( Cylinder::computeRadius(*cb), Surface::PositionType(0,0,0), rot, cb );
18 }
19 
21 {
22  Surface::RotationType rot; // unit rotation matrix
23 
24  return new BoundDisk( Surface::PositionType( 0, 0, -ECALBounds::endcap_innerZ() ), rot,
26 }
27 
29 {
30  Surface::RotationType rot; // unit rotation matrix
31 
32  return new BoundDisk( Surface::PositionType( 0, 0, +ECALBounds::endcap_innerZ() ), rot,
34 }
35 
36 // static initializers
37 
static BoundDisk * initNegativeDisk()
Definition: ECALBounds.cc:20
Cylinder BoundCylinder
Definition: BoundCylinder.h:17
static float barrel_innerradius()
Definition: ECALBounds.h:25
static const ReferenceCountingPointer< BoundCylinder > theCylinder
Definition: ECALBounds.h:43
static const ReferenceCountingPointer< BoundDisk > theNegativeDisk
Definition: ECALBounds.h:44
static float endcap_outerradius()
Definition: ECALBounds.h:29
static float endcap_innerZ()
Definition: ECALBounds.h:30
static BoundDisk * initPositiveDisk()
Definition: ECALBounds.cc:28
static const ReferenceCountingPointer< BoundDisk > thePositiveDisk
Definition: ECALBounds.h:45
Disk BoundDisk
Definition: BoundDisk.h:62
static float computeRadius(Bounds const &bounds)
Definition: Cylinder.h:30
static float barrel_halfLength()
Definition: ECALBounds.h:27
static BoundCylinder * initCylinder()
Definition: ECALBounds.cc:10