CMS 3D CMS Logo

Public Member Functions

ECALBarrelProperties Class Reference

#include <ECALBarrelProperties.h>

Inheritance diagram for ECALBarrelProperties:
ECALProperties CalorimeterProperties

List of all members.

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 ()

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_.

{
 
  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");

  da_ = fastDetBarrel.getParameter<double>("da");
  dp_ = fastDetBarrel.getParameter<double>("dp");

  bHom_ = fastDetBarrel.getParameter<bool>("bHom");

  bool debug = fastDetBarrel.getParameter<bool>("debug");


  if (debug)
    edm::LogInfo("ECALProperties")  <<" ========== Barrel ========= " << "\n"
                                    <<" isHom ? " << bHom_ << "\n"
                                    <<" da = " << da_ << " dp = " << dp_ 
                                    <<" lightColl = " << lightColl_ << "\n"
                                    <<" lightCollUnif_ = " <<  lightCollUnif_  << "\n"
                                    <<" photoStatistics_ = " << photoStatistics_ << " photons/GeV\n"
                                    <<" thickness_ = " << thickness_ << " cm\n"
                                    <<" interactionLength_ = " << interactionLength_ << " cm\n"
                                    <<" Aeff_ = " << Aeff_ << "\n"
                                    <<" Zeff_ = " << Zeff_ << "\n"
                                    <<" rho_ = " << rho_ << " g/cm3\n"
                                    <<" radLenIngcm2_ = " << radLenIngcm2_ << " g*cm2\n"
                                    <<" radLenIncm_ = " << radLenIncm_ << " cm\n"
                                    <<" moliereRadius_ = " << moliereRadius_ << " cm\n"
                                    <<" criticalEnergy_ = " << criticalEnergy_ << " GeV\n"
                                    <<" scaleEnergy_ = " << scaleEnergy_ << " GeV\n"
                                    <<" Fs = " << Fs_ << " ehat = " << ehat_ << " resE = " << resE_ << "\n";


}
virtual ECALBarrelProperties::~ECALBarrelProperties ( ) [inline, virtual]

Definition at line 25 of file ECALBarrelProperties.h.

{ }

Member Function Documentation

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_; }