test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
PreshowerLayer2Properties Class Reference

#include <PreshowerLayer2Properties.h>

Inheritance diagram for PreshowerLayer2Properties:
PreshowerProperties CalorimeterProperties

Public Member Functions

double mipsPerGeV () const
 Number of Mips/GeV [Default : 59.5 Mips/GeV or 0.7*24 MeV/Mips]. More...
 
 PreshowerLayer2Properties (const edm::ParameterSet &fastDet)
 
double pseeIntLenIncm () const
 properties of the material between ES and EE; there is about 12 cm between the two. More...
 
double pseeRadLenIncm () const
 properties of the material between ES and EE More...
 
double sensitiveFraction () const
 Fraction of energy collected on sensitive detectors. More...
 
double thickness (const double eta) const
 
 ~PreshowerLayer2Properties ()
 
- Public Member Functions inherited from PreshowerProperties
double criticalEnergy () const
 Electron critical energy in GeV. More...
 
double interactionLength () const
 Muon critical energy in GeV. More...
 
double moliereRadius () const
 Moliere Radius in cm. More...
 
 PreshowerProperties ()
 
double radLenIncm () const
 Radiation length in cm. More...
 
double radLenIngcm2 () const
 Radiation length in g/cm^2. More...
 
double rho () const
 Density in g/cm3. More...
 
double theAeff () const
 Effective A. More...
 
double theZeff () const
 Effective Z. More...
 
 ~PreshowerProperties ()
 
- Public Member Functions inherited from CalorimeterProperties
 CalorimeterProperties ()
 
virtual ~CalorimeterProperties ()
 

Private Attributes

double pseeInteractionLength_
 
double pseeradLenIncm_
 

Additional Inherited Members

- Protected Attributes inherited from PreshowerProperties
double mips
 
double thick
 

Detailed Description

Definition at line 19 of file PreshowerLayer2Properties.h.

Constructor & Destructor Documentation

PreshowerLayer2Properties::PreshowerLayer2Properties ( const edm::ParameterSet fastDet)

Definition at line 6 of file PreshowerLayer2Properties.cc.

References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), PreshowerProperties::mips, pseeInteractionLength_, pseeradLenIncm_, and PreshowerProperties::thick.

7 {
8  // Preshower : mumber of Mips / GeV
9  mips = fastDet.getParameter<double>("PreshowerLayer2_mipsPerGeV");
10  thick = fastDet.getParameter<double>("PreshowerLayer2_thickness");
11  pseeradLenIncm_ = fastDet.getUntrackedParameter<double>("PreshowerEEGapRadLenInCm",63.);
12  pseeInteractionLength_ = fastDet.getUntrackedParameter<double>("PreshowerEEGapIntLenInCm",111.);
13 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
PreshowerLayer2Properties::~PreshowerLayer2Properties ( )
inline

Definition at line 26 of file PreshowerLayer2Properties.h.

26  {
27  ;}

Member Function Documentation

double PreshowerLayer2Properties::mipsPerGeV ( ) const
inlinevirtual

Number of Mips/GeV [Default : 59.5 Mips/GeV or 0.7*24 MeV/Mips].

Implements PreshowerProperties.

Definition at line 33 of file PreshowerLayer2Properties.h.

References PreshowerProperties::mips.

Referenced by EMShower::compute().

33 { return mips; }
double PreshowerLayer2Properties::pseeIntLenIncm ( ) const
inline

properties of the material between ES and EE; there is about 12 cm between the two.

Definition at line 40 of file PreshowerLayer2Properties.h.

References pseeInteractionLength_.

Referenced by CaloSegment::CaloSegment().

double PreshowerLayer2Properties::pseeRadLenIncm ( ) const
inline

properties of the material between ES and EE

Definition at line 42 of file PreshowerLayer2Properties.h.

References pseeradLenIncm_.

Referenced by CaloSegment::CaloSegment().

double PreshowerLayer2Properties::sensitiveFraction ( ) const
inlinevirtual

Fraction of energy collected on sensitive detectors.

Implements PreshowerProperties.

Definition at line 30 of file PreshowerLayer2Properties.h.

30 { return 0.00515; }
double PreshowerLayer2Properties::thickness ( const double  eta) const
virtual

Thickness in cm (pretend it's all lead) Default : 0.506 cm at normal incidence

Implements CalorimeterProperties.

Definition at line 15 of file PreshowerLayer2Properties.cc.

References alignCSCRings::e, reco::e2, create_public_lumi_plots::exp, and PreshowerProperties::thick.

Referenced by EcalHitMaker::preshowerCellLine().

15  {
16 
17  // eta is the pseudorapidity
18  double e = exp(-eta);
19  double e2 = e*e;
20  // 1 / cos theta
21  double cinv = (1.+e2)/(1.-e2);
22  // double c = (1.-e2)/(1.+e2);
23  // double s = 2.*e/(1.+e2);
24  // double t = 2.*e/(1.-e2);
25  double feta = fabs(eta);
26 
27  if ( 1.637 < feta && feta < 2.625 )
28  {
29  return thick * fabs(cinv);
30  }
31  else
32  {
33  return 0;
34  }
35 
36 }
Float e2
Definition: deltaR.h:21

Member Data Documentation

double PreshowerLayer2Properties::pseeInteractionLength_
private

Definition at line 45 of file PreshowerLayer2Properties.h.

Referenced by PreshowerLayer2Properties(), and pseeIntLenIncm().

double PreshowerLayer2Properties::pseeradLenIncm_
private

Definition at line 46 of file PreshowerLayer2Properties.h.

Referenced by PreshowerLayer2Properties(), and pseeRadLenIncm().