#include <FastSimulation/CalorimeterProperties/interface/HCALForwardProperties.h>
Public Member Functions | |
HCALForwardProperties (const edm::ParameterSet &fastDet) | |
double | interactionLength () const |
Interaction length in cm. | |
double | radLenIncm () const |
Radiation length in cm. | |
double | radLenIngcm2 () const |
Radiation length in g/cm^2. | |
double | thickness (double eta) const |
Thickness (in cm) of the homegeneous material as a function of rapidity. | |
virtual | ~HCALForwardProperties () |
Static Public Member Functions | |
static double | radiationLengthIncm () |
Radiation length in cm but static. |
Definition at line 21 of file HCALForwardProperties.h.
HCALForwardProperties::HCALForwardProperties | ( | const edm::ParameterSet & | fastDet | ) | [inline] |
virtual HCALForwardProperties::~HCALForwardProperties | ( | ) | [inline, virtual] |
double HCALForwardProperties::interactionLength | ( | ) | const [inline, virtual] |
Interaction length in cm.
Reimplemented from HCALProperties.
Definition at line 40 of file HCALForwardProperties.h.
static double HCALForwardProperties::radiationLengthIncm | ( | ) | [inline, static] |
Radiation length in cm but static.
Reimplemented from HCALProperties.
Definition at line 34 of file HCALForwardProperties.h.
Referenced by radLenIncm().
double HCALForwardProperties::radLenIncm | ( | ) | const [inline, virtual] |
Radiation length in cm.
Reimplemented from HCALProperties.
Definition at line 31 of file HCALForwardProperties.h.
References radiationLengthIncm().
00031 { return radiationLengthIncm(); }
double HCALForwardProperties::radLenIngcm2 | ( | ) | const [inline, virtual] |
Radiation length in g/cm^2.
Reimplemented from HCALProperties.
Definition at line 37 of file HCALForwardProperties.h.
double HCALForwardProperties::thickness | ( | double | eta | ) | const [inline, virtual] |
Thickness (in cm) of the homegeneous material as a function of rapidity.
Implements CalorimeterProperties.
Definition at line 42 of file HCALForwardProperties.h.
References e, e2, and funct::exp().
00043 { 00044 double e = std::exp(-eta); 00045 double e2 = e*e; 00046 // 1 / cos theta 00047 double cinv = (1.+e2)/(1.-e2); 00048 // double c = (1.-e2)/(1.+e2); 00049 // double s = 2.*e/(1.+e2); 00050 // double t = 2.*e/(1.-e2); 00051 double feta = fabs(eta); 00052 if ( 3 < feta && feta < 5 ) 00053 { 00054 return 165. * fabs(cinv); 00055 } 00056 else 00057 { 00058 return 0; 00059 } 00060 }