CMS 3D CMS Logo

Public Member Functions | Private Attributes

PreshowerLayer2Properties Class Reference

#include <PreshowerLayer2Properties.h>

Inheritance diagram for PreshowerLayer2Properties:
PreshowerProperties CalorimeterProperties

List of all members.

Public Member Functions

double mipsPerGeV () const
 Number of Mips/GeV [Default : 59.5 Mips/GeV or 0.7*24 MeV/Mips].
 PreshowerLayer2Properties (const edm::ParameterSet &fastDet)
double pseeIntLenIncm () const
 properties of the material between ES and EE; there is about 12 cm between the two.
double pseeRadLenIncm () const
 properties of the material between ES and EE
double sensitiveFraction () const
 Fraction of energy collected on sensitive detectors.
double thickness (const double eta) const
 ~PreshowerLayer2Properties ()

Private Attributes

double pseeInteractionLength_
double pseeradLenIncm_

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.

                                                                                   : PreshowerProperties()
{
       // Preshower : mumber of Mips / GeV 
  mips = fastDet.getParameter<double>("PreshowerLayer2_mipsPerGeV");
  thick = fastDet.getParameter<double>("PreshowerLayer2_thickness");
  pseeradLenIncm_ = fastDet.getUntrackedParameter<double>("PreshowerEEGapRadLenInCm",63.);
  pseeInteractionLength_ = fastDet.getUntrackedParameter<double>("PreshowerEEGapIntLenInCm",111.);
}
PreshowerLayer2Properties::~PreshowerLayer2Properties ( ) [inline]

Definition at line 26 of file PreshowerLayer2Properties.h.

                               {
      ;}

Member Function Documentation

double PreshowerLayer2Properties::mipsPerGeV ( ) const [inline, virtual]

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

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

{return pseeradLenIncm_;}
double PreshowerLayer2Properties::sensitiveFraction ( ) const [inline, virtual]

Fraction of energy collected on sensitive detectors.

Implements PreshowerProperties.

Definition at line 30 of file PreshowerLayer2Properties.h.

{ 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 funct::exp(), and PreshowerProperties::thick.

Referenced by EcalHitMaker::preshowerCellLine().

                                                                  { 
  
  // eta is the pseudorapidity
  double e  = exp(-eta);
  double e2 = e*e;
  // 1 / cos theta
  double cinv  = (1.+e2)/(1.-e2);
  //    double c  = (1.-e2)/(1.+e2);
  //    double s  = 2.*e/(1.+e2);
  //    double t  = 2.*e/(1.-e2);
  double feta = fabs(eta);
  
  if ( 1.637 < feta && feta < 2.625 ) 
    {
      return thick * fabs(cinv); 
    }
  else
    {
      return 0;
    }
  
}

Member Data Documentation

Definition at line 45 of file PreshowerLayer2Properties.h.

Referenced by PreshowerLayer2Properties(), and pseeIntLenIncm().

Definition at line 46 of file PreshowerLayer2Properties.h.

Referenced by PreshowerLayer2Properties(), and pseeRadLenIncm().