00001 #include "FastShowerUtils/HaloCells/HadLateHcalEcHaloCell12.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 HadLateHcalEcHaloCell12::value(const ParticleParameters& pp) const{ 00012 double energy = pp.energy(); 00013 return 0.2261*exp(-0.02690*energy) + 0.5290; 00014 } 00015 // 00016 IFnOfParticleParameters* HadLateHcalEcHaloCell12::clone() const { 00017 return new HadLateHcalEcHaloCell12(); 00018 } 00019 }//namespace