All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RandomNumberAlg.h
Go to the documentation of this file.
1 // $Header: /tmp/svngaudi/tmp.jEpFh25751/Gaudi/GaudiPython/src/Test/RandomNumberAlg.h,v 1.3 2008/10/27 19:22:21 marcocle Exp $ //
2 #ifndef GAUDIEXAMPLES_RANDOMNUMBERALG_H
3 #define GAUDIEXAMPLES_RANDOMNUMBERALG_H
4 
5 // Framework include files
6 #include "GaudiKernel/Algorithm.h"
7 #include "GaudiKernel/RndmGenerators.h"
8 
9 namespace AIDA {
10  class IHistogram1D;
11  class IHistogram2D;
12 }
13 
14 
21 class RandomNumberAlg : public Algorithm {
22  protected:
27 
28  AIDA::IHistogram1D* m_gaussHisto;
29  AIDA::IHistogram2D* m_gauss2Histo;
30  AIDA::IHistogram1D* m_poissonHisto;
31  AIDA::IHistogram1D* m_expHisto;
32 
33 public:
35  RandomNumberAlg(const std::string& name, ISvcLocator* pSvcLocator);
37  virtual ~RandomNumberAlg();
39  virtual StatusCode initialize();
41  virtual StatusCode finalize();
43  virtual StatusCode execute();
44 };
45 
46 #endif // GAUDIEXAMPLES_RANDOMNUMBERALG_H