#include <FastSimulation/CalorimeterProperties/interface/HCALEndcapProperties.h>
Public Member Functions | |
HCALEndcapProperties (const edm::ParameterSet &fastDet) | |
double | thickness (const double eta) const |
Thickness (in cm), according to a document of 1995. TO be checked. | |
virtual | ~HCALEndcapProperties () |
Definition at line 17 of file HCALEndcapProperties.h.
HCALEndcapProperties::HCALEndcapProperties | ( | const edm::ParameterSet & | fastDet | ) | [inline] |
virtual HCALEndcapProperties::~HCALEndcapProperties | ( | ) | [inline, virtual] |
double HCALEndcapProperties::thickness | ( | const double | eta | ) | const [inline, virtual] |
Thickness (in cm), according to a document of 1995. TO be checked.
Implements CalorimeterProperties.
Definition at line 27 of file HCALEndcapProperties.h.
References c, e, e1, e2, funct::exp(), HCALProperties::interactionLength(), and t.
00027 { 00028 00029 double e = std::exp(-eta); 00030 double e2 = e*e; 00031 double c = (1.-e2)/(1.+e2); 00032 // double s = 2.*e/(1.+e2); 00033 double t = fabs(2.*e/(1.-e2)); 00034 double feta = fabs(eta); 00035 00036 if ( 1.440 < feta && feta < 1.550 ) 00037 { 00038 double e1 = std::exp(-1.550); 00039 double t1 = 2.*e1 /(1.-e1*e1); 00040 // 388.0 cm is the inner z of HCAL 00041 return ((10.78*interactionLength()+388.0) * t1/t - 388.0) / fabs(c); 00042 } 00043 else if ( 1.550 <= feta && feta < 3. ) 00044 { 00045 return 10.78 * interactionLength() / fabs(c) ; 00046 } 00047 else 00048 { 00049 return 0.; 00050 } 00051 }