CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
EMECALShowerParametrization Class Reference

#include <EMECALShowerParametrization.h>

Public Member Functions

double correlationAlphaT (double lny) const
 
double correlationAlphaTHom (double lny) const
 
double correlationAlphaTSam (double lny) const
 
const ECALPropertiesecalProperties () const
 
 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.)
 
const std::vector< double > & getCoreIntervals () const
 
const std::vector< double > & getTailIntervals () const
 
const HCALPropertieshcalProperties () const
 
const PreshowerLayer1Propertieslayer1Properties () const
 
const PreshowerLayer2Propertieslayer2Properties () const
 
double meanAlpha (double lny) const
 
double meanAlphaHom (double lny) const
 
double meanAlphaSam (double lny) const
 
double meanAlphaSpot (double alpha) const
 
double meanAlphaSpotHom (double alpha) const
 
double meanAlphaSpotSam (double alpha) const
 
double meanLnAlpha (double lny) const
 
double meanLnAlphaHom (double lny) const
 
double meanLnAlphaSam (double lny) const
 
double meanLnT (double lny) const
 
double meanLnTHom (double lny) const
 
double meanLnTSam (double lny) const
 
double meanT (double lny) const
 
double meanTHom (double lny) const
 
double meanTSam (double lny) const
 
double meanTSpot (double T) const
 
double meanTSpotHom (double T) const
 
double meanTSpotSam (double T) const
 
double nSpots (double E) const
 
double nSpotsHom (double E) const
 
double nSpotsSam (double E) const
 
double p (double tau, double E) const
 
double pHom (double tau, double E) const
 
double pSam (double tau, double E) const
 
double rC (double tau, double E) const
 
double rCHom (double tau, double E) const
 
double rCSam (double tau, double E) const
 
double rT (double tau, double E) const
 
double rTHom (double tau, double E) const
 
double rTSam (double tau, double E) const
 
double sigmaLnAlpha (double lny) const
 
double sigmaLnAlphaHom (double lny) const
 
double sigmaLnAlphaSam (double lny) const
 
double sigmaLnT (double lny) const
 
double sigmaLnTHom (double lny) const
 
double sigmaLnTSam (double lny) const
 
virtual ~EMECALShowerParametrization ()
 

Private Member Functions

double k1 () const
 
double k2 () const
 
double k3 () const
 
double k4 (double E) const
 
double p1 () const
 
double p2 () const
 
double p3 (double E) const
 
double z1 (double E) const
 
double z2 () const
 

Private Attributes

const std::vector< double > & theCore
 
const ECALPropertiestheECAL
 
const HCALPropertiestheHCAL
 
const PreshowerLayer1PropertiestheLayer1
 
const PreshowerLayer2PropertiestheLayer2
 
double theRcfactor
 
double theRtfactor
 
const std::vector< double > & theTail
 

Detailed Description

Electromagnetic Shower parametrization utilities according to G. Grindhammer and S. Peters, hep-ex/0001020, Appendix A

Author
Patrick Janot
Date
: 25-Jan-2004

Definition at line 19 of file EMECALShowerParametrization.h.

Constructor & Destructor Documentation

EMECALShowerParametrization::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. 
)
inline

Definition at line 23 of file EMECALShowerParametrization.h.

30  :
31  theECAL(ecal),
32  theHCAL(hcal),
33  theLayer1(layer1),
34  theLayer2(layer2),
35  theCore(coreIntervals),
36  theTail(tailIntervals),
37  theRcfactor(RCFact),
38  theRtfactor(RTFact){}
const PreshowerLayer1Properties * theLayer1
const PreshowerLayer2Properties * theLayer2
const std::vector< double > & theCore
const std::vector< double > & theTail
virtual EMECALShowerParametrization::~EMECALShowerParametrization ( )
inlinevirtual

Definition at line 40 of file EMECALShowerParametrization.h.

40 { }

Member Function Documentation

double EMECALShowerParametrization::correlationAlphaT ( double  lny) const
inline

