DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
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:33
EventParameters.h
dd4hep::sim::EventParameters::runNumber
int runNumber() const
Get the run number.
Definition:
EventParameters.h:50
Generated on Tue Dec 10 2024 18:30:09 for DD4hep by
1.8.18