Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework
master (01b473db)
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
a
c
d
e
f
i
l
m
n
o
p
q
r
s
t
v
Enumerator
a
b
c
d
e
f
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Properties
Related Functions
:
a
b
c
d
e
g
h
i
m
o
p
r
s
t
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
b
c
e
f
g
h
i
l
m
o
p
r
s
t
u
z
Variables
a
b
c
d
e
g
h
i
m
o
p
q
r
s
t
v
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
Enumerations
Enumerator
Macros
_
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
IRndmGenSvc.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
#include <
GaudiKernel/IRndmGen.h
>
14
#include <
GaudiKernel/IService.h
>
15
#include <
GaudiKernel/SmartIF.h
>
16
#include <string>
17
#include <vector>
18
19
class
IRndmGen
;
20
class
StreamBuffer
;
21
class
IRndmEngine
;
22
class
IRndmGenFactory;
23
40
class
GAUDI_API
IRndmGenSvc
:
virtual
public
IService
{
41
public
:
43
DeclareInterfaceID
(
IRndmGenSvc
, 2, 1 );
47
virtual
IRndmEngine
*
engine
() = 0;
48
53
virtual
StatusCode
generator
(
const
IRndmGen::Param
&
par
,
IRndmGen
*& refpGen ) = 0;
54
55
SmartIF<IRndmGen>
generator
(
const
IRndmGen::Param
&
par
) {
56
IRndmGen
* gen =
nullptr
;
57
;
58
generator(
par
, gen ).ignore();
59
auto
r =
SmartIF<IRndmGen>
{ gen };
60
if
( gen ) { gen->
release
(); }
61
return
r;
62
}
63
};
IService
Definition:
IService.h:26
IService.h
IRndmEngine
Definition:
IRndmEngine.h:25
StreamBuffer
Definition:
StreamBuffer.h:48
compareOutputFiles.par
par
Definition:
compareOutputFiles.py:477
SmartIF.h
IRndmGen.h
StatusCode
Definition:
StatusCode.h:64
IRndmGenSvc::generator
virtual StatusCode generator(const IRndmGen::Param &par, IRndmGen *&refpGen)=0
Add a Generator factory.
IRndmGen::Param
Definition:
IRndmGen.h:45
IRndmGenSvc
Definition:
IRndmGenSvc.h:40
SmartIF< IRndmGen >
IRndmGenSvc::generator
SmartIF< IRndmGen > generator(const IRndmGen::Param &par)
Definition:
IRndmGenSvc.h:55
IRndmGen
Definition:
IRndmGen.h:40
IRndmGenSvc::engine
virtual IRndmEngine * engine()=0
Retrieve engine.
IRndmGenSvc::DeclareInterfaceID
DeclareInterfaceID(IRndmGenSvc, 2, 1)
InterfaceID.
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:49
IInterface::release
virtual unsigned long release() const =0
Release Interface instance.
GaudiKernel
include
GaudiKernel
IRndmGenSvc.h
Generated on Thu Sep 18 2025 16:37:14 for The Gaudi Framework by
1.8.18