HepMC event record
Public Member Functions | Private Attributes
MyClass Class Reference

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.

#include <MyClass.h>

+ Collaboration diagram for MyClass:

Public Member Functions

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

Private Attributes

int someint
 Test int. More...
 
HepMC::GenEventevent
 Test event. More...
 

Constructor & Destructor Documentation

◆ MyClass()

MyClass ( )

Default constructor.

Definition at line 3 of file MyClass.cc.

Member Function Documentation

◆ GetEvent()

HepMC::GenEvent * GetEvent ( )

Get HepMC event.

Examples:
class_example_read.cc.

Definition at line 10 of file MyClass.cc.

References event.

◆ GetInt()

int GetInt ( )

Get someint.

Definition at line 20 of file MyClass.cc.

References someint.

◆ SetEvent()

void SetEvent ( HepMC::GenEvent myevt)

Set HepMC event.

Examples:
class_example_write.cc.

Definition at line 5 of file MyClass.cc.

◆ SetInt()

void SetInt ( int  theint)

Set someint.

Definition at line 15 of file MyClass.cc.

References someint.

Field Documentation

◆ event

HepMC::GenEvent* event
private

Test event.

Definition at line 30 of file MyClass.h.

◆ someint

int someint
private

Test int.

Definition at line 29 of file MyClass.h.


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