EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TreeHandler Class Reference

#include <delphes_EIC/blob/master/SimpleAnalysis/TreeHandler.h>

+ Collaboration diagram for TreeHandler:

Public Member Functions

TFile * getFile ()
 
TTree * getTree ()
 
void initialize ()
 
void execute ()
 
void finalize ()
 

Static Public Member Functions

static TreeHandlergetInstance (std::string filename="", std::string treename="")
 

Private Member Functions

 TreeHandler (std::string filename, std::string treename)
 

Private Attributes

TFile * _file = nullptr
 
TTree * _tree = nullptr
 
std::string _filename
 
std::string _treename
 

Static Private Attributes

static TreeHandlerinstance = 0
 

Detailed Description

Definition at line 14 of file TreeHandler.h.

View newest version in sPHENIX GitHub at line 14 of file TreeHandler.h

Constructor & Destructor Documentation

TreeHandler::TreeHandler ( std::string  filename,
std::string  treename 
)
inlineprivate

Definition at line 21 of file TreeHandler.h.

View newest version in sPHENIX GitHub at line 21 of file TreeHandler.h

References INPUTHEPMC::filename.

Member Function Documentation

void TreeHandler::execute ( )
inline

Definition at line 48 of file TreeHandler.h.

View newest version in sPHENIX GitHub at line 48 of file TreeHandler.h

Referenced by main().

+ Here is the caller graph for this function:

void TreeHandler::finalize ( )
inline

Definition at line 54 of file TreeHandler.h.

View newest version in sPHENIX GitHub at line 54 of file TreeHandler.h

Referenced by main().

+ Here is the caller graph for this function:

TFile* TreeHandler::getFile ( )
inline

Definition at line 34 of file TreeHandler.h.

View newest version in sPHENIX GitHub at line 34 of file TreeHandler.h

static TreeHandler* TreeHandler::getInstance ( std::string  filename = "",
std::string  treename = "" 
)
inlinestatic

Definition at line 28 of file TreeHandler.h.

View newest version in sPHENIX GitHub at line 28 of file TreeHandler.h

References INPUTHEPMC::filename.

Referenced by TaggingStudyModule::execute(), TaggingStudyModule::initialize(), EventSelectionModule::initialize(), and main().

+ Here is the caller graph for this function:

TTree* TreeHandler::getTree ( )
inline

Definition at line 38 of file TreeHandler.h.

View newest version in sPHENIX GitHub at line 38 of file TreeHandler.h

Referenced by TaggingStudyModule::initialize(), and EventSelectionModule::initialize().

+ Here is the caller graph for this function:

void TreeHandler::initialize ( )
inline

Definition at line 42 of file TreeHandler.h.

View newest version in sPHENIX GitHub at line 42 of file TreeHandler.h

Referenced by main().

+ Here is the caller graph for this function:

Member Data Documentation

TFile* TreeHandler::_file = nullptr
private

Definition at line 17 of file TreeHandler.h.

View newest version in sPHENIX GitHub at line 17 of file TreeHandler.h

std::string TreeHandler::_filename
private

Definition at line 65 of file TreeHandler.h.

View newest version in sPHENIX GitHub at line 65 of file TreeHandler.h

TTree* TreeHandler::_tree = nullptr
private

Definition at line 18 of file TreeHandler.h.

View newest version in sPHENIX GitHub at line 18 of file TreeHandler.h

std::string TreeHandler::_treename
private

Definition at line 66 of file TreeHandler.h.

View newest version in sPHENIX GitHub at line 66 of file TreeHandler.h

TreeHandler * TreeHandler::instance = 0
staticprivate

Definition at line 15 of file TreeHandler.h.

View newest version in sPHENIX GitHub at line 15 of file TreeHandler.h


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