The Gaudi Framework  master (181af51f)
Loading...
Searching...
No Matches
RandomNumberAlg.h
Go to the documentation of this file.
1/***********************************************************************************\
2* (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3* *
4* This software is distributed under the terms of the Apache version 2 licence, *
5* copied verbatim in the file "LICENSE". *
6* *
7* In applying this licence, CERN does not waive the privileges and immunities *
8* granted to it by virtue of its status as an Intergovernmental Organization *
9* or submit itself to any jurisdiction. *
10\***********************************************************************************/
11#pragma once
12
13// Framework include files
15#include <GaudiKernel/NTuple.h>
17
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition Algorithm.h:98
const std::string & name() const override
The identifying name of the algorithm object.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition ISvcLocator.h:42
Class acting as a smart pointer holding a N tuple _Item.
Definition NTuple.h:251
Abstract base class which allows the user to interact with the actual N tuple implementation.
Definition NTuple.h:380
NTuple::Item< float > m_exponential
Rndm::Numbers m_numbers
Allocate wrapper for random number generator.
~RandomNumberAlg() override
Standard Destructor.
StatusCode finalize() override
Customized finalisation.
NTuple::Item< float > m_poisson
uint32_t m_initial
Initial seed to fill deterministic random numbers.
StatusCode initialize() override
Customized initialisation.
NTuple::Item< float > m_gauss
NTuple::Item< int > m_int
N-tuple items.
RandomNumberAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor: A constructor of this form must be provided.
NTuple::Item< uint32_t > m_deter
StatusCode execute() override
Event callback.
NTuple::Tuple * m_ntuple
Pointer to N-tuple.
Random number accessor This small class encapsulates the use of the random number generator.
This class is used for returning status codes from appropriate routines.
Definition StatusCode.h:64