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