DD4hep
1.31.0
Detector Description Toolkit for High Energy Physics
Main Page
Related Pages
Modules
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
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
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
_
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
u
Enumerator
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
b
d
g
o
p
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
x
Functions
_
c
d
g
h
i
l
m
n
o
p
r
s
u
Variables
Typedefs
_
a
c
d
e
f
g
j
l
o
p
r
s
t
u
v
x
Enumerations
Enumerator
Macros
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
DDG4
include
DDG4
RunParameters.h
Go to the documentation of this file.
1
//==========================================================================
2
// AIDA Detector description implementation
3
//--------------------------------------------------------------------------
4
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5
// All rights reserved.
6
//
7
// For the licensing terms see $DD4hepINSTALL/LICENSE.
8
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9
//
10
//
11
//==========================================================================
12
#ifndef DDG4_RUNPARAMETERS_H
13
#define DDG4_RUNPARAMETERS_H
14
15
#include <
DDG4/ExtensionParameters.h
>
16
18
namespace
dd4hep
{
19
21
namespace
sim {
22
24
28
class
RunParameters
:
ExtensionParameters
{
29
protected
:
30
int
m_runNumber
= -1;
31
32
public
:
34
void
setRunNumber
(
int
runNumber
);
36
int
runNumber
()
const
{
return
m_runNumber
; }
38
template
<
class
T>
void
ingestParameters
(T
const
& source);
40
template
<
class
T>
void
extractParameters
(T& destination);
41
};
42
43
}
/* End namespace sim */
44
}
/* End namespace dd4hep */
45
#endif // DDG4_RUNPARAMETERS_H
dd4hep::sim::RunParameters::m_runNumber
int m_runNumber
Definition:
RunParameters.h:30
ExtensionParameters.h
dd4hep::sim::ExtensionParameters
Extension to pass input data to output data.
Definition:
ExtensionParameters.h:31
dd4hep::sim::RunParameters
Extension to pass input run data to output run data.
Definition:
RunParameters.h:28
dd4hep::sim::RunParameters::setRunNumber
void setRunNumber(int runNumber)
Set the Run parameters.
dd4hep::sim::RunParameters::extractParameters
void extractParameters(T &destination)
Put parameters into destination.
Definition:
Geant4Output2LCIO.cpp:66
dd4hep::sim::RunParameters::runNumber
int runNumber() const
Get the run number.
Definition:
RunParameters.h:36
dd4hep
Namespace for the AIDA detector description toolkit.
Definition:
AlignmentsCalib.h:28
dd4hep::sim::RunParameters::ingestParameters
void ingestParameters(T const &source)
Copy the parameters from source.
Definition:
EDM4hepFileReader.cpp:66
Generated on Fri Apr 4 2025 10:14:00 for DD4hep by
1.8.18