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
src
EventParameters.cpp
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
14
#include <
DDG4/EventParameters.h
>
15
17
#include <map>
18
#include <string>
19
20
void
dd4hep::sim::EventParameters::setRunNumber
(
int
runNumber) {
21
m_runNumber
=
runNumber
;
22
}
23
void
dd4hep::sim::EventParameters::setEventNumber
(
int
eventNumber) {
24
m_eventNumber = eventNumber;
25
}
dd4hep::sim::EventParameters::setRunNumber
void setRunNumber(int runNumber)
Set the event parameters.
Definition:
EventParameters.cpp:20
dd4hep::sim::EventParameters::setEventNumber
void setEventNumber(int eventNumber)
Definition:
EventParameters.cpp:23
dd4hep::sim::EventParameters::m_runNumber
int m_runNumber
Definition:
EventParameters.h:30
EventParameters.h
dd4hep::sim::EventParameters::runNumber
int runNumber() const
Get the run number.
Definition:
EventParameters.h:38
Generated on Fri Apr 4 2025 10:14:01 for DD4hep by
1.8.18