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

FastShower::PeakSigmaANEmEcalEc2 Class Reference

#include <PeakSigmaANEmEcalEc2.h>

Inheritance diagram for FastShower::PeakSigmaANEmEcalEc2:

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

Collaboration graph
[legend]
List of all members.

Public Methods

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

Constructor & Destructor Documentation

FastShower::PeakSigmaANEmEcalEc2::PeakSigmaANEmEcalEc2   [inline]
 

Definition at line 24 of file PeakSigmaANEmEcalEc2.h.

Referenced by clone().

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

Member Function Documentation

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

Implements FastShower::IFn.

Definition at line 6 of file PeakSigmaANEmEcalEc2.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     double p1 =  0.1220  - 0.0005475*energy;
00012     double p2 = -0.04204 - 0.00001007*energy;
00013     //
00014     return p1 + p2*snFrac;
00015   }

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

Implements FastShower::IFn.

Definition at line 17 of file PeakSigmaANEmEcalEc2.cxx.

References PeakSigmaANEmEcalEc2().

00017                                          {
00018     return new PeakSigmaANEmEcalEc2();
00019   }

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