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

FastShower::EmEtaResponse Class Reference

transition region "response-loss" for e.m. particles. More...

#include <EmEtaResponse.h>

Inheritance diagram for FastShower::EmEtaResponse:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 EmEtaResponse ()
virtual double value (const ParticleParameters &) const
virtual IFnOfParticleParametersclone () const

Detailed Description

transition region "response-loss" for e.m. particles.

UML: IDistributionClass.unm

Definition at line 25 of file EmEtaResponse.h.


Constructor & Destructor Documentation

FastShower::EmEtaResponse::EmEtaResponse   [inline]
 

Definition at line 27 of file EmEtaResponse.h.

Referenced by clone().

00027 : IFnOfParticleParameters(), DebugBase("EmEtaResponse"){}

Member Function Documentation

double FastShower::EmEtaResponse::value const ParticleParameters   const [virtual]
 

Implements FastShower::IFnOfParticleParameters.

Definition at line 11 of file EmEtaResponse.cxx.

References FastShower::ParticleParameters::eta().

00011                                                                {
00012   
00013     double aEta = fabs(pp.eta());
00014 
00015     double p1 =  1.1095;
00016     double p2 =  -7.494*std::pow((aEta - p1),2);
00017     double p3 = -25.275*std::pow((aEta - p1),2);
00018     double p4 = 14.52;
00019 
00020     return ((aEta>1.3)&&(aEta<1.9))? 1.0 - std::exp(p2 - p4*std::exp(p3)) : 1.0;
00021   }

IFnOfParticleParameters * FastShower::EmEtaResponse::clone   const [virtual]
 

Implements FastShower::IFnOfParticleParameters.

Definition at line 23 of file EmEtaResponse.cxx.

References EmEtaResponse().

00023                                                       {
00024     return new EmEtaResponse(*this);
00025   }

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