HepMC3 event record library
|
Sample class for root I/O test.
#include <MyClass.h>
Public Member Functions | |
MyClass () | |
Default constructor. | |
void | SetEvent (GenEvent *) |
Set HepMC event. | |
GenEvent * | GetEvent () |
Get HepMC event. | |
void | SetInt (int) |
Set someint. | |
int | GetInt () |
Get someint. | |
Private Attributes | |
int | someint |
Test int. | |
GenEvent * | event |
Test event. | |
MyClass | ( | ) |
Default constructor.
Definition at line 3 of file MyClass.cc.
GenEvent * GetEvent | ( | ) |
Get HepMC event.
Definition at line 10 of file MyClass.cc.
References event.
int GetInt | ( | ) |
void SetEvent | ( | GenEvent * | myevt | ) |
void SetInt | ( | int | theint | ) |