00001 #ifndef FASTSHOWER_SNHADEARLYHCALEC1_H 00002 #define FASTSHOWER_SNHADEARLYHCALEC1_H 00003 00004 #ifndef FASTSHOWER_ISAMPLER_H 00005 #include "FastShowerUtils/ISampler.h" 00006 #endif 00007 00008 #ifndef FASTSHOWER_ICELLSN_H 00009 #include "FastShowerUtils/ICellSN.h" 00010 #endif 00011 00012 #ifndef FASTSHOWER_DEBUGBASE_H 00013 #include "FastShowerUtils/DebugBase.h" 00014 #endif 00015 00016 #ifndef FASTSHOWER_IUPDATINGGAUSSIAN_H 00017 #include "FastShowerUtils/IUpdatingGaussian.h" 00018 #endif 00019 00020 #ifndef FASTSHOWER_SP_H 00021 #include "FastShowerUtils/SP.h" 00022 #endif 00023 00024 00025 #ifndef STD_STRING_H 00026 #define STD_STRING_H 00027 #include <string> 00028 #endif 00029 00030 namespace FastShower{ 00049 class IConfigurer; 00050 class CoreSamples; 00051 class PolyArgs; 00052 00053 class SNHadEarlyHcalEc1: 00054 virtual public ISampler, 00055 public ICellSN, private DebugBase{ 00056 public: 00057 // 00058 SNHadEarlyHcalEc1(IUpdatingGaussian*); 00059 00060 SNHadEarlyHcalEc1(const IConfigurer*, const std::string&); 00061 00063 virtual ISampler* clone() const; 00064 00065 virtual void sample(const PolyArgs&, CoreSamples&) const; 00066 virtual double lastValue(const CoreSamples& cs) const; 00067 virtual void components(IDebug::Cpts& ) const; 00068 00069 private: 00070 // 00071 SP<IUpdatingGaussian> m_peak; 00072 }; 00073 }//namespace 00074 #endif 00075 00076 00077 00078 00079 00080 00081 00082 00083 00084 00085 00086