hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Private Attributes | List of all members
HpsEvent Class Reference

#include <HpsEvent.h>

Inheritance diagram for HpsEvent:
IEvent

Public Member Functions

 HpsEvent ()
 
virtual void add (const std::string name, TObject *object)
 
void addCollection (const std::string name, TClonesArray *collection)
 
void setTree (TTree *tree)
 
virtual TTree * getTree ()
 
- Public Member Functions inherited from IEvent
virtual ~IEvent ()
 

Private Attributes

TTree * tree_
 

Detailed Description

Definition at line 9 of file HpsEvent.h.

Constructor & Destructor Documentation

◆ HpsEvent()

HpsEvent ( )

Definition at line 3 of file HpsEvent.cxx.

Member Function Documentation

◆ add()

virtual void add ( const std::string  name,
TObject *  object 
)
inlinevirtual

Implements IEvent.

Definition at line 13 of file HpsEvent.h.

◆ addCollection()

void addCollection ( const std::string  name,
TClonesArray *  collection 
)

Definition at line 5 of file HpsEvent.cxx.

◆ getTree()

virtual TTree * getTree ( )
inlinevirtual

Definition at line 16 of file HpsEvent.h.

◆ setTree()

void setTree ( TTree *  tree)

Definition at line 6 of file HpsEvent.cxx.

Member Data Documentation

◆ tree_

TTree* tree_
private

Definition at line 19 of file HpsEvent.h.


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