/search.css" rel="stylesheet" type="text/css"/> /search.js">
00001 00012 #ifndef GTTIMERATORTOOL_H 00013 #define GTTIMERATORTOOL_H 00014 00015 #include "GaudiKernel/RndmGenerators.h" 00016 #include "GaudiAlg/GaudiTool.h" 00017 00018 #include "GenTools/IHepMCEventMutator.h" 00019 00020 00021 class GtTimeratorTool : public GaudiTool, 00022 virtual public IHepMCEventMutator 00023 { 00024 public: 00025 GtTimeratorTool(const std::string& type, 00026 const std::string& name, 00027 const IInterface* parent); 00028 virtual ~GtTimeratorTool(); 00029 00030 virtual StatusCode initialize(); 00031 virtual StatusCode finalize(); 00032 00033 virtual StatusCode mutate(HepMC::GenEvent& event); 00034 00035 private: 00036 00038 00041 std::string m_distrib; 00042 00046 double m_lifetime; 00047 00049 00053 std::string m_mode; 00054 00055 Rndm::Numbers m_rand; 00056 }; 00057 00058 #endif // GTTIMERATORTOOL_H 00059 00060 00061 00062