#include <HadEcalHcalSharesBar.h>
Inheritance diagram for FastShower::HadEcalHcalSharesBar:
Public Methods | |
HadEcalHcalSharesBar (const ITripleShowererSelectorConfig *, const std::string &) | |
~HadEcalHcalSharesBar () | |
virtual double | mean (const double) const |
virtual double | sigma (const double) const |
virtual IFnOfParticleParameters2 * | clone () const |
|
Definition at line 12 of file HadEcalHcalSharesBar.cxx. Referenced by clone().
00013 : 00014 IFnOfParticleParameters2(),HadEcalHcalSharesBase(c,s){} // |
|
Definition at line 26 of file HadEcalHcalSharesBar.h.
00026 {} |
|
Implements FastShower::HadEcalHcalSharesBase. Definition at line 17 of file HadEcalHcalSharesBar.cxx.
00017 { 00018 double a[2]={1.0, 0.820}; 00019 double b[2]={-16.779, 0.420}; 00020 double c[2]={-8.374, 0.048}; 00021 00022 return (energy > 1.0)? a[0]+b[0]/std::pow((energy-c[0]),2) : 00023 a[1]*(1.-(1./(1.+std::exp((energy-b[1])/c[1])))) ; 00024 } |
|
Implements FastShower::HadEcalHcalSharesBase. Definition at line 27 of file HadEcalHcalSharesBar.cxx.
00027 { 00028 double alpha=0.46; 00029 double beta=0.08; 00030 00031 return std::sqrt( std::pow(alpha,2)/energy + std::pow(beta,2) ); 00032 } |
|
Implements FastShower::IFnOfParticleParameters2. Definition at line 34 of file HadEcalHcalSharesBar.cxx. References HadEcalHcalSharesBar().
00034 { 00035 return new HadEcalHcalSharesBar(*this); 00036 } |