HepMC3 event record library
|
Sample class for root I/O test.
Definition at line 9 of file MyRunClass.h.
#include <MyRunClass.h>
Public Member Functions | |
MyRunClass () | |
Default constructor. | |
void | SetRunInfo (GenRunInfo *) |
Set HepMC event. | |
GenRunInfo * | GetRunInfo () |
Get HepMC event. | |
void | SetInt (int) |
Set someint. | |
int | GetInt () |
Get someint. | |
Private Attributes | |
int | someint |
Test int. | |
GenRunInfo * | run |
Test run info. | |
MyRunClass | ( | ) |
Default constructor.
Definition at line 3 of file MyRunClass.cc.
int GetInt | ( | ) |
GenRunInfo * GetRunInfo | ( | ) |
Get HepMC event.
Definition at line 10 of file MyRunClass.cc.
References run.
void SetInt | ( | int | theint | ) |
void SetRunInfo | ( | GenRunInfo * | myrun | ) |
Set HepMC event.
Definition at line 5 of file MyRunClass.cc.
References run.
|
private |
Test run info.
Definition at line 29 of file MyRunClass.h.
|
private |
Test int.
Definition at line 28 of file MyRunClass.h.