Definition at line 102 of file EMECALShowerParametrization.h.

References correlationAlphaTHom(), correlationAlphaTSam(), ECALProperties::isHom(), and theECAL.

Referenced by EMShower::EMShower().

102  {
103  if (theECAL->isHom()) return correlationAlphaTHom(lny);
104  return correlationAlphaTSam(lny); }
double correlationAlphaTSam(double lny) const
bool isHom() const
a rough estimate of ECAL resolution sigma/E = resE/sqrt(E)
double correlationAlphaTHom(double lny) const
double EMECALShowerParametrization::correlationAlphaTHom ( double  lny) const
inline

Definition at line 124 of file EMECALShowerParametrization.h.

Referenced by correlationAlphaT().

124  {
125  return 0.705-0.023*lny; }
double EMECALShowerParametrization::correlationAlphaTSam ( double  lny) const
inline

Definition at line 142 of file EMECALShowerParametrization.h.

Referenced by correlationAlphaT().

142  {
143  return 0.784-0.023*lny; }
const ECALProperties* EMECALShowerParametrization::ecalProperties ( ) const
inline

Definition at line 249 of file EMECALShowerParametrization.h.

References theECAL.

Referenced by EMShower::EMShower().

249  {
250  return theECAL;
251  }
const std::vector<double>& EMECALShowerParametrization::getCoreIntervals ( ) const
inline

Definition at line 265 of file EMECALShowerParametrization.h.

References theCore.

Referenced by EMShower::setIntervals().

265 { return theCore;}
const std::vector< double > & theCore
const std::vector<double>& EMECALShowerParametrization::getTailIntervals ( ) const
inline

Definition at line 267 of file EMECALShowerParametrization.h.

References theTail.

Referenced by EMShower::setIntervals().

267 { return theTail;}
const std::vector< double > & theTail
const HCALProperties* EMECALShowerParametrization::hcalProperties ( ) const
inline

Definition at line 253 of file EMECALShowerParametrization.h.

References theHCAL.

Referenced by EMShower::EMShower().

253  {
254  return theHCAL;
255  }
double EMECALShowerParametrization::k1 ( ) const
inlineprivate

Definition at line 289 of file EMECALShowerParametrization.h.

References ECALProperties::theZeff().

Referenced by rTHom().

289 { return 0.6590-0.00309*theECAL->theZeff(); }
double theZeff() const
Effective Z: 68.36 for Standard ECAL.
double EMECALShowerParametrization::k2 ( ) const
inlineprivate

Definition at line 290 of file EMECALShowerParametrization.h.

Referenced by rTHom().

290 { return 0.6450; }
double EMECALShowerParametrization::k3 ( ) const
inlineprivate

Definition at line 291 of file EMECALShowerParametrization.h.

Referenced by rTHom().

291 { return -2.59; }
double EMECALShowerParametrization::k4 ( double  E) const
inlineprivate

Definition at line 292 of file EMECALShowerParametrization.h.

References cmsBatch::log.

Referenced by rTHom().

292 { return 0.3585+0.0421*std::log(E); }
const PreshowerLayer1Properties* EMECALShowerParametrization::layer1Properties ( ) const
inline

Definition at line 257 of file EMECALShowerParametrization.h.

References theLayer1.

Referenced by EMShower::EMShower().

257  {
258  return theLayer1;
259  }
const PreshowerLayer1Properties * theLayer1
const PreshowerLayer2Properties* EMECALShowerParametrization::layer2Properties ( ) const
inline

Definition at line 261 of file EMECALShowerParametrization.h.

References theLayer2.

Referenced by EMShower::EMShower().

261  {
262  return theLayer2;
263  }
const PreshowerLayer2Properties * theLayer2
double EMECALShowerParametrization::meanAlpha ( double  lny) const
inline

Definition at line 51 of file EMECALShowerParametrization.h.

References ECALProperties::isHom(), meanAlphaHom(), meanAlphaSam(), and theECAL.

Referenced by EMShower::EMShower().

