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

HadEarlyHcalEcHaloCell3.cxx

Go to the documentation of this file.
00001 #include "FastShowerUtils/HaloCells/HadEarlyHcalEcHaloCell3.h"
00002 
00003 #include "FastShowerUtils/ParticleParameters.h"
00004 
00005 #include "CLHEP/Random/RandFlat.h"
00006 
00007 #include <cmath>
00008 
00009 namespace FastShower{
00010 
00011   double HadEarlyHcalEcHaloCell3::value(const ParticleParameters& pp) const{
00012     double energy = pp.energy();
00013     return 0.3283*exp(-0.05004*energy) + 0.5987;
00014   }
00015   //
00016   IFnOfParticleParameters* HadEarlyHcalEcHaloCell3::clone() const {
00017     return new HadEarlyHcalEcHaloCell3();
00018   }
00019 }//namespace

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