Go to the documentation of this file.
41 return m_randomSeeds.empty() ?
StatusCode::SUCCESS : randSvc()->engine()->setSeeds( m_randomSeeds );
60 sc =
eventSvc()->registerObject(
"Header", hdr );
62 error() <<
"Unable to register Event Header" <<
endmsg;
67 int n = (int)( rndmflat() * 100. );
69 for (
int i = 0; i <
n; ++i ) {
72 double c = rndmgauss();
73 double b = rndmgauss();
74 double a = rndmgauss();
84 sc =
eventSvc()->registerObject(
"Tracks", myTracks );
void setRun(int value)
Update run number.
void setTime(const Gaudi::Time &value)
Update reference to event time stamp.
SmartIF< IRndmGenSvc > & randSvc() const
The standard RandomGen service, Return a pointer to the service if present.
StatusCode andThen(F &&f, ARGS &&... args) const
Chain code blocks making the execution conditional a success result.
SmartIF< IDataProviderSvc > & eventSvc() const
The standard event data service.
StatusCode initialize() override
the default (empty) implementation of IStateful::initialize() method
Parameters for the flat random number generation within boundaries [minimum, maximum].
Parameters for the Gauss random number generation.
Random number accessor This small class encapsulates the use of the random number generator.
template class KeyedContainer, KeyedContainer.h
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
const key_type & insert(const value_type val, const key_type &kval)
Insert entry to the container with a valid key.
void setEvent(Event *evt)
Access to event object.
constexpr static const auto SUCCESS
#define DECLARE_COMPONENT(type)
KeyedContainer< MyTrack > MyTrackVector
void setEvent(int value)
Update event number.