EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/base/FairFileHeader.h>
Public Member Functions | |
FairFileHeader () | |
void | AddTaskClassName (TString taskname) |
void | SetRunId (UInt_t runid) |
UInt_t | GetRunId () |
TList * | GetListOfTasks () |
void | AddInputFile (TFile *f, UInt_t id, UInt_t ChId) |
virtual | ~FairFileHeader () |
FairFileInfo * | GetFileInfo (UInt_t id, UInt_t ChId) |
Protected Attributes | |
UInt_t | fRunId |
TList * | fTaskList |
TList * | fFileList |
Private Member Functions | |
FairFileHeader (const FairFileHeader &) | |
FairFileHeader & | operator= (const FairFileHeader &) |
File Header Class
Definition at line 22 of file FairFileHeader.h.
View newest version in sPHENIX GitHub at line 22 of file FairFileHeader.h
FairFileHeader::FairFileHeader | ( | ) |
Default constructor
Definition at line 13 of file FairFileHeader.cxx.
View newest version in sPHENIX GitHub at line 13 of file FairFileHeader.cxx
|
virtual |
Destructor
Definition at line 46 of file FairFileHeader.cxx.
View newest version in sPHENIX GitHub at line 46 of file FairFileHeader.cxx
|
private |
void FairFileHeader::AddInputFile | ( | TFile * | f, |
UInt_t | id, | ||
UInt_t | ChId | ||
) |
Definition at line 27 of file FairFileHeader.cxx.
View newest version in sPHENIX GitHub at line 27 of file FairFileHeader.cxx
References fFileList.
Referenced by FairRootManager::AddBackgroundFile(), FairRootManager::SetBackgroundFile(), and FairRootManager::SetSignalFile().
void FairFileHeader::AddTaskClassName | ( | TString | taskname | ) |
Add a class name of a task
Definition at line 22 of file FairFileHeader.cxx.
View newest version in sPHENIX GitHub at line 22 of file FairFileHeader.cxx
References fTaskList.
Referenced by FairRun::AddTask(), and FairRun::SetTask().
FairFileInfo * FairFileHeader::GetFileInfo | ( | UInt_t | id, |
UInt_t | ChId | ||
) |
Definition at line 32 of file FairFileHeader.cxx.
View newest version in sPHENIX GitHub at line 32 of file FairFileHeader.cxx
References fFileList, FairFileInfo::GetIdentifier(), FairFileInfo::GetOrderInChain(), and info.
|
inline |
Return the list of tasks class names
Definition at line 42 of file FairFileHeader.h.
View newest version in sPHENIX GitHub at line 42 of file FairFileHeader.h
References fTaskList.
|
inline |
Get the run ID for this run
Definition at line 39 of file FairFileHeader.h.
View newest version in sPHENIX GitHub at line 39 of file FairFileHeader.h
References fRunId.
|
private |
|
inline |
Set the run ID for this run
runid | : unique run id |
Definition at line 36 of file FairFileHeader.h.
View newest version in sPHENIX GitHub at line 36 of file FairFileHeader.h
References fRunId.
Referenced by FairRunAna::Init(), and FairRunSim::Init().
|
protected |
list of TObjStrings presenting the input files used to produce this file
Definition at line 65 of file FairFileHeader.h.
View newest version in sPHENIX GitHub at line 65 of file FairFileHeader.h
Referenced by AddInputFile(), and GetFileInfo().
|
protected |
Run Id
Definition at line 59 of file FairFileHeader.h.
View newest version in sPHENIX GitHub at line 59 of file FairFileHeader.h
Referenced by GetRunId(), and SetRunId().
|
protected |
list of TObjStrings presenting the class names of tasks used to produce this file
Definition at line 62 of file FairFileHeader.h.
View newest version in sPHENIX GitHub at line 62 of file FairFileHeader.h
Referenced by AddTaskClassName(), and GetListOfTasks().