51  {
52  if (theECAL->isHom()) return meanAlphaHom(lny);
53  return meanAlphaSam(lny); }
double meanAlphaHom(double lny) const
bool isHom() const
a rough estimate of ECAL resolution sigma/E = resE/sqrt(E)
double meanAlphaSam(double lny) const
double EMECALShowerParametrization::meanAlphaHom ( double  lny) const
inline

Definition at line 62 of file EMECALShowerParametrization.h.

References theECAL, and ECALProperties::theZeff().

Referenced by meanAlpha(), and meanAlphaSam().

62  {
63  return 0.21+(0.492+2.38/theECAL->theZeff())*lny; }
double theZeff() const
Effective Z: 68.36 for Standard ECAL.
double EMECALShowerParametrization::meanAlphaSam ( double  lny) const
inline

Definition at line 72 of file EMECALShowerParametrization.h.

References meanAlphaHom(), theECAL, and ECALProperties::theFs().

Referenced by meanAlpha().

72  {
73  return meanAlphaHom(lny) - 0.444/theECAL->theFs(); }
double meanAlphaHom(double lny) const
double theFs() const
Sampling fraction Fs of the calorimeter. 0 for homogeneous one.
double EMECALShowerParametrization::meanAlphaSpot ( double  alpha) const
inline

Definition at line 215 of file EMECALShowerParametrization.h.

References ECALProperties::isHom(), meanAlphaSpotHom(), meanAlphaSpotSam(), and theECAL.

Referenced by EMShower::EMShower().

215  {
216  if (theECAL->isHom()) return meanAlphaSpotHom(alpha);
217  return meanAlphaSpotSam(alpha); }
float alpha
Definition: AMPTWrapper.h:95
double meanAlphaSpotSam(double alpha) const
bool isHom() const
a rough estimate of ECAL resolution sigma/E = resE/sqrt(E)
double meanAlphaSpotHom(double alpha) const
double EMECALShowerParametrization::meanAlphaSpotHom ( double  alpha) const
inline

Definition at line 230 of file EMECALShowerParametrization.h.

References theECAL, and ECALProperties::theZeff().

Referenced by meanAlphaSpot(), and meanAlphaSpotSam().

230  {
231  return alpha*(0.639+0.00334*theECAL->theZeff()); }
float alpha
Definition: AMPTWrapper.h:95
double theZeff() const
Effective Z: 68.36 for Standard ECAL.
double EMECALShowerParametrization::meanAlphaSpotSam ( double  alpha) const
inline

Definition at line 242 of file EMECALShowerParametrization.h.

References meanAlphaSpotHom(), theECAL, and ECALProperties::theZeff().

Referenced by meanAlphaSpot().

242  {
243  return meanAlphaSpotHom(alpha)*(0.844+0.0026*theECAL->theZeff()); }
float alpha
Definition: AMPTWrapper.h:95
double theZeff() const
Effective Z: 68.36 for Standard ECAL.
double meanAlphaSpotHom(double alpha) const
double EMECALShowerParametrization::meanLnAlpha ( double  lny) const
inline

Definition at line 92 of file EMECALShowerParametrization.h.

References ECALProperties::isHom(), meanLnAlphaHom(), meanLnAlphaSam(), and theECAL.

Referenced by EMShower::EMShower().

92  {
93  if (theECAL->isHom()) return meanLnAlphaHom(lny);
94  return meanLnAlphaSam(lny); }
bool isHom() const
a rough estimate of ECAL resolution sigma/E = resE/sqrt(E)
double meanLnAlphaSam(double lny) const
double meanLnAlphaHom(double lny) const
double EMECALShowerParametrization::meanLnAlphaHom ( double  lny) const
inline

Definition at line 118 of file EMECALShowerParametrization.h.

References cmsBatch::log, theECAL, and ECALProperties::theZeff().

Referenced by meanLnAlpha(), and meanLnAlphaSam().

