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

PeakSigmaC0HadLateHcalBar1.cxx

Go to the documentation of this file.
00001 #include "FastShowerUtils/Samplers/PeakSigmaC0HadLateHcalBar1.h"
00002 #include "FastShowerUtils/PolyArgs.h"
00003 
00004 #include <cmath>
00005 namespace FastShower{
00006 
00007   double PeakSigmaC0HadLateHcalBar1::value(const PolyArgs& pa) const {
00008 
00009     double energy  = pa.pp()->energy();
00010 
00011     //return 0.13 - 0.0008*energy;
00012     return 0.14 - 1.65e-3*energy + 7e-6*std::pow(energy,2.0);
00013   }
00014   //
00015   IFn* PeakSigmaC0HadLateHcalBar1::clone() const {
00016     return new PeakSigmaC0HadLateHcalBar1();
00017   }
00018 }//namespace
00019 
00020 

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