HepMC3 event record library
MyRunClass.h
1 #ifndef MYRUNCLASS_H
2 #define MYRUNCLASS_H
3 
4 #include "HepMC3/GenRunInfo.h"
5 using namespace HepMC3;
6 /** @class MyRunClass
7  * @brief Sample class for root I/O test
8  */
9 class MyRunClass {
10 public:
11 
12  /// @brief Default constructor
13  MyRunClass();
14 
15  /// @brief Set HepMC event
16  void SetRunInfo(GenRunInfo*);
17 
18  /// @brief Get HepMC event
19  GenRunInfo* GetRunInfo();
20 
21  /// @brief Set someint
22  void SetInt(int);
23 
24  /// @brief Get someint
25  int GetInt();
26 
27 private:
28  int someint; ///< Test int
29  GenRunInfo* run; ///< Test run info
30 };
31 
32 #endif
Definition of class GenRunInfo.
int someint
Test int.
Definition: MyRunClass.h:28
Stores run-related information.
Definition: GenRunInfo.h:33
Sample class for root I/O test.
Definition: MyRunClass.h:9
GenRunInfo * run
Test run info.
Definition: MyRunClass.h:29