118  {
119  return std::log(0.81+(0.458+2.26/theECAL->theZeff())*lny); }
double theZeff() const
Effective Z: 68.36 for Standard ECAL.
double EMECALShowerParametrization::meanLnAlphaSam ( double  lny) const
inline

Definition at line 136 of file EMECALShowerParametrization.h.

References JetChargeProducer_cfi::exp, cmsBatch::log, meanLnAlphaHom(), theECAL, and ECALProperties::theFs().

Referenced by meanLnAlpha().

136  {
137  return log( std::exp(meanLnAlphaHom(lny)) - 0.476/theECAL->theFs() ); }
double theFs() const
Sampling fraction Fs of the calorimeter. 0 for homogeneous one.
double meanLnAlphaHom(double lny) const
double EMECALShowerParametrization::meanLnT ( double  lny) const
inline

Definition at line 83 of file EMECALShowerParametrization.h.

References ECALProperties::isHom(), meanLnTHom(), meanLnTSam(), and theECAL.

Referenced by EMShower::EMShower().

83  {
84  if (theECAL->isHom()) return meanLnTHom(lny);
85  return meanLnTSam(lny); }
bool isHom() const
a rough estimate of ECAL resolution sigma/E = resE/sqrt(E)
double meanLnTSam(double lny) const
double meanLnTHom(double lny) const
double EMECALShowerParametrization::meanLnTHom ( double  lny) const
inline

Definition at line 111 of file EMECALShowerParametrization.h.

References cmsBatch::log.

Referenced by meanLnT(), and meanLnTSam().

111  {
112  return std::log(lny-0.812); }
double EMECALShowerParametrization::meanLnTSam ( double  lny) const
inline

Definition at line 130 of file EMECALShowerParametrization.h.

References ECALProperties::ehat(), JetChargeProducer_cfi::exp, cmsBatch::log, meanLnTHom(), theECAL, and ECALProperties::theFs().

Referenced by meanLnT().

130  {
131  return log( std::exp(meanLnTHom(lny)) - 0.55/theECAL->theFs() - 0.69*(1-theECAL->ehat()) ); }
double ehat() const
ehat = e/mip of the calorimeter. 0 for homogeneous one
double theFs() const
Sampling fraction Fs of the calorimeter. 0 for homogeneous one.
double meanLnTHom(double lny) const
double EMECALShowerParametrization::meanT ( double  lny) const
inline

Definition at line 47 of file EMECALShowerParametrization.h.

References ECALProperties::isHom(), meanTHom(), meanTSam(), and theECAL.

Referenced by EMShower::EMShower().

47  {
48  if (theECAL->isHom()) return meanTHom(lny);
49  return meanTSam(lny); }
bool isHom() const
a rough estimate of ECAL resolution sigma/E = resE/sqrt(E)
double meanTHom(double lny) const
double meanTSam(double lny) const
double EMECALShowerParametrization::meanTHom ( double  lny) const
inline

Definition at line 58 of file EMECALShowerParametrization.h.

Referenced by meanT(), and meanTSam().

58  {
59  return lny-0.858; }
double EMECALShowerParametrization::meanTSam ( double  lny) const
inline

Definition at line 69 of file EMECALShowerParametrization.h.

References ECALProperties::ehat(), meanTHom(), theECAL, and ECALProperties::theFs().

Referenced by meanT().

69  {
70  return meanTHom(lny) - 0.59/theECAL->theFs() - 0.53*(1.-theECAL->ehat()); }
double ehat() const
ehat = e/mip of the calorimeter. 0 for homogeneous one
double meanTHom(double lny) const
double theFs() const
Sampling fraction Fs of the calorimeter. 0 for homogeneous one.
double EMECALShowerParametrization::meanTSpot ( double  T) const
inline

Definition at line 211 of file EMECALShowerParametrization.h.

References ECALProperties::isHom(), meanTSpotHom(), meanTSpotSam(), and theECAL.

Referenced by EMShower::EMShower().

