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

TailFracSNEmEcalEc2.cxx

Go to the documentation of this file.
00001 #include "FastShowerUtils/Samplers/TailFracSNEmEcalEc2.h"
00002 #include "FastShowerUtils/PolyArgs.h"
00003 
00004 #include <cmath>
00005 namespace FastShower{
00006 
00007   double TailFracSNEmEcalEc2::value(const PolyArgs& pa) const {
00008 
00009     double energy  = pa.pp()->energy();
00010     //
00011     return (energy<70.0) ? 0.15 : 0.0;
00012   }
00013   //
00014   IFn* TailFracSNEmEcalEc2::clone() const {
00015     return new TailFracSNEmEcalEc2();
00016   }
00017 }//namespace
00018 
00019 

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