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