CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Static Public Member Functions | Static Private Member Functions | Static Private Attributes
ECALBounds Class Reference

#include <ECALBounds.h>

Static Public Member Functions

static float barrel_halfLength ()
 
static float barrel_innerradius ()
 
static float barrel_outerradius ()
 
static const SurfacebarrelBound ()
 
static std::pair< float, float > crack_absEtaIntervalA ()
 
static std::pair< float, float > crack_absEtaIntervalB ()
 
static std::pair< float, float > crack_absEtaIntervalC ()
 
static std::pair< float, float > crack_absEtaIntervalD ()
 
static std::pair< float, float > crack_absEtaIntervalE ()
 
static float endcap_innerradius ()
 
static float endcap_innerZ ()
 
static float endcap_outerradius ()
 
static float endcap_outerZ ()
 
static const SurfacenegativeEndcapDisk ()
 
static const SurfacepositiveEndcapDisk ()
 

Static Private Member Functions

static void check ()
 
static void initialize ()
 

Static Private Attributes

static
ReferenceCountingPointer
< Surface
theCylinder = 0
 
static bool theInit = false
 
static
ReferenceCountingPointer
< Surface
theNegativeDisk = 0
 
static
ReferenceCountingPointer
< Surface
thePositiveDisk = 0
 

Detailed Description

Definition at line 16 of file ECALBounds.h.

Member Function Documentation

static float ECALBounds::barrel_halfLength ( )
inlinestatic

Definition at line 25 of file ECALBounds.h.

Referenced by initialize(), and TauTagTools::propagTrackECALSurfContactPoint().

25 {return 270.89f;}
static float ECALBounds::barrel_innerradius ( )
inlinestatic

Hard-wired numbers defining the envelope of the sensitive volumes.

Definition at line 23 of file ECALBounds.h.

Referenced by initialize(), and TauTagTools::propagTrackECALSurfContactPoint().

23 {return 129.0f;}
static float ECALBounds::barrel_outerradius ( )
inlinestatic

Definition at line 24 of file ECALBounds.h.

24 {return 175.f;}
static const Surface& ECALBounds::barrelBound ( )
inlinestatic

Definition at line 18 of file ECALBounds.h.

References check(), and theCylinder.

Referenced by TauTagTools::propagTrackECALSurfContactPoint().

18 {check(); return *theCylinder;}
static ReferenceCountingPointer< Surface > theCylinder
Definition: ECALBounds.h:38
static void check()
Definition: ECALBounds.h:42
static void ECALBounds::check ( void  )
inlinestaticprivate

Definition at line 42 of file ECALBounds.h.

References initialize(), and theInit.

Referenced by barrelBound(), negativeEndcapDisk(), and positiveEndcapDisk().

42 {if (!theInit) initialize();}
static bool theInit
Definition: ECALBounds.h:41
static void initialize()
Definition: ECALBounds.cc:3
static std::pair<float,float> ECALBounds::crack_absEtaIntervalA ( )
inlinestatic

Hard-wired numbers defining eta cracks.

Definition at line 32 of file ECALBounds.h.

Referenced by CaloRecoTauDiscriminationAgainstElectron::discriminate().

32 {return std::pair<float,float>(0.000f,0.018f);}
static std::pair<float,float> ECALBounds::crack_absEtaIntervalB ( )
inlinestatic

Definition at line 33 of file ECALBounds.h.

Referenced by CaloRecoTauDiscriminationAgainstElectron::discriminate().

33 {return std::pair<float,float>(0.423f,0.461f);}
static std::pair<float,float> ECALBounds::crack_absEtaIntervalC ( )
inlinestatic

Definition at line 34 of file ECALBounds.h.

Referenced by CaloRecoTauDiscriminationAgainstElectron::discriminate().

34 {return std::pair<float,float>(0.770f,0.806f);}
static std::pair<float,float> ECALBounds::crack_absEtaIntervalD ( )
inlinestatic

Definition at line 35 of file ECALBounds.h.

Referenced by CaloRecoTauDiscriminationAgainstElectron::discriminate().

