#include <ECALEndcapProperties.h>
Public Member Functions | |
ECALEndcapProperties (const edm::ParameterSet &fastDet) | |
double | lightCollectionEfficiency () const |
Light Collection efficiency [Default : 3.0%]. | |
double | lightCollectionUniformity () const |
Light Collection uniformity 0.003 for Standard ECAL. | |
double | photoStatistics () const |
Photostatistics (photons/GeV) in the homegeneous material: 50E3 for Standard ECAL. | |
double | thickness (double eta) const |
Thickness (in cm): 22.0 for Standard ECAL. | |
virtual | ~ECALEndcapProperties () |
Definition at line 19 of file ECALEndcapProperties.h.
ECALEndcapProperties::ECALEndcapProperties | ( | const edm::ParameterSet & | fastDet | ) |
Definition at line 9 of file ECALEndcapProperties.cc.
References ECALProperties::Aeff_, ECALProperties::bHom_, ECALProperties::criticalEnergy_, debug, ECALProperties::ehat_, ECALProperties::Fs_, edm::ParameterSet::getParameter(), ECALProperties::interactionLength_, ECALProperties::lightColl_, ECALProperties::lightCollUnif_, LogDebug, ECALProperties::moliereRadius_, ECALProperties::photoStatistics_, ECALProperties::radLenIncm_, ECALProperties::radLenIngcm2_, ECALProperties::resE_, ECALProperties::rho_, ECALProperties::scaleEnergy_, ECALProperties::thickness_, and ECALProperties::Zeff_.
{ using namespace std; edm::ParameterSet fastDetEndcap = fastDet.getParameter<edm::ParameterSet>("EndcapCalorimeterProperties"); lightColl_ = fastDetEndcap.getParameter<double>("lightColl"); lightCollUnif_ = fastDetEndcap.getParameter<double>("lightCollUnif"); photoStatistics_ = fastDetEndcap.getParameter<double>("photoStatistics"); thickness_ = fastDetEndcap.getParameter<double>("thickness"); interactionLength_ = fastDetEndcap.getParameter<double>("interactionLength"); Aeff_ = fastDetEndcap.getParameter<double>("Aeff"); Zeff_ = fastDetEndcap.getParameter<double>("Zeff"); rho_ = fastDetEndcap.getParameter<double>("rho"); radLenIngcm2_ = fastDetEndcap.getParameter<double>("radLenIngcm2"); // Parameters that might be calculated out of the formulas radLenIncm_ = fastDetEndcap.getParameter<double>("radLenIncm"); radLenIncm_ = (radLenIncm_ < 0) ? radLenIngcm2_/rho_ : radLenIncm_; criticalEnergy_ = fastDetEndcap.getParameter<double>("criticalEnergy"); criticalEnergy_ = (criticalEnergy_ < 0) ? 2.66E-3*TMath::Power((radLenIngcm2_*Zeff_/Aeff_),1.1) : criticalEnergy_; moliereRadius_ = fastDetEndcap.getParameter<double>("moliereRadius"); moliereRadius_ = (moliereRadius_ < 0) ? scaleEnergy_/criticalEnergy_*radLenIncm_ : moliereRadius_; Fs_ = fastDetEndcap.getParameter<double>("Fs"); ehat_ = fastDetEndcap.getParameter<double>("ehat"); resE_ = fastDetEndcap.getParameter<double>("resE"); bHom_ = fastDetEndcap.getParameter<bool>("bHom"); bool debug = fastDetEndcap.getParameter<bool>("debug"); if (debug) LogDebug("ECALEndcapProperties") <<" ========== Endcap ========= " << endl <<" \t\t isHom ? " << bHom_ << endl <<" lightColl = " << lightColl_ << endl <<" lightCollUnif_ = " << lightCollUnif_ << endl <<" photoStatistics_ = " << photoStatistics_ << endl <<" thickness_ = " << thickness_ << endl <<" interactionLength_ = " << interactionLength_ << endl <<" Aeff_ = " << Aeff_ << endl <<" Zeff_ = " << Zeff_ << endl <<" rho_ = " << rho_ << endl <<" radLenIngcm2_ = " << radLenIngcm2_ << endl <<" radLenIncm_ = " << radLenIncm_ << endl <<" moliereRadius_ = " << moliereRadius_ << endl <<" criticalEnergy_ = " << criticalEnergy_ << endl <<" scaleEnergy_ = " << scaleEnergy_ << endl <<" Fs = " << Fs_ << " ehat = " << ehat_ << " resE = " << resE_ << endl; }
virtual ECALEndcapProperties::~ECALEndcapProperties | ( | ) | [inline, virtual] |
Definition at line 26 of file ECALEndcapProperties.h.
{ }
double ECALEndcapProperties::lightCollectionEfficiency | ( | ) | const [inline, virtual] |
Light Collection efficiency [Default : 3.0%].
Implements ECALProperties.
Definition at line 35 of file ECALEndcapProperties.h.
References ECALProperties::lightColl_.
{ return lightColl_; }
double ECALEndcapProperties::lightCollectionUniformity | ( | ) | const [inline, virtual] |
Light Collection uniformity 0.003 for Standard ECAL.
Implements ECALProperties.
Definition at line 38 of file ECALEndcapProperties.h.
References ECALProperties::lightCollUnif_.
{return lightCollUnif_;}
double ECALEndcapProperties::photoStatistics | ( | ) | const [inline, virtual] |
Photostatistics (photons/GeV) in the homegeneous material: 50E3 for Standard ECAL.
Implements ECALProperties.
Definition at line 32 of file ECALEndcapProperties.h.
References ECALProperties::photoStatistics_.
{ return photoStatistics_; }
double ECALEndcapProperties::thickness | ( | double | eta | ) | const [inline, virtual] |
Thickness (in cm): 22.0 for Standard ECAL.
Implements CalorimeterProperties.
Definition at line 29 of file ECALEndcapProperties.h.
References ECALProperties::thickness_.
{ return thickness_; }