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

FastShower::PeakSigmaSNHadLateHcalBar12 Class Reference

#include <PeakSigmaSNHadLateHcalBar12.h>

Inheritance diagram for FastShower::PeakSigmaSNHadLateHcalBar12:

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

Collaboration graph
[legend]
List of all members.

Public Methods

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

Constructor & Destructor Documentation

FastShower::PeakSigmaSNHadLateHcalBar12::PeakSigmaSNHadLateHcalBar12   [inline]
 

Definition at line 25 of file PeakSigmaSNHadLateHcalBar12.h.

Referenced by clone().

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

Member Function Documentation

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

Implements FastShower::IFn.

Definition at line 7 of file PeakSigmaSNHadLateHcalBar12.cxx.

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

00007                                                                     {
00008 
00009     double energy = pa.pp()->energy();
00010     double fC0 = pa.cs()->cell0();
00011     //
00012     double p1 =  1.714*std::exp(-0.1814*energy) + 0.03575;
00013     double p2 = -2.053*std::exp(-0.1952*energy) - 0.02340;
00014 
00015     return  p1 + p2*fC0;
00016   }

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

Implements FastShower::IFn.

Definition at line 18 of file PeakSigmaSNHadLateHcalBar12.cxx.

References PeakSigmaSNHadLateHcalBar12().

00018                                                 {
00019     return new PeakSigmaSNHadLateHcalBar12();
00020   }

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