1 #ifndef EMECALShowerParametrization_H
2 #define EMECALShowerParametrization_H
27 const std::vector<double>& coreIntervals,
28 const std::vector<double>& tailIntervals,
42 inline double meanT(
double lny)
const {
52 return 1./(-1.4+1.26*lny); }
58 return 1./(-0.58+0.86*lny); }
61 return 0.705-0.023*lny; }
63 inline double nSpots(
double E)
const {
72 inline double p(
double tau,
double E)
const {
77 inline double rT(
double tau,
double E)
const {
82 inline double rC(
double tau,
double E)
const {
121 double p3(
double E)
const {
return 1.313-0.0686*
std::log(E); }
123 double z1(
double E)
const {
return 0.0251+0.00319*
std::log(E); }
127 double k2()
const {
return 0.6450; }
128 double k3()
const {
return -2.59; }
129 double k4(
double E)
const {
return 0.3585+0.0421*
std::log(E); }
const ECALProperties * theECAL
double sigmaLnT(double lny) const
const HCALProperties * hcalProperties() const
double meanLnT(double lny) const
double meanAlphaSpot(double alpha) const
double meanT(double lny) const
double theZeff() const
Effective Z.
EMECALShowerParametrization(const ECALProperties *ecal, const HCALProperties *hcal, const PreshowerLayer1Properties *layer1, const PreshowerLayer2Properties *layer2, const std::vector< double > &coreIntervals, const std::vector< double > &tailIntervals, double RCFact=1., double RTFact=1.)
double rC(double tau, double E) const
Exp< T >::type exp(const T &t)
const PreshowerLayer1Properties * theLayer1
const std::vector< double > & getTailIntervals() const
const std::vector< double > & getCoreIntervals() const
const PreshowerLayer2Properties * theLayer2
const HCALProperties * theHCAL
double p3(double E) const
const std::vector< double > & theCore
double rT(double tau, double E) const
const std::vector< double > & theTail
double z1(double E) const
const PreshowerLayer1Properties * layer1Properties() const
double correlationAlphaT(double lny) const
const ECALProperties * ecalProperties() const
Log< T >::type log(const T &t)
double p(double tau, double E) const
const PreshowerLayer2Properties * layer2Properties() const
virtual ~EMECALShowerParametrization()
double meanLnAlpha(double lny) const
double nSpots(double E) const
double meanTSpot(double T) const
double meanAlpha(double lny) const
double sigmaLnAlpha(double lny) const
double k4(double E) const
Power< A, B >::type pow(const A &a, const B &b)