211  {
212  if (theECAL->isHom()) return meanTSpotHom(T);
213  return meanTSpotSam(T); }
bool isHom() const
a rough estimate of ECAL resolution sigma/E = resE/sqrt(E)
long double T
double EMECALShowerParametrization::meanTSpotHom ( double  T) const
inline

Definition at line 227 of file EMECALShowerParametrization.h.

References theECAL, and ECALProperties::theZeff().

Referenced by meanTSpot(), and meanTSpotSam().

227  {
228  return T*(0.698+0.00212*theECAL->theZeff()); }
double theZeff() const
Effective Z: 68.36 for Standard ECAL.
long double T
double EMECALShowerParametrization::meanTSpotSam ( double  T) const
inline

Definition at line 239 of file EMECALShowerParametrization.h.

References meanTSpotHom(), theECAL, and ECALProperties::theZeff().

Referenced by meanTSpot().

239  {
240  return meanTSpotHom(T)*(0.813+0.0019*theECAL->theZeff()); }
double theZeff() const
Effective Z: 68.36 for Standard ECAL.
long double T
double EMECALShowerParametrization::nSpots ( double  E) const
inline

Definition at line 207 of file EMECALShowerParametrization.h.

References ECALProperties::isHom(), nSpotsHom(), nSpotsSam(), and theECAL.

Referenced by EMShower::EMShower().

207  {
208  if (theECAL->isHom()) return nSpotsHom(E);
209  return nSpotsSam(E); }
bool isHom() const
a rough estimate of ECAL resolution sigma/E = resE/sqrt(E)
double EMECALShowerParametrization::nSpotsHom ( double  E) const
inline

Definition at line 224 of file EMECALShowerParametrization.h.

References cmsBatch::log, funct::pow(), theECAL, and ECALProperties::theZeff().

Referenced by nSpots().

224  {
225  return 93.*std::log(theECAL->theZeff()) * std::pow(E,0.876); }
double theZeff() const
Effective Z: 68.36 for Standard ECAL.
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:40
double EMECALShowerParametrization::nSpotsSam ( double  E) const
inline

Definition at line 236 of file EMECALShowerParametrization.h.

References funct::pow(), ECALProperties::resE(), and theECAL.

Referenced by nSpots().

236  {
237  return 10.3/theECAL->resE()*std::pow(E, 0.959); }
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:40
double resE() const
a rough estimate of ECAL resolution sigma/E = resE/sqrt(E)
double EMECALShowerParametrization::p ( double  tau,
double  E 
) const
inline

Definition at line 163 of file EMECALShowerParametrization.h.

References ECALProperties::isHom(), pHom(), pSam(), and theECAL.

Referenced by EMShower::compute(), and Electron.Electron::ptErr().

163  {
164  if (theECAL->isHom()) return pHom(tau, E);
165  return pSam(tau, E); }
double pSam(double tau, double E) const
bool isHom() const
a rough estimate of ECAL resolution sigma/E = resE/sqrt(E)
double pHom(double tau, double E) const
double EMECALShowerParametrization::p1 ( ) const
inlineprivate

Definition at line 282 of file EMECALShowerParametrization.h.

References ECALProperties::theZeff().

Referenced by pHom().

282 { return 2.632-0.00094*theECAL->theZeff(); }
double theZeff() const
Effective Z: 68.36 for Standard ECAL.
double EMECALShowerParametrization::p2 ( ) const
inlineprivate

Definition at line 283 of file EMECALShowerParametrization.h.

References ECALProperties::theZeff().

Referenced by pHom().

283 { return 0.401+0.00187*theECAL->theZeff(); }
double theZeff() const
Effective Z: 68.36 for Standard ECAL.
double EMECALShowerParametrization::p3 ( double  E) const
inlineprivate

Definition at line 284 of file EMECALShowerParametrization.h.

References cmsBatch::log.

Referenced by pHom().

284 { return 1.313-0.0686*std::log(E); }
double EMECALShowerParametrization::pHom ( double  tau,
double  E 
) const
inline

Definition at line 180 of file EMECALShowerParametrization.h.

