00001 #ifndef FASTSHOWER_DISTRANDOMISER1D_H
00002 #define FASTSHOWER_DISTRANDOMISER1D_H
00003
00004 #ifndef FASTSHOWER_DEBUGBASE_H
00005 #include "FastShowerUtils/DebugBase.h"
00006 #endif
00007
00008 #ifndef CLHEP_RANDGENERAL_H
00009 #include "CLHEP/Random/RandGeneral.h"
00010 #endif
00011
00012 #include <string>
00013 #include <iostream>
00014 namespace FastShower{
00022 class DistRandomiser1D: private DebugBase{
00023 public:
00024 DistRandomiser1D(const std::string&);
00025 void readData(const std::string&, std::vector<double>&) const;
00026 double sample() const;
00027 ~DistRandomiser1D();
00028
00029 private:
00030 RandGeneral* m_Dist;
00031 };
00032 }
00033 #endif
00034
00035
00036
00037
00038