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

FastShower::PeakSigmaSNHadLateHcalEc12 Class Reference

#include <PeakSigmaSNHadLateHcalEc12.h>

Inheritance diagram for FastShower::PeakSigmaSNHadLateHcalEc12:

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

Collaboration graph
[legend]
List of all members.

Public Methods

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

Constructor & Destructor Documentation

FastShower::PeakSigmaSNHadLateHcalEc12::PeakSigmaSNHadLateHcalEc12   [inline]
 

Definition at line 25 of file PeakSigmaSNHadLateHcalEc12.h.

Referenced by clone().

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

Member Function Documentation

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

Implements FastShower::IFn.

Definition at line 6 of file PeakSigmaSNHadLateHcalEc12.cxx.

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

00006                                                                    {
00007 
00008     double energy = pa.pp()->energy();
00009     double fC0 = pa.cs()->cell0();
00010     //
00011     double p1 =  1.002*std::exp(-0.1153*energy) + 0.04421;
00012     double p2 = -1.662*std::exp(-0.1614*energy) - 0.02595;
00013 
00014     return  p1 + p2*fC0;
00015   }

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

Implements FastShower::IFn.

Definition at line 17 of file PeakSigmaSNHadLateHcalEc12.cxx.

References PeakSigmaSNHadLateHcalEc12().

00017                                                {
00018     return new PeakSigmaSNHadLateHcalEc12();
00019   }

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