CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
 Light Collection efficiency [Default : 3.0%]. More...
 
double lightCollectionUniformity () const
 Light Collection uniformity 0.003 for Standard ECAL. More...
 
double photoStatistics () const
 Photostatistics (photons/GeV) in the homegeneous material: 50E3 for Standard ECAL. More...
 
double thickness (double eta) const
 Thickness (in cm): 23.0 for Standard ECAL. More...
 
virtual ~ECALBarrelProperties ()
 
- Public Member Functions inherited from ECALProperties
double criticalEnergy () const
 Critical energy in GeV (2.66E-3*(x0*Z/A)^1.1): 8.74E-3 for Standard ECAL. More...
 
 ECALProperties ()
 
double ehat () const
 ehat = e/mip of the calorimeter. 0 for homogeneous one More...
 
double interactionLength () const
 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
 Moliere Radius in cm : 2.190 for Standard ECAL. More...
 
double radLenIncm () const
 Radiation length in cm. More...
 
double radLenIngcm2 () const
 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
 Density in g/cm3: 8.280 for Standard ECAL. More...
 
double theAeff () const
 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
 Effective Z: 68.36 for Standard ECAL. More...
 
virtual ~ECALProperties ()
 
- Public Member Functions inherited from CalorimeterProperties
 CalorimeterProperties ()
 
virtual ~CalorimeterProperties ()
 

Additional Inherited Members

- Protected Attributes inherited from ECALProperties
double Aeff_
 
bool bHom_
 
double criticalEnergy_
 
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_, 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_.

10 {
11 
12  using namespace std;
13 
14  edm::ParameterSet fastDetBarrel = fastDet.getParameter<edm::ParameterSet>("BarrelCalorimeterProperties");
15 
16  lightColl_ = fastDetBarrel.getParameter<double>("lightColl");
17  lightCollUnif_ = fastDetBarrel.getParameter<double>("lightCollUnif");
18  photoStatistics_ = fastDetBarrel.getParameter<double>("photoStatistics");
19  thickness_ = fastDetBarrel.getParameter<double>("thickness");
20  interactionLength_ = fastDetBarrel.getParameter<double>("interactionLength");
21 
22  Aeff_ = fastDetBarrel.getParameter<double>("Aeff");
23  Zeff_ = fastDetBarrel.getParameter<double>("Zeff");
24  rho_ = fastDetBarrel.getParameter<double>("rho");
25  radLenIngcm2_ = fastDetBarrel.getParameter<double>("radLenIngcm2");
26 
27  radLenIncm_ = fastDetBarrel.getParameter<double>("radLenIncm");
29 
30  criticalEnergy_ = fastDetBarrel.getParameter<double>("criticalEnergy");
31  criticalEnergy_ = (criticalEnergy_ < 0) ? 2.66E-3*TMath::Power((radLenIngcm2_*Zeff_/Aeff_),1.1) : criticalEnergy_;
32 
33  moliereRadius_ = fastDetBarrel.getParameter<double>("moliereRadius");
35 
36  Fs_ = fastDetBarrel.getParameter<double>("Fs");
37  ehat_ = fastDetBarrel.getParameter<double>("ehat");
38  resE_ = fastDetBarrel.getParameter<double>("resE");
39 
40  bHom_ = fastDetBarrel.getParameter<bool>("bHom");
41 
42  bool debug = fastDetBarrel.getParameter<bool>("debug");
43 
44  if (debug)
45  LogDebug("ECALEndcapProperties") <<" ========== Barrel ========= " << endl
46  <<" \t\t isHom ? " << bHom_ << endl
47  <<" lightColl = " << lightColl_ << endl
48  <<" lightCollUnif_ = " << lightCollUnif_ << endl
49  <<" photoStatistics_ = " << photoStatistics_ << endl
50  <<" thickness_ = " << thickness_ << endl
51  <<" interactionLength_ = " << interactionLength_ << endl
52  <<" Aeff_ = " << Aeff_ << endl
53  <<" Zeff_ = " << Zeff_ << endl
54  <<" rho_ = " << rho_ << endl
55  <<" radLenIngcm2_ = " << radLenIngcm2_ << endl
56  <<" radLenIncm_ = " << radLenIncm_ << endl
57  <<" moliereRadius_ = " << moliereRadius_ << endl
58  <<" criticalEnergy_ = " << criticalEnergy_ << endl
59  <<" scaleEnergy_ = " << scaleEnergy_ << endl
60  <<" Fs = " << Fs_ << " ehat = " << ehat_ << " resE = " << resE_ << endl;
61 
62 
63 
64 
65 
66 }
#define LogDebug(id)
T getParameter(std::string const &) const
const double scaleEnergy_
double moliereRadius_
double criticalEnergy_
double radLenIngcm2_
double lightCollUnif_
double interactionLength_
double photoStatistics_
#define debug
Definition: MEtoEDMFormat.h:34
virtual ECALBarrelProperties::~ECALBarrelProperties ( )
inlinevirtual

Definition at line 25 of file ECALBarrelProperties.h.

25 { }

Member Function Documentation

double ECALBarrelProperties::lightCollectionEfficiency ( ) const
inlinevirtual

Light Collection efficiency [Default : 3.0%].

Implements ECALProperties.

Definition at line 34 of file ECALBarrelProperties.h.

References ECALProperties::lightColl_.

34 { return lightColl_; }
double ECALBarrelProperties::lightCollectionUniformity ( ) const
inlinevirtual

Light Collection uniformity 0.003 for Standard ECAL.

Implements ECALProperties.

Definition at line 37 of file ECALBarrelProperties.h.

References ECALProperties::lightCollUnif_.

37 {return lightCollUnif_;}
double lightCollUnif_
double ECALBarrelProperties::photoStatistics ( ) const
inlinevirtual

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

Implements ECALProperties.

Definition at line 31 of file ECALBarrelProperties.h.

References ECALProperties::photoStatistics_.

31 { return photoStatistics_; }
double photoStatistics_
double ECALBarrelProperties::thickness ( double  eta) const
inlinevirtual

Thickness (in cm): 23.0 for Standard ECAL.

Implements CalorimeterProperties.

Definition at line 28 of file ECALBarrelProperties.h.

References ECALProperties::thickness_.

28 { return thickness_; }