| 1 |
#ifndef MYCLASS_H |
| 2 |
#define MYCLASS_H |
| 3 |
|
| 4 |
#include "HepMC3/GenEvent.h" |
| 5 |
using namespace HepMC3; |
| 6 |
/** @class MyClass |
| 7 |
* @brief Sample class for root I/O test |
| 8 |
*/ |
| 9 |
class MyClass { |
| 10 |
public: |
| 11 |
|
| 12 |
/// @brief Default constructor |
| 13 |
MyClass(); |
| 14 |
|
| 15 |
/// @brief Set HepMC event |
| 16 |
void SetEvent(GenEvent*); |
| 17 |
|
| 18 |
/// @brief Get HepMC event |
| 19 |
GenEvent* GetEvent(); |
| 20 |
|
| 21 |
/// @brief Set someint |
| 22 |
void SetInt(int); |
| 23 |
|
| 24 |
/// @brief Get someint |
| 25 |
int GetInt(); |
| 26 |
|
| 27 |
|
| 28 |
private: |
| 29 |
int someint; ///< Test int |
| 30 |
GenEvent* event; ///< Test event |
| 31 |
}; |
| 32 |
|
| 33 |
#endif |