CMS 3D CMS Logo

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

#include <MediumProperties.h>

Public Member Functions

bool isValid () const
 
 MediumProperties ()
 
 MediumProperties (float aRadLen, float aXi)
 
float radLen () const
 
float xi () const
 
 ~MediumProperties ()
 

Private Attributes

float theRadLen
 
float theXi
 

Detailed Description

Constants describing material effects for a surface (for an angle of incidence = pi/2). If thickness = d: radLen = d/X0 (used for description of multiple scattering and energy loss by electrons) xi = d[g/cm2] * 0.307075[MeV/(g/cm2)] * Z/A * 1/2 (used for energy loss acc. to Bethe-Bloch)

Definition at line 13 of file MediumProperties.h.

Constructor & Destructor Documentation

MediumProperties::MediumProperties ( )
inline

Definition at line 15 of file MediumProperties.h.

15 : theRadLen(0), theXi(0) {}
MediumProperties::MediumProperties ( float  aRadLen,
float  aXi 
)
inline

Definition at line 16 of file MediumProperties.h.

16  :
17  theRadLen(aRadLen), theXi(aXi) {}
MediumProperties::~MediumProperties ( )
inline

Definition at line 18 of file MediumProperties.h.

18 {}

Member Function Documentation

bool MediumProperties::isValid ( void  ) const
inline
float MediumProperties::radLen ( ) const
inline

Thickness in units of X0 (at normal incidence)

Definition at line 22 of file MediumProperties.h.

References theRadLen.

Referenced by oldComputeElectrons(), oldMUcompute(), PlaneBuilderForGluedDet::plane(), and MaterialEffects::radLengths().

22  {
23  return theRadLen;
24  }
float MediumProperties::xi ( ) const
inline

Factor for Bethe-Bloch (at normal incidence; for definition see above)

Definition at line 28 of file MediumProperties.h.

References theXi.

Referenced by oldComputeBetheBloch(), and PlaneBuilderForGluedDet::plane().

28  {
29  return theXi;
30  }

Member Data Documentation

float MediumProperties::theRadLen
private

Definition at line 35 of file MediumProperties.h.

Referenced by isValid(), and radLen().

float MediumProperties::theXi
private

Definition at line 36 of file MediumProperties.h.

Referenced by isValid(), and xi().