HepMC3 event record library
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
examples
RootIOExample2
src
MyRunClass.cc
1
#include "MyRunClass.h"
2
3
MyRunClass::MyRunClass
():someint(0), run(0) {};
4
5
void
MyRunClass::SetRunInfo
(
GenRunInfo
* myrun)
6
{
7
run
= myrun;
8
}
9
10
GenRunInfo
*
MyRunClass::GetRunInfo
()
11
{
12
return
run
;
13
}
14
15
void
MyRunClass::SetInt
(
int
theint)
16
{
17
someint
= theint;
18
}
19
20
int
MyRunClass::GetInt
()
21
{
22
return
someint
;
23
}
24
MyRunClass::someint
int someint
Test int.
Definition:
MyRunClass.h:28
MyRunClass::MyRunClass
MyRunClass()
Default constructor.
Definition:
MyRunClass.cc:3
HepMC3::GenRunInfo
Stores run-related information.
Definition:
GenRunInfo.h:33
MyRunClass::SetRunInfo
void SetRunInfo(GenRunInfo *)
Set HepMC event.
Definition:
MyRunClass.cc:5
MyRunClass::GetRunInfo
GenRunInfo * GetRunInfo()
Get HepMC event.
Definition:
MyRunClass.cc:10
MyRunClass::SetInt
void SetInt(int)
Set someint.
Definition:
MyRunClass.cc:15
MyRunClass::GetInt
int GetInt()
Get someint.
Definition:
MyRunClass.cc:20
MyRunClass::run
GenRunInfo * run
Test run info.
Definition:
MyRunClass.h:29
Generated on Mon Jan 4 2021 09:07:28 for HepMC3 event record library by
1.8.5