#include <ECALBarrelProperties.h>
Public Member Functions | |
ECALBarrelProperties (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): 23.0 for Standard ECAL. | |
virtual | ~ECALBarrelProperties () |
Definition at line 18 of file ECALBarrelProperties.h.
ECALBarrelProperties::ECALBarrelProperties | ( | const edm::ParameterSet & | fastDet | ) |
Definition at line 9 of file ECALBarrelProperties.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 fastDetBarrel = fastDet.getParameter<edm::ParameterSet>("BarrelCalorimeterProperties"); lightColl_ = fastDetBarrel.getParameter<double>("lightColl"); lightCollUnif_ = fastDetBarrel.getParameter<double>("lightCollUnif"); photoStatistics_ = fastDetBarrel.getParameter<double>("photoStatistics"); thickness_ = fastDetBarrel.getParameter<double>("thickness"); interactionLength_ = fastDetBarrel.getParameter<double>("interactionLength"); Aeff_ = fastDetBarrel.getParameter<double>("Aeff"); Zeff_ = fastDetBarrel.getParameter<double>("Zeff"); rho_ = fastDetBarrel.getParameter<double>("rho"); radLenIngcm2_ = fastDetBarrel.getParameter<double>("radLenIngcm2"); radLenIncm_ = fastDetBarrel.getParameter<double>("radLenIncm"); radLenIncm_ = (radLenIncm_ < 0) ? radLenIngcm2_/rho_ : radLenIncm_; criticalEnergy_ = fastDetBarrel.getParameter<double>("criticalEnergy"); criticalEnergy_ = (criticalEnergy_ < 0) ? 2.66E-3*TMath::Power((radLenIngcm2_*Zeff_/Aeff_),1.1) : criticalEnergy_; moliereRadius_ = fastDetBarrel.getParameter<double>("moliereRadius"); moliereRadius_ = (moliereRadius_ < 0) ? scaleEnergy_/criticalEnergy_*radLenIncm_ : moliereRadius_; Fs_ = fastDetBarrel.getParameter<double>("Fs"); ehat_ = fastDetBarrel.getParameter<double>("ehat"); resE_ = fastDetBarrel.getParameter<double>("resE"); bHom_ = fastDetBarrel.getParameter<bool>("bHom"); bool debug = fastDetBarrel.getParameter<bool>("debug"); if (debug) LogDebug("ECALEndcapProperties") <<" ========== Barrel ========= " << 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 ECALBarrelProperties::~ECALBarrelProperties | ( | ) | [inline, virtual] |
Definition at line 25 of file ECALBarrelProperties.h.
{ }
double ECALBarrelProperties::lightCollectionEfficiency | ( | ) | const [inline, virtual] |
Light Collection efficiency [Default : 3.0%].
Implements ECALProperties.
Definition at line 34 of file ECALBarrelProperties.h.
References ECALProperties::lightColl_.
{ return lightColl_; }
double ECALBarrelProperties::lightCollectionUniformity | ( | ) | const [inline, virtual] |
Light Collection uniformity 0.003 for Standard ECAL.
Implements ECALProperties.
Definition at line 37 of file ECALBarrelProperties.h.
References ECALProperties::lightCollUnif_.
{return lightCollUnif_;}
double ECALBarrelProperties::photoStatistics | ( | ) | const [inline, virtual] |
Photostatistics (photons/GeV) in the homegeneous material: 50E3 for Standard ECAL.
Implements ECALProperties.
Definition at line 31 of file ECALBarrelProperties.h.
References ECALProperties::photoStatistics_.
{ return photoStatistics_; }
double ECALBarrelProperties::thickness | ( | double | eta | ) | const [inline, virtual] |
Thickness (in cm): 23.0 for Standard ECAL.
Implements CalorimeterProperties.
Definition at line 28 of file ECALBarrelProperties.h.
References ECALProperties::thickness_.
{ return thickness_; }