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

FastShower::PeakSigmaS0HadLateHcalBar1 Class Reference

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

#include <PeakSigmaS0HadLateHcalBar1.h>

Inheritance diagram for FastShower::PeakSigmaS0HadLateHcalBar1:

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

Collaboration graph
[legend]
List of all members.

Public Methods

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

Detailed Description

Interface for single value fucntions of PolyArgs.

UML: IDistributionClass.unm

Definition at line 22 of file PeakSigmaS0HadLateHcalBar1.h.


Constructor & Destructor Documentation

FastShower::PeakSigmaS0HadLateHcalBar1::PeakSigmaS0HadLateHcalBar1   [inline]
 

Definition at line 24 of file PeakSigmaS0HadLateHcalBar1.h.

Referenced by clone().

00024 :IFn(),DebugBase("PeakSigmaS0HadLateHcalBar1"){}

Member Function Documentation

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

Implements FastShower::IFn.

Definition at line 7 of file PeakSigmaS0HadLateHcalBar1.cxx.

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

00007                                                                    {
00008 
00009     double energy  = pa.pp()->energy();
00010     double aDelEta = fabs(pa.pp()->delEta());
00011     //
00012     //double p1 =  0.3410;
00013     //double p2 = -0.1148;
00014     //double p3 =  0.0667;
00015     double p1 =  0.25;
00016     double p2 = -0.15;
00017     double p3 =  0.10;
00018     double p4 =  0.5;
00019     //
00020     return  p1*std::exp(p2*energy) + p3 + p4*aDelEta;
00021   }

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

Implements FastShower::IFn.

Definition at line 23 of file PeakSigmaS0HadLateHcalBar1.cxx.

References PeakSigmaS0HadLateHcalBar1().

00023                                                {
00024     return new PeakSigmaS0HadLateHcalBar1();
00025   }

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