CMS 3D CMS Logo

Public Member Functions

ECALEndcapProperties Class Reference

#include <ECALEndcapProperties.h>

Inheritance diagram for ECALEndcapProperties:
ECALProperties CalorimeterProperties

List of all members.

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

Detailed Description

Definition at line 19 of file ECALEndcapProperties.h.


Constructor & Destructor Documentation

ECALEndcapProperties::ECALEndcapProperties ( const edm::ParameterSet fastDet)

Definition at line 9 of file ECALEndcapProperties.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 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");

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

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

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

  if (debug)
    edm::LogInfo("ECALProperties") <<" ========== Endcap ========= \n"
                                   <<" isHom ? " << bHom_ << "\n"
                                   <<" da = " << da_ << " dp = " << dp_ 
                                   <<" lightColl = " << lightColl_ << "\n"
                                   <<" lightCollUnif_ = " <<  lightCollUnif_  << "\n"
                                   <<" photoStatistics_ = " << photoStatistics_ << " photons/GeV\n"
                                   <<" thickness_ = " << thickness_ << " in 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 ECALEndcapProperties::~ECALEndcapProperties ( ) [inline, virtual]

Definition at line 26 of file ECALEndcapProperties.h.

{ }

Member Function Documentation

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