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

FastShower::TailAuxC0EmEcalEc1 Class Reference

Interface for single value fucntions of PolyArgs. More...

#include <TailAuxC0EmEcalEc1.h>

Inheritance diagram for FastShower::TailAuxC0EmEcalEc1:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 TailAuxC0EmEcalEc1 ()
virtual double value (const PolyArgs &) const
virtual IFnclone () const

Detailed Description

Interface for single value fucntions of PolyArgs.

UML: IDistributionClass.unm

Definition at line 21 of file TailAuxC0EmEcalEc1.h.


Constructor & Destructor Documentation

FastShower::TailAuxC0EmEcalEc1::TailAuxC0EmEcalEc1   [inline]
 

Definition at line 23 of file TailAuxC0EmEcalEc1.h.

Referenced by clone().

00023 :IFn(),DebugBase("TailAuxC0EmEcalEc1"){}

Member Function Documentation

double FastShower::TailAuxC0EmEcalEc1::value const PolyArgs   const [virtual]
 

Implements FastShower::IFn.

Definition at line 6 of file TailAuxC0EmEcalEc1.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 
00010     double result = (aDelPhi<0.03) ?
00011       (1.00 + 10.0*aDelPhi)*std::exp(0.65 - 0.045*energy):
00012       (0.8694-0.00765*energy)-(0.613-0.0061*energy)*(50*aDelPhi-1.5);
00013     return result;
00014   }

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

Implements FastShower::IFn.

Definition at line 16 of file TailAuxC0EmEcalEc1.cxx.

References TailAuxC0EmEcalEc1().

00016 {return new TailAuxC0EmEcalEc1();}

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