HepMC3 event record library
Public Member Functions | Private Attributes
MyRunClass Class Reference

Sample class for root I/O test. More...

#include <MyRunClass.h>

+ Collaboration diagram for MyRunClass:

Public Member Functions

 MyRunClass ()
 Default constructor. More...
 
void SetRunInfo (GenRunInfo *)
 Set HepMC event. More...
 
GenRunInfoGetRunInfo ()
 Get HepMC event. More...
 
void SetInt (int)
 Set someint. More...
 
int GetInt ()
 Get someint. More...
 

Private Attributes

int someint
 Test int. More...
 
GenRunInforun
 Test run info. More...
 

Detailed Description

Sample class for root I/O test.

Examples:
class_example_read.cc, and class_example_write.cc.

Definition at line 9 of file MyRunClass.h.

Constructor & Destructor Documentation

Default constructor.

Definition at line 3 of file MyRunClass.cc.

Member Function Documentation

int GetInt ( )

Get someint.

Definition at line 20 of file MyRunClass.cc.

References someint.

GenRunInfo * GetRunInfo ( )

Get HepMC event.

Examples:
class_example_read.cc.

Definition at line 10 of file MyRunClass.cc.

References run.

void SetInt ( int  theint)

Set someint.

Definition at line 15 of file MyRunClass.cc.

References someint.

void SetRunInfo ( GenRunInfo myrun)

Set HepMC event.

Definition at line 5 of file MyRunClass.cc.

References run.

Field Documentation

GenRunInfo* run
private

Test run info.

Definition at line 29 of file MyRunClass.h.

int someint
private

Test int.

Definition at line 28 of file MyRunClass.h.


The documentation for this class was generated from the following files: