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

FastShower::TailFracSNEmEcalBar1 Class Reference

#include <TailFracSNEmEcalBar1.h>

Inheritance diagram for FastShower::TailFracSNEmEcalBar1:

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

Collaboration graph
[legend]
List of all members.

Public Methods

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

Constructor & Destructor Documentation

FastShower::TailFracSNEmEcalBar1::TailFracSNEmEcalBar1   [inline]
 

Definition at line 26 of file TailFracSNEmEcalBar1.h.

Referenced by clone().

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

Member Function Documentation

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

Implements FastShower::IFn.

Definition at line 6 of file TailFracSNEmEcalBar1.cxx.

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

00006                                                              {
00007 
00008     double energy  = pa.pp()->energy();
00009 
00010     // non-saturated energy!!!
00011     if (energy<10.0) {
00012       return  0.65;
00013     }else if (energy<30.0) {
00014       return  0.75 - 0.01*energy;
00015     }else {
00016       return  0.0;
00017     }
00018 
00019   }

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

Implements FastShower::IFn.

Definition at line 21 of file TailFracSNEmEcalBar1.cxx.

References TailFracSNEmEcalBar1().

00021                                          {
00022     return new TailFracSNEmEcalBar1();
00023   }

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