35 {return std::pair<float,float>(1.127f,1.163f);}
static std::pair<float,float> ECALBounds::crack_absEtaIntervalE ( )
inlinestatic

Definition at line 36 of file ECALBounds.h.

Referenced by CaloRecoTauDiscriminationAgainstElectron::discriminate().

36 {return std::pair<float,float>(1.460f,1.558f);}
static float ECALBounds::endcap_innerradius ( )
inlinestatic

Definition at line 26 of file ECALBounds.h.

26 {return 31.6f;}
static float ECALBounds::endcap_innerZ ( )
inlinestatic

Definition at line 28 of file ECALBounds.h.

Referenced by initialize().

28 {return 314.40f;}
static float ECALBounds::endcap_outerradius ( )
inlinestatic

Definition at line 27 of file ECALBounds.h.

Referenced by initialize().

27 {return 171.1f;}
static float ECALBounds::endcap_outerZ ( )
inlinestatic

Definition at line 29 of file ECALBounds.h.

29 {return 388.f;}
void ECALBounds::initialize ( )
staticprivate

Definition at line 3 of file ECALBounds.cc.

References barrel_halfLength(), barrel_innerradius(), endcap_innerZ(), endcap_outerradius(), epsilon, theCylinder, theInit, theNegativeDisk, and thePositiveDisk.

Referenced by check().

3  {
4  const float epsilon = 0.001; // should not matter at all
5  Surface::RotationType rot; // unit rotation matrix
8  barrel_innerradius()+epsilon,
11 
12 
14  SimpleDiskBounds(0,endcap_outerradius(),-epsilon,epsilon));
15 
18  SimpleDiskBounds(0,endcap_outerradius(),-epsilon,epsilon));
19 
20 
21  theInit = true;
22 }
static ReferenceCountingPointer< Surface > theCylinder
Definition: ECALBounds.h:38
static ReferenceCountingPointer< Surface > theNegativeDisk
Definition: ECALBounds.h:39
static float barrel_innerradius()
Definition: ECALBounds.h:23
static bool theInit
Definition: ECALBounds.h:41
static float endcap_outerradius()
Definition: ECALBounds.h:27
static ReferenceCountingPointer< Surface > thePositiveDisk
Definition: ECALBounds.h:40
static float endcap_innerZ()
Definition: ECALBounds.h:28
static float barrel_halfLength()
Definition: ECALBounds.h:25
const double epsilon
static const Surface& ECALBounds::negativeEndcapDisk ( )
inlinestatic

Definition at line 19 of file ECALBounds.h.

References check(), and theNegativeDisk.

Referenced by TauTagTools::propagTrackECALSurfContactPoint().

19 {check(); return *theNegativeDisk;}
static ReferenceCountingPointer< Surface > theNegativeDisk
Definition: ECALBounds.h:39
static void check()
Definition: ECALBounds.h:42
static const Surface& ECALBounds::positiveEndcapDisk ( )
inlinestatic

Definition at line 20 of file ECALBounds.h.

References check(), and thePositiveDisk.

Referenced by TauTagTools::propagTrackECALSurfContactPoint().

20 {check(); return *thePositiveDisk;}
static ReferenceCountingPointer< Surface > thePositiveDisk
Definition: ECALBounds.h:40
static void check()
Definition: ECALBounds.h:42

Member Data Documentation

ReferenceCountingPointer< Surface > ECALBounds::theCylinder = 0
staticprivate

Definition at line 38 of file ECALBounds.h.

Referenced by barrelBound(), and initialize().

bool ECALBounds::theInit = false
staticprivate

Definition at line 41 of file ECALBounds.h.

Referenced by check(), and initialize().

ReferenceCountingPointer< Surface > ECALBounds::theNegativeDisk = 0
staticprivate

Definition at line 39 of file ECALBounds.h.

Referenced by initialize(), and negativeEndcapDisk().

ReferenceCountingPointer< Surface > ECALBounds::thePositiveDisk = 0
staticprivate

Definition at line 40 of file ECALBounds.h.

Referenced by initialize(), and positiveEndcapDisk().