References JetChargeProducer_cfi::exp, p1(), p2(), p3(), and metsig::tau.

Referenced by p(), and pSam().

180  {
181  double arg = (p2()-tau)/p3(E);
182  return p1()* std::exp(arg-std::exp(arg));
183  }
A arg
Definition: Factorize.h:36
double EMECALShowerParametrization::pSam ( double  tau,
double  E 
) const
inline

Definition at line 196 of file EMECALShowerParametrization.h.

References ECALProperties::ehat(), JetChargeProducer_cfi::exp, pHom(), funct::pow(), theECAL, and ECALProperties::theFs().

Referenced by p().

196  {
197  return pHom(tau, E) + (1-theECAL->ehat())*(0.348-0.642/theECAL->theFs()*std::exp(-1.*std::pow((tau-1),2) ) );
198  }
double ehat() const
ehat = e/mip of the calorimeter. 0 for homogeneous one
double theFs() const
Sampling fraction Fs of the calorimeter. 0 for homogeneous one.
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:40
double pHom(double tau, double E) const
double EMECALShowerParametrization::rC ( double  tau,
double  E 
) const
inline

Definition at line 155 of file EMECALShowerParametrization.h.

References ECALProperties::isHom(), rCHom(), rCSam(), and theECAL.

Referenced by EMShower::compute().

155  {
156  if (theECAL->isHom()) return rCHom(tau, E);
157  return rCSam(tau, E); }
bool isHom() const
a rough estimate of ECAL resolution sigma/E = resE/sqrt(E)
double rCSam(double tau, double E) const
double rCHom(double tau, double E) const
double EMECALShowerParametrization::rCHom ( double  tau,
double  E 
) const
inline

Definition at line 171 of file EMECALShowerParametrization.h.

References metsig::tau, theRcfactor, z1(), and z2().

Referenced by rC(), and rCSam().

double EMECALShowerParametrization::rCSam ( double  tau,
double  E 
) const
inline

Definition at line 188 of file EMECALShowerParametrization.h.

References ECALProperties::ehat(), JetChargeProducer_cfi::exp, rCHom(), theECAL, and ECALProperties::theFs().

Referenced by rC().

188  {
189  return rCHom(tau, E) - 0.0203*(1-theECAL->ehat()) + 0.0397/theECAL->theFs()*std::exp(-1.*tau);
190  }
double ehat() const
ehat = e/mip of the calorimeter. 0 for homogeneous one
double theFs() const
Sampling fraction Fs of the calorimeter. 0 for homogeneous one.
double rCHom(double tau, double E) const
double EMECALShowerParametrization::rT ( double  tau,
double  E 
) const
inline

Definition at line 159 of file EMECALShowerParametrization.h.

References ECALProperties::isHom(), rTHom(), rTSam(), and theECAL.

Referenced by EMShower::compute().

159  {
160  if (theECAL->isHom()) return rTHom(tau, E);
161  return rTSam(tau, E); }
double rTSam(double tau, double E) const
bool isHom() const
a rough estimate of ECAL resolution sigma/E = resE/sqrt(E)
double rTHom(double tau, double E) const
double EMECALShowerParametrization::rTHom ( double  tau,
double  E 
) const
inline
double EMECALShowerParametrization::rTSam ( double  tau,
double  E 
) const
inline

Definition at line 192 of file EMECALShowerParametrization.h.

References ECALProperties::ehat(), JetChargeProducer_cfi::exp, rTHom(), theECAL, and ECALProperties::theFs().

Referenced by rT().

192  {
193  return rTHom(tau, E) -0.14*(1-theECAL->ehat()) - 0.495/theECAL->theFs()*std::exp(-1.*tau);
194  }
double ehat() const
ehat = e/mip of the calorimeter. 0 for homogeneous one
double theFs() const
Sampling fraction Fs of the calorimeter. 0 for homogeneous one.
double rTHom(double tau, double E) const
double EMECALShowerParametrization::sigmaLnAlpha ( double  lny) const
inline

Definition at line 97 of file EMECALShowerParametrization.h.

