#include <PreshowerLayer1Properties.h>
Public Member Functions | |
double | mipsPerGeV () const |
Number of Mips/GeV [Default : 41.7 Mips/GeV or 24 MeV/Mips]. | |
PreshowerLayer1Properties (const edm::ParameterSet &fastDet) | |
double | sensitiveFraction () const |
Fraction of energy collected on sensitive detectors. | |
double | thickness (double eta) const |
~PreshowerLayer1Properties () |
Definition at line 19 of file PreshowerLayer1Properties.h.
PreshowerLayer1Properties::PreshowerLayer1Properties | ( | const edm::ParameterSet & | fastDet | ) |
Definition at line 5 of file PreshowerLayer1Properties.cc.
References edm::ParameterSet::getParameter(), PreshowerProperties::mips, and PreshowerProperties::thick.
: PreshowerProperties() { // Preshower : mumber of Mips / GeV mips = fastDet.getParameter<double>("PreshowerLayer1_mipsPerGeV"); thick = fastDet.getParameter<double>("PreshowerLayer1_thickness"); }
PreshowerLayer1Properties::~PreshowerLayer1Properties | ( | ) | [inline] |
Definition at line 26 of file PreshowerLayer1Properties.h.
{ ; }
double PreshowerLayer1Properties::mipsPerGeV | ( | ) | const [inline, virtual] |
Number of Mips/GeV [Default : 41.7 Mips/GeV or 24 MeV/Mips].
Implements PreshowerProperties.
Definition at line 34 of file PreshowerLayer1Properties.h.
References PreshowerProperties::mips.
Referenced by EMShower::compute().
{ return mips; }
double PreshowerLayer1Properties::sensitiveFraction | ( | ) | const [inline, virtual] |
Fraction of energy collected on sensitive detectors.
Implements PreshowerProperties.
Definition at line 31 of file PreshowerLayer1Properties.h.
{ return 0.0036; }
double PreshowerLayer1Properties::thickness | ( | double | eta | ) | const [virtual] |
Thickness in cm (Pretend it is all lead) Default : 1.02 cm at normal incidence
Implements CalorimeterProperties.
Definition at line 13 of file PreshowerLayer1Properties.cc.
References ExpressReco_HICollisions_FallBack::e, 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.623 < feta && feta < 2.611 ) { return thick * fabs(cinv); } else { return 0; } }