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

TailFracS0HadEarlyHcalEc1.cxx

Go to the documentation of this file.
00001 #include "FastShowerUtils/Samplers/TailFracS0HadEarlyHcalEc1.h"
00002 #include "FastShowerUtils/PolyArgs.h"
00003 
00004 #include <cmath>
00005 namespace FastShower{
00006 
00007   double TailFracS0HadEarlyHcalEc1::value(const PolyArgs&) const {
00008 
00009     //double energy = pa.pp()->energy();
00010     //double aDelEta = fabs(pa.pp()->delEta());
00011     //
00012     //double p1 = 0.1972 - 0.002350*energy;
00013     //double p2 = -1.449 - 0.001572*energy;
00014     //
00015     //return  p1 + p2*aDelEta;
00016     
00017     return 0.40;
00018   }
00019   //
00020   IFn* TailFracS0HadEarlyHcalEc1::clone() const {
00021     return new TailFracS0HadEarlyHcalEc1();
00022   }
00023 }//namespace
00024 
00025 

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