References ECALProperties::isHom(), sigmaLnAlphaHom(), sigmaLnAlphaSam(), and theECAL.

Referenced by EMShower::EMShower().

97  {
98  if (theECAL->isHom()) return sigmaLnAlphaHom(lny);
99  return sigmaLnAlphaSam(lny); }
bool isHom() const
a rough estimate of ECAL resolution sigma/E = resE/sqrt(E)
double sigmaLnAlphaSam(double lny) const
double sigmaLnAlphaHom(double lny) const
double EMECALShowerParametrization::sigmaLnAlphaHom ( double  lny) const
inline

Definition at line 121 of file EMECALShowerParametrization.h.

Referenced by sigmaLnAlpha().

121  {
122  return 1./(-0.58+0.86*lny); }
double EMECALShowerParametrization::sigmaLnAlphaSam ( double  lny) const
inline

Definition at line 139 of file EMECALShowerParametrization.h.

Referenced by sigmaLnAlpha().

139  {
140  return 1./(-0.82+0.79*lny); }
double EMECALShowerParametrization::sigmaLnT ( double  lny) const
inline

Definition at line 87 of file EMECALShowerParametrization.h.

References ECALProperties::isHom(), sigmaLnTHom(), sigmaLnTSam(), and theECAL.

Referenced by EMShower::EMShower().

87  {
88  if (theECAL->isHom()) return sigmaLnTHom(lny);
89  return sigmaLnTSam(lny); }
double sigmaLnTSam(double lny) const
bool isHom() const
a rough estimate of ECAL resolution sigma/E = resE/sqrt(E)
double sigmaLnTHom(double lny) const
double EMECALShowerParametrization::sigmaLnTHom ( double  lny) const
inline

Definition at line 115 of file EMECALShowerParametrization.h.

Referenced by sigmaLnT().

115  {
116  return 1./(-1.4+1.26*lny); }
double EMECALShowerParametrization::sigmaLnTSam ( double  lny) const
inline

Definition at line 133 of file EMECALShowerParametrization.h.

Referenced by sigmaLnT().

133  {
134  return 1./(-2.5 + 1.25*lny); }
double EMECALShowerParametrization::z1 ( double  E) const
inlineprivate

Definition at line 286 of file EMECALShowerParametrization.h.

References cmsBatch::log.

Referenced by rCHom().

286 { return 0.0251+0.00319*std::log(E); }
double EMECALShowerParametrization::z2 ( ) const
inlineprivate

Definition at line 287 of file EMECALShowerParametrization.h.

References ECALProperties::theZeff().

Referenced by rCHom().

287 { return 0.1162-0.000381*theECAL->theZeff(); }
double theZeff() const
Effective Z: 68.36 for Standard ECAL.

Member Data Documentation

const std::vector<double>& EMECALShowerParametrization::theCore
private

Definition at line 276 of file EMECALShowerParametrization.h.

Referenced by getCoreIntervals().

const ECALProperties* EMECALShowerParametrization::theECAL
private
const HCALProperties* EMECALShowerParametrization::theHCAL
private

Definition at line 272 of file EMECALShowerParametrization.h.

Referenced by hcalProperties().

const PreshowerLayer1Properties* EMECALShowerParametrization::theLayer1
private

Definition at line 273 of file EMECALShowerParametrization.h.

Referenced by layer1Properties().

const PreshowerLayer2Properties* EMECALShowerParametrization::theLayer2
private

Definition at line 274 of file EMECALShowerParametrization.h.

Referenced by layer2Properties().

double EMECALShowerParametrization::theRcfactor
private

Definition at line 279 of file EMECALShowerParametrization.h.

Referenced by rCHom().

double EMECALShowerParametrization::theRtfactor
private

Definition at line 280 of file EMECALShowerParametrization.h.

Referenced by rTHom().

const std::vector<double>& EMECALShowerParametrization::theTail
private

Definition at line 277 of file EMECALShowerParametrization.h.

Referenced by getTailIntervals().