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

FastShower::PeakMeanANEmEcalEc2 Class Reference

#include <PeakMeanANEmEcalEc2.h>

Inheritance diagram for FastShower::PeakMeanANEmEcalEc2:

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

Collaboration graph
[legend]
List of all members.

Public Methods

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

Constructor & Destructor Documentation

FastShower::PeakMeanANEmEcalEc2::PeakMeanANEmEcalEc2   [inline]
 

Definition at line 26 of file PeakMeanANEmEcalEc2.h.

Referenced by clone().

00026 :IFn(),DebugBase("PeakMeanANEmEcalEc2"){}

Member Function Documentation

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

Implements FastShower::IFn.

Definition at line 6 of file PeakMeanANEmEcalEc2.cxx.

References FastShower::CoreSamples::cellSN(), FastShower::PolyArgs::cs(), FastShower::ParticleParameters::energy(), and FastShower::PolyArgs::pp().

00006                                                             {
00007     //
00008     double energy  = pa.pp()->energy();
00009     double snFrac  = pa.cs()->cellSN();
00010 
00011 
00012     double p1 = 0.2297 + 0.00008741*energy;
00013     double p2 = 0.4978 + 0.00004704*energy;
00014     //
00015     return p1 + p2*snFrac;
00016   }

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

Implements FastShower::IFn.

Definition at line 18 of file PeakMeanANEmEcalEc2.cxx.

References PeakMeanANEmEcalEc2().

00018                                         {
00019     return new PeakMeanANEmEcalEc2();
00020   }

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