#include <FastSimulation/CalorimeterProperties/interface/HCALProperties.h>
Public Member Functions | |
double | criticalEnergy () const |
Critical energy in GeV (2.66E-3*(x0*Z/A)^1.1). | |
HCALProperties (const edm::ParameterSet &fastDet) | |
double | hOverPi () const |
h/pi Warning ! This is a ad-hoc parameter. | |
double | interactionLength () const |
Interaction length in cm. | |
double | moliereRadius () const |
Moliere Radius in cm (=7 A/Z in g/cm^2). | |
double | radLenIncm () const |
Radiation length in cm. | |
double | radLenIngcm2 () const |
Radiation length in g/cm^2. | |
double | rho () const |
Density in g/cm3. | |
double | spotFraction () const |
Spot fraction wrt ECAL. | |
double | theAeff () const |
Effective A. | |
double | theZeff () const |
Effective Z. | |
virtual | ~HCALProperties () |
Static Public Member Functions | |
static double | radiationLengthIncm () |
Radiation length in cm but static. | |
Private Attributes | |
double | hOPi |
double | spotFrac |
Definition at line 20 of file HCALProperties.h.
HCALProperties::HCALProperties | ( | const edm::ParameterSet & | fastDet | ) |
Definition at line 8 of file HCALProperties.cc.
References edm::ParameterSet::getParameter(), hOPi, and spotFrac.
00008 : CalorimeterProperties() 00009 { 00010 hOPi = fastDet.getParameter<double>("HCAL_PiOverE"); 00011 spotFrac= fastDet.getParameter<double>("HCAL_Sampling"); 00012 00013 }
virtual HCALProperties::~HCALProperties | ( | ) | [inline, virtual] |
double HCALProperties::criticalEnergy | ( | ) | const [inline, virtual] |
Critical energy in GeV (2.66E-3*(x0*Z/A)^1.1).
Implements CalorimeterProperties.
Definition at line 56 of file HCALProperties.h.
double HCALProperties::hOverPi | ( | ) | const [inline] |
h/pi Warning ! This is a ad-hoc parameter.
It has been tuned to get a good agreement on 1TeV electrons It might have nothing to do with reality
Definition at line 63 of file HCALProperties.h.
References hOPi.
Referenced by EMShower::compute().
00063 {return hOPi;}
double HCALProperties::interactionLength | ( | ) | const [inline, virtual] |
Interaction length in cm.
Implements CalorimeterProperties.
Reimplemented in HCALForwardProperties.
Definition at line 59 of file HCALProperties.h.
Referenced by CaloSegment::CaloSegment(), HDShower::HDShower(), HFShower::HFShower(), HDRShower::setFuncParam(), HCALEndcapProperties::thickness(), and HCALBarrelProperties::thickness().
double HCALProperties::moliereRadius | ( | ) | const [inline, virtual] |
Moliere Radius in cm (=7 A/Z in g/cm^2).
Implements CalorimeterProperties.
Definition at line 52 of file HCALProperties.h.
static double HCALProperties::radiationLengthIncm | ( | ) | [inline, static] |
Radiation length in cm but static.
Reimplemented in HCALForwardProperties.
Definition at line 46 of file HCALProperties.h.
Referenced by radLenIncm().
double HCALProperties::radLenIncm | ( | ) | const [inline, virtual] |
Radiation length in cm.
Implements CalorimeterProperties.
Reimplemented in HCALForwardProperties.
Definition at line 40 of file HCALProperties.h.
References radiationLengthIncm().
Referenced by CaloSegment::CaloSegment(), HDShower::HDShower(), HFShower::HFShower(), and HDRShower::setFuncParam().
00040 { return radiationLengthIncm(); }
double HCALProperties::radLenIngcm2 | ( | ) | const [inline, virtual] |
Radiation length in g/cm^2.
Implements CalorimeterProperties.
Reimplemented in HCALForwardProperties.
Definition at line 49 of file HCALProperties.h.
double HCALProperties::rho | ( | ) | const [inline, virtual] |
double HCALProperties::spotFraction | ( | ) | const [inline] |
Spot fraction wrt ECAL.
Definition at line 66 of file HCALProperties.h.
References spotFrac.
Referenced by EMShower::compute().
00066 {return spotFrac;}
double HCALProperties::theAeff | ( | ) | const [inline, virtual] |
double HCALProperties::theZeff | ( | ) | const [inline, virtual] |
double HCALProperties::hOPi [private] |
double HCALProperties::spotFrac [private] |