Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

FastShower::TailFracC0EmEcalBar1 Class Reference

#include <TailFracC0EmEcalBar1.h>

Inheritance diagram for FastShower::TailFracC0EmEcalBar1:

Inheritance graph
[legend]
Collaboration diagram for FastShower::TailFracC0EmEcalBar1:

Collaboration graph
[legend]
List of all members.

Public Methods

 TailFracC0EmEcalBar1 ()
virtual double value (const PolyArgs &pa) const
virtual IFnclone () const

Constructor & Destructor Documentation

FastShower::TailFracC0EmEcalBar1::TailFracC0EmEcalBar1   [inline]
 

Definition at line 29 of file TailFracC0EmEcalBar1.h.

Referenced by clone().

00029 :IFn(),DebugBase("TailFracC0EmEcalBar1"){}

Member Function Documentation

double FastShower::TailFracC0EmEcalBar1::value const PolyArgs   pa const [virtual]
 

Implements FastShower::IFn.

Definition at line 6 of file TailFracC0EmEcalBar1.cxx.

References FastShower::ParticleParameters::delPhi(), FastShower::ParticleParameters::energy(), and FastShower::PolyArgs::pp().

00006                                                              {
00007     double energy  = pa.pp()->energy();
00008     double aDelPhi = fabs(pa.pp()->delPhi());
00009     double p1 =  0.175*std::exp(-0.025*energy) + 0.02;
00010     double p2 = -2.442*std::exp(-0.02789*energy) + 1.085;
00011      //
00012     return p1  + p2*aDelPhi;
00013   }

IFn * FastShower::TailFracC0EmEcalBar1::clone   const [virtual]
 

Implements FastShower::IFn.

Definition at line 15 of file TailFracC0EmEcalBar1.cxx.

References TailFracC0EmEcalBar1().

00015 {return new TailFracC0EmEcalBar1();}

The documentation for this class was generated from the following files:
Generated on Tue Mar 18 11:58:14 2003 for FastShowerUtils by doxygen1.3-rc1