/search.css" rel="stylesheet" type="text/css"/> /search.js">
00001 //Author: Johnny Goett - 2 SEP 2008 00002 00003 #include "DybAlg/DybAlgorithm.h" 00004 #include "Event/RandomHeader.h" 00005 #include "GaudiKernel/RndmGenerators.h" 00006 #include <vector> 00007 #include <string> 00008 00010 00011 00012 class DybShuffle:public DybAlgorithm<DayaBay::RandomHeader> { 00013 public: 00014 00015 DybShuffle (const std::string& name, ISvcLocator* pSvcLocator); 00016 StatusCode initialize(); 00017 StatusCode execute(); 00018 StatusCode finalize(); 00019 00020 private: 00021 00022 std::vector<long> seed(); 00023 00024 IRndmGenSvc* m_rndSvc; 00025 IRndmEngine* m_engine; 00026 std::string m_engineName; 00027 00030 int m_hostid; 00031 00033 int m_run; 00034 00036 int m_countOffset; 00037 00039 int m_burnCount; 00040 00042 bool m_dohash; 00043 00044 std::vector<long> m_seedvec; 00045 00046 Rndm::Numbers m_uni; 00047 00048 00049 };