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

#include <EicRoot/blob/master/eic/event/EicRootManager.h>

+ Inheritance diagram for EicRootInputFile:
+ Collaboration diagram for EicRootInputFile:

Public Member Functions

 EicRootInputFile ()
 
 EicRootInputFile (const char *fileName)
 
 ~EicRootInputFile ()
 
void ResetVars ()
 

Private Member Functions

TTree * GetTree (const char *treeName) const
 
TBranch * SetupBranch (const char *treeName, const char *branchName, void *addr) const
 
 ClassDef (EicRootInputFile, 2)
 

Private Attributes

TString mFileName
 
TFile * mFptr
 

Friends

class EicRootManager
 

Detailed Description

Definition at line 43 of file EicRootManager.h.

View newest version in sPHENIX GitHub at line 43 of file EicRootManager.h

Constructor & Destructor Documentation

EicRootInputFile::EicRootInputFile ( )
inline

Definition at line 47 of file EicRootManager.h.

View newest version in sPHENIX GitHub at line 47 of file EicRootManager.h

References ResetVars().

+ Here is the call graph for this function:

EicRootInputFile::EicRootInputFile ( const char *  fileName)

Definition at line 151 of file EicRootManager.cxx.

View newest version in sPHENIX GitHub at line 151 of file EicRootManager.cxx

References mFileName, mFptr, printf(), and ResetVars().

+ Here is the call graph for this function:

EicRootInputFile::~EicRootInputFile ( )
inline

Definition at line 49 of file EicRootManager.h.

View newest version in sPHENIX GitHub at line 49 of file EicRootManager.h

References mFptr, and ResetVars().

+ Here is the call graph for this function:

Member Function Documentation

EicRootInputFile::ClassDef ( EicRootInputFile  ,
 
)
private
TTree* EicRootInputFile::GetTree ( const char *  treeName) const
inlineprivate

Definition at line 56 of file EicRootManager.h.

View newest version in sPHENIX GitHub at line 56 of file EicRootManager.h

References mFptr.

Referenced by EicRootManager::EicRootManager(), and EicRootManager::SetupBranch().

+ Here is the caller graph for this function:

void EicRootInputFile::ResetVars ( )
inline

Definition at line 51 of file EicRootManager.h.

View newest version in sPHENIX GitHub at line 51 of file EicRootManager.h

References mFptr.

Referenced by EicRootInputFile(), and ~EicRootInputFile().

+ Here is the caller graph for this function:

TBranch * EicRootInputFile::SetupBranch ( const char *  treeName,
const char *  branchName,
void *  addr 
) const
private

Definition at line 167 of file EicRootManager.cxx.

View newest version in sPHENIX GitHub at line 167 of file EicRootManager.cxx

References mFileName, mFptr, and printf().

Referenced by EicRootManager::SetupBranch().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class EicRootManager
friend

Definition at line 44 of file EicRootManager.h.

View newest version in sPHENIX GitHub at line 44 of file EicRootManager.h

Member Data Documentation

TString EicRootInputFile::mFileName
private

Definition at line 66 of file EicRootManager.h.

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

Referenced by EicRootInputFile(), and SetupBranch().

TFile* EicRootInputFile::mFptr
private

Definition at line 67 of file EicRootManager.h.

View newest version in sPHENIX GitHub at line 67 of file EicRootManager.h

Referenced by EicRootInputFile(), GetTree(), ResetVars(), SetupBranch(), and ~EicRootInputFile().


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