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

SmearSoftPhotonEc.cxx

Go to the documentation of this file.
00001 #include "FastShowerUtils/Normalisers/SmearSoftPhotonEc.h"
00002 
00003 #include "FastShowerUtils/ParticleParameters.h"
00004 #include "FastShowerUtils/ISingleShowererSelectorConfig.h"
00005 
00006 #include <cmath>
00007 #include <string>
00008 #include <iostream>
00009 namespace FastShower{
00010   SmearSoftPhotonEc::SmearSoftPhotonEc(const ISingleShowererSelectorConfig* c, 
00011                                        const std::string& s):
00012     IFnOfParticleParameters(), SmearSoftPhotonBase(c,s){
00013   }
00014   //
00015   double 
00016   SmearSoftPhotonEc::mean(const double energy) const {
00017     double a = 0.950;
00018     double b = 0.742;
00019     double c = 4.959;
00020 
00021     return  a - b*std::exp(-c*energy);
00022   }
00023   //
00024   IFnOfParticleParameters* SmearSoftPhotonEc::clone() const {
00025     return new SmearSoftPhotonEc(*this);
00026   }
00027 }//namespace
00028 
00029 
00030 

Generated on Tue Mar 18 11:50:05 2003 for FastShowerUtils by doxygen1.3-rc1