|
void | AddBranch (TString name, TObject *object, BranchInfo::EFlag flag) |
|
BranchInfo | FindBranch (TString name) const |
|
virtual void | RegisterInternal (const char *name, const char *folderName, TNamed *obj, Bool_t toFile)=0 |
|
virtual void | RegisterInternal (const char *name, const char *Foldername, TCollection *obj, Bool_t toFile)=0 |
|
virtual Bool_t | InitInternal ()=0 |
|
Definition at line 52 of file IOManager.h.
◆ IOManager() [1/2]
Hal::IOManager::IOManager |
( |
| ) |
|
|
inline |
◆ IOManager() [2/2]
IO manager
- Parameters
-
info | - information input data |
Definition at line 190 of file IOManager.cxx.
◆ ~IOManager()
Hal::IOManager::~IOManager |
( |
| ) |
|
|
virtual |
◆ ActivateBranch()
void Hal::IOManager::ActivateBranch |
( |
TString | brName | ) |
|
set branch mode to active without returing object
- Parameters
-
Definition at line 100 of file IOManager.cxx.
◆ AddBranch()
void Hal::IOManager::AddBranch |
( |
TString | name, |
|
|
TObject * | object, |
|
|
BranchInfo::EFlag | flag ) |
|
protected |
add branch
- Parameters
-
name | name of the branch |
object | pointer to object |
flag | |
Definition at line 33 of file IOManager.cxx.
◆ AddFile()
void Hal::IOManager::AddFile |
( |
TString | name | ) |
|
◆ AddFriend()
void Hal::IOManager::AddFriend |
( |
TString | friendName, |
|
|
Int_t | level ) |
add friend to list of files
- Parameters
-
Definition at line 202 of file IOManager.cxx.
◆ CloseManager()
virtual void Hal::IOManager::CloseManager |
( |
| ) |
|
|
inlinevirtual |
◆ FillTree()
virtual void Hal::IOManager::FillTree |
( |
| ) |
|
|
pure virtual |
◆ FindBranch()
look for branch with given name
- Parameters
-
- Returns
Definition at line 41 of file IOManager.cxx.
◆ GetBranchesList()
TList * Hal::IOManager::GetBranchesList |
( |
| ) |
const |
|
virtual |
◆ GetBranchNameList()
std::vector< TString > Hal::IOManager::GetBranchNameList |
( |
| ) |
|
|
inline |
- Returns
- list to branches with data
Definition at line 186 of file IOManager.h.
◆ GetBranchStatus()
BranchInfo::EFlag Hal::IOManager::GetBranchStatus |
( |
const char * | BrName | ) |
|
return 1 if branch exists
- Parameters
-
- Returns
Definition at line 68 of file IOManager.cxx.
◆ GetEntries()
virtual Int_t Hal::IOManager::GetEntries |
( |
| ) |
const |
|
pure virtual |
◆ GetEntry()
virtual Int_t Hal::IOManager::GetEntry |
( |
Int_t | i, |
|
|
Int_t | flag ) |
|
pure virtual |
◆ GetField()
virtual MagField * Hal::IOManager::GetField |
( |
| ) |
const |
|
inlinevirtual |
return magnetic field for this data
- Returns
Definition at line 133 of file IOManager.h.
◆ GetFileNameList()
std::vector< TString > Hal::IOManager::GetFileNameList |
( |
Int_t | level | ) |
const |
- Parameters
-
- Returns
- return names of files at given level if level==-1 return list of main files
Definition at line 208 of file IOManager.cxx.
◆ GetFilesNames()
std::vector< TString > Hal::IOManager::GetFilesNames |
( |
Int_t | entry = 0 | ) |
const |
- Parameters
-
- Returns
- names of files at given entry (entry is number of file in chain), returns main_tree, friend_1, friend_2 etc.
Definition at line 196 of file IOManager.cxx.
◆ GetFirstDataFileName()
TString Hal::IOManager::GetFirstDataFileName |
( |
| ) |
const |
- Returns
- name of first file with data
Definition at line 204 of file IOManager.cxx.
◆ GetFirstFriendFileName()
TString Hal::IOManager::GetFirstFriendFileName |
( |
Int_t | level | ) |
const |
name of the first friend file
- Parameters
-
- Returns
Definition at line 206 of file IOManager.cxx.
◆ GetFriendsLevel()
Int_t Hal::IOManager::GetFriendsLevel |
( |
| ) |
const |
- Returns
- number of friens of first file, return -1 if no friends added
Definition at line 198 of file IOManager.cxx.
◆ GetNFiles()
Int_t Hal::IOManager::GetNFiles |
( |
| ) |
const |
◆ GetObject()
TObject * Hal::IOManager::GetObject |
( |
const char * | BrName | ) |
|
|
virtual |
return object from branch, return nullptr if object /branch does not exist
- Parameters
-
- Returns
Definition at line 77 of file IOManager.cxx.
◆ GetSourceName()
TString Hal::IOManager::GetSourceName |
( |
| ) |
const |
return pointer to input root file
- Returns
Definition at line 192 of file IOManager.cxx.
◆ Init()
Bool_t Hal::IOManager::Init |
( |
| ) |
|
◆ LockUnusedBranches()
virtual void Hal::IOManager::LockUnusedBranches |
( |
| ) |
|
|
inlinevirtual |
◆ PrintInfo()
void Hal::IOManager::PrintInfo |
( |
| ) |
|
prints basic information about I/0
Definition at line 121 of file IOManager.cxx.
◆ Register() [1/2]
void Hal::IOManager::Register |
( |
const char * | name, |
|
|
const char * | Foldername, |
|
|
TCollection * | obj, |
|
|
Bool_t | toFile ) |
register data in output file
- Parameters
-
name | name of the branch |
folderName | name of the directory with branch |
obj | pointer to written object |
toFile | if true then data will be written to the output |
Definition at line 59 of file IOManager.cxx.
◆ Register() [2/2]
void Hal::IOManager::Register |
( |
const char * | name, |
|
|
const char * | folderName, |
|
|
TNamed * | obj, |
|
|
Bool_t | toFile ) |
register data in output file
- Parameters
-
name | name of the branch |
folderName | name of the directory with branch |
obj | pointer to written object |
toFile | if true then data will be written to the output |
Definition at line 50 of file IOManager.cxx.
◆ RegisterInternal() [1/2]
virtual void Hal::IOManager::RegisterInternal |
( |
const char * | name, |
|
|
const char * | Foldername, |
|
|
TCollection * | obj, |
|
|
Bool_t | toFile ) |
|
protectedpure virtual |
◆ RegisterInternal() [2/2]
virtual void Hal::IOManager::RegisterInternal |
( |
const char * | name, |
|
|
const char * | folderName, |
|
|
TNamed * | obj, |
|
|
Bool_t | toFile ) |
|
protectedpure virtual |
◆ SetField()
virtual void Hal::IOManager::SetField |
( |
MagField * | field | ) |
|
|
inlinevirtual |
set magnetic field
- Parameters
-
Definition at line 123 of file IOManager.h.
◆ SetInChain()
virtual void Hal::IOManager::SetInChain |
( |
TChain * | tempChain, |
|
|
Int_t | ident = -1 ) |
|
pure virtual |
◆ SetOutput()
virtual void Hal::IOManager::SetOutput |
( |
TString | | ) |
|
|
inlinevirtual |
◆ UpdateBranches()
virtual void Hal::IOManager::UpdateBranches |
( |
| ) |
|
|
inlinevirtual |
◆ fBranches
◆ fDataInfo
The documentation for this class was generated from the following files: