00001 #ifndef FASTSHOWER_HADSHOWERER_H 00002 #define FASTSHOWER_HADSHOWERER_H 00003 00004 #ifndef FASTSHOWER_ECALSHARE_H 00005 #include "FastShowerUtils/EcalShare.h" 00006 #endif 00007 00008 #ifndef FASTSHOWER_COREFRACTION_H 00009 #include "FastShowerUtils/CoreFraction.h" 00010 #endif 00011 00012 #ifndef FASTSHOWER_SP_H 00013 #include "FastShowerUtils/SP.h" 00014 #endif 00015 00016 namespace FastShower{ 00021 class Showerer; 00022 00023 class HadShowerer{ 00024 public: 00025 HadShowerer (Showerer* early, Showerer* late); 00027 void shower(const ParticleParameters&, Gridlet&); 00028 private: 00029 std:pair<double, double> developmentSelector(const ParticleParameters&); 00030 void normalise(); 00031 00032 EHcalShare m_ehcalShare; 00033 CoreFraction m_coreFraction; 00034 Showerer* m_early; 00035 Showerer* m_late; 00036 }; 00037 } 00038 #endif