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

SmearSoftPhotonBar.cxx

Go to the documentation of this file.
00001 #include "FastShowerUtils/Normalisers/SmearSoftPhotonBar.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   SmearSoftPhotonBar::SmearSoftPhotonBar(const ISingleShowererSelectorConfig* c,
00011                                          const std::string& s):
00012     IFnOfParticleParameters(),SmearSoftPhotonBase(c,s){
00013   }
00014   //
00015   double 
00016   SmearSoftPhotonBar::mean(const double energy) const {
00017     double a = 0.989;
00018     double b = 0.170;
00019     double c = 3.380;
00020 
00021     return  a - b*std::exp(-c*energy);
00022   }
00023   //
00024   IFnOfParticleParameters* SmearSoftPhotonBar::clone() const {
00025     return new SmearSoftPhotonBar(*this);
00026   }
00027 }//namespace
00028 
00029 
00030 

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