00001 #ifndef FASTSHOWER_C0HADLATEHCALEC2_H 00002 #define FASTSHOWER_C0HADLATEHCALEC2_H 00003 00004 #ifndef FASTSHOWER_ISAMPLER_H 00005 #include "FastShowerUtils/ISampler.h" 00006 #endif 00007 00008 #ifndef FASTSHOWER_DEBUGBASE_H 00009 #include "FastShowerUtils/DebugBase.h" 00010 #endif 00011 00012 #ifndef FASTSHOWER_IUPDATINGGAUSSIAN_H 00013 #include "FastShowerUtils/IUpdatingGaussian.h" 00014 #endif 00015 00016 #ifndef FASTSHOWER_ICELL0_H 00017 #include "FastShowerUtils/ICell0.h" 00018 #endif 00019 00020 #ifndef FASTSHOWER_SP_H 00021 #include "FastShowerUtils/SP.h" 00022 #endif 00023 00024 #ifndef STD_VECTOR_H 00025 #define STD_VECTOR_H 00026 #include <vector> 00027 #endif 00028 00029 #ifndef STD_STRING_H 00030 #define STD_STRING_H 00031 #include <string> 00032 #endif 00033 00034 namespace FastShower{ 00053 class IConfigurer; 00054 class CoreSamples; 00055 class PolyArgs; 00056 00057 class C0HadLateHcalEc2: 00058 virtual public ISampler, 00059 public ICell0, private DebugBase{ 00060 public: 00061 // 00062 C0HadLateHcalEc2(IUpdatingGaussian*); 00063 00064 C0HadLateHcalEc2(const IConfigurer*, const std::string&); 00065 00067 virtual ISampler* clone() const; 00068 00069 virtual void sample(const PolyArgs&, CoreSamples&) const; 00070 virtual double lastValue(const CoreSamples&) const; 00071 virtual void components(IDebug::Cpts& ) const; 00072 00073 private: 00074 // 00075 SP<IUpdatingGaussian> m_peak; 00076 }; 00077 }//namespace 00078 #endif 00079