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

FastShower::TailAuxC0EmEcalBar1 Class Reference

#include <TailAuxC0EmEcalBar1.h>

Inheritance diagram for FastShower::TailAuxC0EmEcalBar1:

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

Collaboration graph
[legend]
List of all members.

Public Methods

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

Constructor & Destructor Documentation

FastShower::TailAuxC0EmEcalBar1::TailAuxC0EmEcalBar1   [inline]
 

Definition at line 25 of file TailAuxC0EmEcalBar1.h.

Referenced by clone().

00025 :IFn(),DebugBase("TailAuxC0EmEcalBar1"){}

Member Function Documentation

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

Implements FastShower::IFn.

Definition at line 6 of file TailAuxC0EmEcalBar1.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 = 2.650;
00010     double p2 = -0.115;
00011     double p3 = 0.050;
00012     //
00013     double result = p1*std::exp(p2*energy) + p3;
00014     if ((energy>15.) && (energy<70.)) {
00015       result = (aDelPhi>0.03) ?
00016                 (2.+10.*aDelPhi)*result :
00017                 (1.+20.*aDelPhi)*result;
00018     }
00019     return result;
00020   }

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

Implements FastShower::IFn.

Definition at line 22 of file TailAuxC0EmEcalBar1.cxx.

References TailAuxC0EmEcalBar1().

00022 { return new TailAuxC0EmEcalBar1();}

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