CMS 3D CMS Logo

List of all members | Public Member Functions
ECALBarrelProperties Class Reference

#include <ECALBarrelProperties.h>

Inheritance diagram for ECALBarrelProperties:
ECALProperties CalorimeterProperties

Public Member Functions

 ECALBarrelProperties (const edm::ParameterSet &fastDet)
 
double lightCollectionEfficiency () const override
 Light Collection efficiency [Default : 3.0%]. More...
 
double lightCollectionUniformity () const override
 Light Collection uniformity 0.003 for Standard ECAL. More...
 
double photoStatistics () const override
 Photostatistics (photons/GeV) in the homegeneous material: 50E3 for Standard ECAL. More...
 
double thickness (double eta) const override
 Thickness (in cm): 23.0 for Standard ECAL. More...
 
 ~ECALBarrelProperties () override
 
- Public Member Functions inherited from ECALProperties
double criticalEnergy () const override
 Critical energy in GeV (2.66E-3*(x0*Z/A)^1.1): 8.74E-3 for Standard ECAL. More...
 
double da () const
 the width of the active layer in the case of the homogeneous detector More...
 
double dp () const
 the width of the passive layer in the case of the homogeneous detector More...
 
 ECALProperties ()
 
double ehat () const
 ehat = e/mip of the calorimeter. 0 for homogeneous one More...
 
double interactionLength () const override
 Interaction length in cm: 18.5 for Standard ECAL. More...
 
bool isHom () const
 a rough estimate of ECAL resolution sigma/E = resE/sqrt(E) More...
 
double moliereRadius () const override
 Moliere Radius in cm : 2.190 for Standard ECAL. More...
 
double radLenIncm () const override
 Radiation length in cm. More...
 
double radLenIngcm2 () const override
 Radiation length in cm but static. More...
 
double resE () const
 a rough estimate of ECAL resolution sigma/E = resE/sqrt(E) More...
 
double rho () const override
 Density in g/cm3: 8.280 for Standard ECAL. More...
 
double theAeff () const override
 Effective A: 170.87 for Standard ECAL. More...
 
double theFs () const
 Sampling fraction Fs of the calorimeter. 0 for homogeneous one. More...
 
double theZeff () const override
 Effective Z: 68.36 for Standard ECAL. More...
 
 ~ECALProperties () override
 
- Public Member Functions inherited from CalorimeterProperties
 CalorimeterProperties ()
 
virtual ~CalorimeterProperties ()
 

Additional Inherited Members

- Protected Attributes inherited from ECALProperties
double Aeff_
 
bool bHom_
 
double criticalEnergy_
 
double da_
 
double dp_
 
double ehat_
 
double Fs_
 
double interactionLength_
 
double lightColl_
 
double lightCollUnif_
 
double moliereRadius_
 
double photoStatistics_
 
double radLenIncm_
 
double radLenIngcm2_
 
double resE_
 
double rho_
 
const double scaleEnergy_
 
double thickness_
 
double Zeff_
 

Detailed Description

Definition at line 18 of file ECALBarrelProperties.h.

Constructor & Destructor Documentation

ECALBarrelProperties::ECALBarrelProperties ( const edm::ParameterSet fastDet)

Definition at line 9 of file ECALBarrelProperties.cc.

References ECALProperties::Aeff_, ECALProperties::bHom_, ECALProperties::criticalEnergy_, ECALProperties::da_, debug, ECALProperties::dp_, ECALProperties::ehat_, ECALProperties::Fs_, edm::ParameterSet::getParameter(), ECALProperties::interactionLength_, ECALProperties::lightColl_, ECALProperties::lightCollUnif_, ECALProperties::moliereRadius_, ECALProperties::photoStatistics_, ECALProperties::radLenIncm_, ECALProperties::radLenIngcm2_, ECALProperties::resE_, ECALProperties::rho_, ECALProperties::scaleEnergy_, ECALProperties::thickness_, and ECALProperties::Zeff_.

