ATLAS Offline Software
Control
AthenaServices
src
TestRandomSeqAlg.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef ATHENASERVICES_TESTRANDOMSEQALG_H
8
#define ATHENASERVICES_TESTRANDOMSEQALG_H 1
9
10
#include "
AthenaBaseComps/AthAlgorithm.h
"
11
#include "
AthenaKernel/IAtRndmGenSvc.h
"
12
#include "Gaudi/Property.h"
13
#include "GaudiKernel/ServiceHandle.h"
14
namespace
CLHEP
{
class
HepRandomEngine; }
22
class
TestRandomSeqAlg
:
public
AthAlgorithm
{
23
24
public
:
25
TestRandomSeqAlg
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
27
28
virtual
StatusCode
initialize
();
29
virtual
StatusCode
execute
();
30
//virtual StatusCode finalize();
32
33
private
:
35
ServiceHandle<IAtRndmGenSvc>
m_rndmSvc
;
36
StringProperty
m_streamName
;
38
IntegerProperty
m_noOfNo
;
39
CLHEP::HepRandomEngine*
m_pEng
;
40
};
41
42
#endif
TestRandomSeqAlg::TestRandomSeqAlg
TestRandomSeqAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
TestRandomSeqAlg.cxx:8
TestRandomSeqAlg::m_rndmSvc
ServiceHandle< IAtRndmGenSvc > m_rndmSvc
handle to the IAtRndmGenSvc we want to test
Definition:
TestRandomSeqAlg.h:35
TestRandomSeqAlg::initialize
virtual StatusCode initialize()
Definition:
TestRandomSeqAlg.cxx:21
AthAlgorithm.h
TestRandomSeqAlg::m_streamName
StringProperty m_streamName
Definition:
TestRandomSeqAlg.h:36
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CLHEP
STD'S.
Definition:
IAtRndmGenSvc.h:19
AthAlgorithm
Definition:
AthAlgorithm.h:47
IAtRndmGenSvc.h
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
TestRandomSeqAlg
Definition:
TestRandomSeqAlg.h:22
TestRandomSeqAlg::m_noOfNo
IntegerProperty m_noOfNo
number of random numbers to shoot (and print)
Definition:
TestRandomSeqAlg.h:38
TestRandomSeqAlg::execute
virtual StatusCode execute()
Definition:
TestRandomSeqAlg.cxx:30
TestRandomSeqAlg::m_pEng
CLHEP::HepRandomEngine * m_pEng
Definition:
TestRandomSeqAlg.h:39
ServiceHandle< IAtRndmGenSvc >
Generated on Thu Nov 7 2024 21:27:28 for ATLAS Offline Software by
1.8.18