HepMC3 event record library
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
examples
RootIOExample2
include
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
GenRunInfo.h
Definition of class GenRunInfo.
MyRunClass::someint
int someint
Test int.
Definition:
MyRunClass.h:28
HepMC3::GenRunInfo
Stores run-related information.
Definition:
GenRunInfo.h:33
MyRunClass
Sample class for root I/O test.
Definition:
MyRunClass.h:9
MyRunClass::run
GenRunInfo * run
Test run info.
Definition:
MyRunClass.h:29
Generated on Mon Jan 4 2021 09:07:28 for HepMC3 event record library by
1.8.5