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