9  {
10  edm::ParameterSet fastDetBarrel = fastDet.getParameter<edm::ParameterSet>("BarrelCalorimeterProperties");
11 
12  lightColl_ = fastDetBarrel.getParameter<double>("lightColl");
13  lightCollUnif_ = fastDetBarrel.getParameter<double>("lightCollUnif");
14  photoStatistics_ = fastDetBarrel.getParameter<double>("photoStatistics");
15  thickness_ = fastDetBarrel.getParameter<double>("thickness");
16  interactionLength_ = fastDetBarrel.getParameter<double>("interactionLength");
17 
18  Aeff_ = fastDetBarrel.getParameter<double>("Aeff");
19  Zeff_ = fastDetBarrel.getParameter<double>("Zeff");
20  rho_ = fastDetBarrel.getParameter<double>("rho");
21  radLenIngcm2_ = fastDetBarrel.getParameter<double>("radLenIngcm2");
22 
23  radLenIncm_ = fastDetBarrel.getParameter<double>("radLenIncm");
24  radLenIncm_ = (radLenIncm_ < 0) ? radLenIngcm2_ / rho_ : radLenIncm_;
25 
26  criticalEnergy_ = fastDetBarrel.getParameter<double>("criticalEnergy");
28  (criticalEnergy_ < 0) ? 2.66E-3 * TMath::Power((radLenIngcm2_ * Zeff_ / Aeff_), 1.1) : criticalEnergy_;
29 
30  moliereRadius_ = fastDetBarrel.getParameter<double>("moliereRadius");
31  moliereRadius_ = (moliereRadius_ < 0) ? scaleEnergy_ / criticalEnergy_ * radLenIncm_ : moliereRadius_;
32 
33  Fs_ = fastDetBarrel.getParameter<double>("Fs");
34  ehat_ = fastDetBarrel.getParameter<double>("ehat");
35  resE_ = fastDetBarrel.getParameter<double>("resE");
36 
37  da_ = fastDetBarrel.getParameter<double>("da");
38  dp_ = fastDetBarrel.getParameter<double>("dp");
39 
40  bHom_ = fastDetBarrel.getParameter<bool>("bHom");
41 
42  bool debug = fastDetBarrel.getParameter<bool>("debug");
43 
44  if (debug)
45  edm::LogInfo("ECALProperties") << " ========== Barrel ========= "
46  << "\n"
47  << " isHom ? " << bHom_ << "\n"
48  << " da = " << da_ << " dp = " << dp_ << " lightColl = " << lightColl_ << "\n"
49  << " lightCollUnif_ = " << lightCollUnif_ << "\n"
50  << " photoStatistics_ = " << photoStatistics_ << " photons/GeV\n"
51  << " thickness_ = " << thickness_ << " cm\n"
52  << " interactionLength_ = " << interactionLength_ << " cm\n"
53  << " Aeff_ = " << Aeff_ << "\n"
54  << " Zeff_ = " << Zeff_ << "\n"
55  << " rho_ = " << rho_ << " g/cm3\n"
56  << " radLenIngcm2_ = " << radLenIngcm2_ << " g*cm2\n"
57  << " radLenIncm_ = " << radLenIncm_ << " cm\n"
58  << " moliereRadius_ = " << moliereRadius_ << " cm\n"
59  << " criticalEnergy_ = " << criticalEnergy_ << " GeV\n"
60  << " scaleEnergy_ = " << scaleEnergy_ << " GeV\n"
61  << " Fs = " << Fs_ << " ehat = " << ehat_ << " resE = " << resE_ << "\n";
62 }
T getParameter(std::string const &) const
const double scaleEnergy_
double moliereRadius_
double criticalEnergy_
double radLenIngcm2_
#define debug
Definition: HDRShower.cc:19
double lightCollUnif_
double interactionLength_
double photoStatistics_
ECALBarrelProperties::~ECALBarrelProperties ( )
inlineoverride

Definition at line 22 of file ECALBarrelProperties.h.

22 {}

Member Function Documentation

double ECALBarrelProperties::lightCollectionEfficiency ( ) const
inlineoverridevirtual

Light Collection efficiency [Default : 3.0%].

Implements ECALProperties.

Definition at line 31 of file ECALBarrelProperties.h.

31 { return lightColl_; }
double ECALBarrelProperties::lightCollectionUniformity ( ) const
inlineoverridevirtual

Light Collection uniformity 0.003 for Standard ECAL.

Implements ECALProperties.

Definition at line 34 of file ECALBarrelProperties.h.

34 { return lightCollUnif_; }
double lightCollUnif_
double ECALBarrelProperties::photoStatistics ( ) const
inlineoverridevirtual

Photostatistics (photons/GeV) in the homegeneous material: 50E3 for Standard ECAL.

Implements ECALProperties.

Definition at line 28 of file ECALBarrelProperties.h.

28 { return photoStatistics_; }
double photoStatistics_
double ECALBarrelProperties::thickness ( double  eta) const
inlineoverridevirtual

Thickness (in cm): 23.0 for Standard ECAL.

Implements CalorimeterProperties.

Definition at line 25 of file ECALBarrelProperties.h.

25 { return thickness_; }