7#ifndef ATHENASERVICES_TESTRANDOMSEQALG_H
8#define ATHENASERVICES_TESTRANDOMSEQALG_H 1
12#include "Gaudi/Property.h"
13#include "GaudiKernel/ServiceHandle.h"
15namespace CLHEP {
class HepRandomEngine; }
29 virtual StatusCode
execute()
override;
35 Gaudi::Property<std::string>
m_streamName{
this,
"StreamName",
"TEST",
"random number stream to use"};
36 Gaudi::Property<int>
m_noOfNo{
this,
"NoOfNo", 10,
"the number of random numbers to shoot and print per event"};
37 CLHEP::HepRandomEngine*
m_pEng{
nullptr};
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Property< std::string > m_streamName
virtual StatusCode initialize() override
CLHEP::HepRandomEngine * m_pEng
Gaudi::Property< int > m_noOfNo
ServiceHandle< IAtRndmGenSvc > m_rndmSvc
handle to the IAtRndmGenSvc we want to test
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode execute() override