Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::DataManager Class Reference
Inheritance diagram for Hal::DataManager:

Public Member Functions

 DataManager (IOManager *mngr=nullptr)
 
Bool_t CheckBranch (const char *BrName)
 
Int_t GetEntry (Int_t i, Int_t flag)
 
Int_t GetEntries () const
 
Bool_t Init ()
 
void Register (const char *name, const char *folderName, TNamed *obj, Bool_t toFile)
 
void Register (const char *name, const char *Foldername, TCollection *obj, Bool_t toFile)
 
void SetInChain (TChain *tempChain, Int_t ident=-1)
 
void UpdateBranches ()
 
void GetIOManagerInfo ()
 
void SetManager (IOManager *mngr)
 
TObject * GetObject (const char *BrName)
 
TString GetSourceName () const
 
const std::vector< TString > GetBranchNameList ()
 
virtual MagFieldGetField () const
 

Static Public Member Functions

static DataManagerInstance ()
 

Detailed Description

Definition at line 27 of file DataManager.h.

Constructor & Destructor Documentation

◆ DataManager()

Hal::DataManager::DataManager ( IOManager * mngr = nullptr)

Definition at line 19 of file DataManager.cxx.

◆ ~DataManager()

Hal::DataManager::~DataManager ( )
virtual

Definition at line 27 of file DataManager.cxx.

Member Function Documentation

◆ CheckBranch()

Bool_t Hal::DataManager::CheckBranch ( const char * BrName)
Parameters
BrName
Returns
true if BrName exists

Definition at line 47 of file DataManager.cxx.

◆ GetBranchNameList()

const std::vector< TString > Hal::DataManager::GetBranchNameList ( )

Definition at line 54 of file DataManager.cxx.

◆ GetEntries()

Int_t Hal::DataManager::GetEntries ( ) const

Definition at line 29 of file DataManager.cxx.

◆ GetEntry()

Int_t Hal::DataManager::GetEntry ( Int_t i,
Int_t flag )

Definition at line 31 of file DataManager.cxx.

◆ GetField()

MagField * Hal::DataManager::GetField ( ) const
virtual

Definition at line 56 of file DataManager.cxx.

◆ GetIOManagerInfo()

void Hal::DataManager::GetIOManagerInfo ( )

Definition at line 60 of file DataManager.cxx.

◆ GetObject()

TObject * Hal::DataManager::GetObject ( const char * BrName)

Definition at line 52 of file DataManager.cxx.

◆ GetSourceName()

TString Hal::DataManager::GetSourceName ( ) const

Definition at line 58 of file DataManager.cxx.

◆ Init()

Bool_t Hal::DataManager::Init ( )

Definition at line 33 of file DataManager.cxx.

◆ Instance()

DataManager * Hal::DataManager::Instance ( )
static

Definition at line 21 of file DataManager.cxx.

◆ Register() [1/2]

void Hal::DataManager::Register ( const char * name,
const char * Foldername,
TCollection * obj,
Bool_t toFile )

register data

Parameters
name
Foldername
obj
toFilewrite to output file

Definition at line 39 of file DataManager.cxx.

◆ Register() [2/2]

void Hal::DataManager::Register ( const char * name,
const char * folderName,
TNamed * obj,
Bool_t toFile )

register data

Parameters
name
folderName
obj
toFilewrite in output file

Definition at line 35 of file DataManager.cxx.

◆ SetInChain()

void Hal::DataManager::SetInChain ( TChain * tempChain,
Int_t ident = -1 )

Definition at line 43 of file DataManager.cxx.

◆ SetManager()

void Hal::DataManager::SetManager ( IOManager * mngr)
inline

set proper manager

Parameters
mngr

Definition at line 65 of file DataManager.h.

◆ UpdateBranches()

void Hal::DataManager::UpdateBranches ( )

Definition at line 45 of file DataManager.cxx.


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