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

FastShower::TailFracSNEmEcalBar2 Class Reference

#include <TailFracSNEmEcalBar2.h>

Inheritance diagram for FastShower::TailFracSNEmEcalBar2:

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

Collaboration graph
[legend]
List of all members.

Public Methods

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

Constructor & Destructor Documentation

FastShower::TailFracSNEmEcalBar2::TailFracSNEmEcalBar2   [inline]
 

Definition at line 26 of file TailFracSNEmEcalBar2.h.

Referenced by clone().

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

Member Function Documentation

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

Implements FastShower::IFn.

Definition at line 6 of file TailFracSNEmEcalBar2.cxx.

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

00006                                                              {
00007 
00008     double energy  = pa.pp()->energy();
00009 
00010     if (energy<30.0) {
00011       return  0.10;
00012     }else if (energy<70.0) {
00013       return  0.05;
00014     }else {
00015       return  0.0;
00016     }
00017 
00018   }

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

Implements FastShower::IFn.

Definition at line 20 of file TailFracSNEmEcalBar2.cxx.

References TailFracSNEmEcalBar2().

00020                                          {
00021     return new TailFracSNEmEcalBar2();
00022   }

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