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

FastShower::PeakMeanC0EmEcalBar1 Class Reference

#include <PeakMeanC0EmEcalBar1.h>

Inheritance diagram for FastShower::PeakMeanC0EmEcalBar1:

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

Collaboration graph
[legend]
List of all members.

Public Methods

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

Constructor & Destructor Documentation

FastShower::PeakMeanC0EmEcalBar1::PeakMeanC0EmEcalBar1   [inline]
 

Definition at line 25 of file PeakMeanC0EmEcalBar1.h.

Referenced by clone().

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

Member Function Documentation

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

Implements FastShower::IFn.

Definition at line 7 of file PeakMeanC0EmEcalBar1.cxx.

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

00007                                                              {
00008     
00009     double aDelPhi = fabs(pa.pp()->delPhi());
00010     //
00011     double p1 = 0.0488725;
00012     double p2 = 0.005662;
00013     double p3 = 0.9874;
00014     double p4 = 0.05283;
00015     //
00016     double mean = (aDelPhi<p1) ?
00017                    p3/(1. + std::exp((aDelPhi-p1)/p2)) :
00018                    p3/(1. + std::exp((aDelPhi-p1)/p2)) + p4;
00019     return mean;
00020   }

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

Implements FastShower::IFn.

Definition at line 22 of file PeakMeanC0EmEcalBar1.cxx.

References PeakMeanC0EmEcalBar1().

00022                                          {
00023     return new PeakMeanC0EmEcalBar1();
00024   }

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