12 #include "AIDA/IHistogram1D.h"
13 #include "AIDA/IHistogram2D.h"
virtual ~RandomNumberAlg()
Standard Destructor.
Rndm::Numbers m_expNumbers
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
AIDA::IHistogram1D * m_poissonHisto
SmartIF< IHistogramSvc > & histoSvc() const
The standard histogram service.
Parameters for the Poisson distributed random number generation with a given mean.
Parameters for the Gauss random number generation.
virtual StatusCode execute()
Event callback.
bool isFailure() const
Test for a status code of FAILURE.
#define DECLARE_COMPONENT(type)
Rndm::Numbers m_poissonNumbers
This class is used for returning status codes from appropriate routines.
AIDA::IHistogram2D * m_gauss2Histo
SmartIF< IRndmGenSvc > & randSvc() const
AIDA-based NTuple service Returns a pointer to the AIDATuple service if present.
Base class from which all concrete algorithm classes should be derived.
virtual StatusCode initialize()
Customized initialisation.
AIDA::IHistogram1D * m_expHisto
virtual AIDA::IHistogram1D * book(const std::string &fullPath, const std::string &title, int binsX, double lowX, double highX)=0
Book histogram and register it with the histogram data store.
virtual StatusCode initialize(const SmartIF< IRndmGenSvc > &svc, const IRndmGen::Param &par)
Initialization.
Rndm::Numbers m_gaussNumbers
Allocate wrapper for random number generator.
virtual StatusCode finalize()
Customized finalisation.
A small algorithm class using the random number service.
Parameters for the Gauss random number generation.
AIDA::IHistogram1D * m_gaussHisto