CMS 3D CMS Logo

HCALProperties Class Reference

#include <FastSimulation/CalorimeterProperties/interface/HCALProperties.h>

Inheritance diagram for HCALProperties:

CalorimeterProperties HCALBarrelProperties HCALEndcapProperties HCALForwardProperties

List of all members.

Public Member Functions

double criticalEnergy () const
 Critical energy in GeV (2.66E-3*(x0*Z/A)^1.1).
 HCALProperties (const edm::ParameterSet &fastDet)
double hOverPi () const
 h/pi Warning ! This is a ad-hoc parameter.
double interactionLength () const
 Interaction length in cm.
double moliereRadius () const
 Moliere Radius in cm (=7 A/Z in g/cm^2).
double radLenIncm () const
 Radiation length in cm.
double radLenIngcm2 () const
 Radiation length in g/cm^2.
double rho () const
 Density in g/cm3.
double spotFraction () const
 Spot fraction wrt ECAL.
double theAeff () const
 Effective A.
double theZeff () const
 Effective Z.
virtual ~HCALProperties ()

Static Public Member Functions

static double radiationLengthIncm ()
 Radiation length in cm but static.

Private Attributes

double hOPi
double spotFrac


Detailed Description

Definition at line 20 of file HCALProperties.h.


Constructor & Destructor Documentation

HCALProperties::HCALProperties ( const edm::ParameterSet fastDet  ) 

Definition at line 8 of file HCALProperties.cc.

References edm::ParameterSet::getParameter(), hOPi, and spotFrac.

00008                                                              : CalorimeterProperties()
00009 {
00010   hOPi = fastDet.getParameter<double>("HCAL_PiOverE");
00011   spotFrac= fastDet.getParameter<double>("HCAL_Sampling");
00012  
00013 }

virtual HCALProperties::~HCALProperties (  )  [inline, virtual]

Definition at line 27 of file HCALProperties.h.

00027                             {
00028   }


Member Function Documentation

double HCALProperties::criticalEnergy (  )  const [inline, virtual]

Critical energy in GeV (2.66E-3*(x0*Z/A)^1.1).

Implements CalorimeterProperties.

Definition at line 56 of file HCALProperties.h.

00056 { return 18.63E-3; }

double HCALProperties::hOverPi (  )  const [inline]

h/pi Warning ! This is a ad-hoc parameter.

It has been tuned to get a good agreement on 1TeV electrons It might have nothing to do with reality

Definition at line 63 of file HCALProperties.h.

References hOPi.

Referenced by EMShower::compute().

00063 {return hOPi;}

double HCALProperties::interactionLength (  )  const [inline, virtual]

Interaction length in cm.

Implements CalorimeterProperties.

Reimplemented in HCALForwardProperties.

Definition at line 59 of file HCALProperties.h.

Referenced by CaloSegment::CaloSegment(), HDShower::HDShower(), HFShower::HFShower(), HDRShower::setFuncParam(), HCALEndcapProperties::thickness(), and HCALBarrelProperties::thickness().

00059 { return 15.05; }

double HCALProperties::moliereRadius (  )  const [inline, virtual]

Moliere Radius in cm (=7 A/Z in g/cm^2).

Implements CalorimeterProperties.

Definition at line 52 of file HCALProperties.h.

00052 { return 1.712; }

static double HCALProperties::radiationLengthIncm (  )  [inline, static]

Radiation length in cm but static.

Reimplemented in HCALForwardProperties.

Definition at line 46 of file HCALProperties.h.

Referenced by radLenIncm().

00046 { return 1.43; }

double HCALProperties::radLenIncm (  )  const [inline, virtual]

Radiation length in cm.

Implements CalorimeterProperties.

Reimplemented in HCALForwardProperties.

Definition at line 40 of file HCALProperties.h.

References radiationLengthIncm().

Referenced by CaloSegment::CaloSegment(), HDShower::HDShower(), HFShower::HFShower(), and HDRShower::setFuncParam().

00040 { return radiationLengthIncm(); }

double HCALProperties::radLenIngcm2 (  )  const [inline, virtual]

Radiation length in g/cm^2.

Implements CalorimeterProperties.

Reimplemented in HCALForwardProperties.

Definition at line 49 of file HCALProperties.h.

00049 { return 12.86; }

double HCALProperties::rho (  )  const [inline, virtual]

Density in g/cm3.

Implements CalorimeterProperties.

Definition at line 37 of file HCALProperties.h.

00037 { return 8.960; }

double HCALProperties::spotFraction (  )  const [inline]

Spot fraction wrt ECAL.

Definition at line 66 of file HCALProperties.h.

References spotFrac.

Referenced by EMShower::compute().

00066 {return spotFrac;}

double HCALProperties::theAeff (  )  const [inline, virtual]

Effective A.

Implements CalorimeterProperties.

Definition at line 31 of file HCALProperties.h.

00031 { return 63.546; }

double HCALProperties::theZeff (  )  const [inline, virtual]

Effective Z.

Implements CalorimeterProperties.

Definition at line 34 of file HCALProperties.h.

00034 { return 29.; }


Member Data Documentation

double HCALProperties::hOPi [private]

Definition at line 69 of file HCALProperties.h.

Referenced by HCALProperties(), and hOverPi().

double HCALProperties::spotFrac [private]

Definition at line 70 of file HCALProperties.h.

Referenced by HCALProperties(), and spotFraction().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:23:49 2009 for CMSSW by  doxygen 1.5.4