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

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

#include <MyClass.h>

+ Collaboration diagram for MyClass:

Public Member Functions

 MyClass ()
 Default constructor. More...
 
void SetEvent (GenEvent *)
 Set HepMC event. More...
 
GenEventGetEvent ()
 Get HepMC event. More...
 
void SetInt (int)
 Set someint. More...
 
int GetInt ()
 Get someint. More...
 

Private Attributes

int someint
 Test int. More...
 
GenEventevent
 Test event. 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 MyClass.h.

Constructor & Destructor Documentation

MyClass ( )

Default constructor.

Definition at line 3 of file MyClass.cc.

Member Function Documentation

GenEvent * GetEvent ( )

Get HepMC event.

Examples:
class_example_read.cc.

Definition at line 10 of file MyClass.cc.

References event.

int GetInt ( )

Get someint.

Definition at line 20 of file MyClass.cc.

References someint.

void SetEvent ( GenEvent myevt)

Set HepMC event.

Examples:
class_example_write.cc.

Definition at line 5 of file MyClass.cc.

void SetInt ( int  theint)

Set someint.

Definition at line 15 of file MyClass.cc.

References someint.

Field Documentation

GenEvent* event
private

Test event.

Definition at line 30 of file MyClass.h.

int someint
private

Test int.

Definition at line 29 of file MyClass.h.


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