FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairFileHeader Class Reference

#include <FairFileHeader.h>

Inheritance diagram for FairFileHeader:

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 ()
 
FairFileInfoGetFileInfo (UInt_t id, UInt_t ChId)
 

Protected Attributes

UInt_t fRunId
 
TList * fTaskList
 
TList * fFileList
 

Detailed Description

File Header Class

Author
M.Al-Turany m.al-.nosp@m.tura.nosp@m.ny@gs.nosp@m.i.de

Definition at line 28 of file FairFileHeader.h.

Constructor & Destructor Documentation

FairFileHeader::FairFileHeader ( )

Default constructor

Definition at line 23 of file FairFileHeader.cxx.

FairFileHeader::~FairFileHeader ( )
virtual

Destructor

Definition at line 53 of file FairFileHeader.cxx.

Member Function Documentation

void FairFileHeader::AddInputFile ( TFile *  f,
UInt_t  id,
UInt_t  ChId 
)

Definition at line 32 of file FairFileHeader.cxx.

void FairFileHeader::AddTaskClassName ( TString  taskname)

Add a class name of a task

Definition at line 30 of file FairFileHeader.cxx.

FairFileInfo * FairFileHeader::GetFileInfo ( UInt_t  id,
UInt_t  ChId 
)

Definition at line 37 of file FairFileHeader.cxx.

TList* FairFileHeader::GetListOfTasks ( )
inline

Return the list of tasks class names

Definition at line 46 of file FairFileHeader.h.

UInt_t FairFileHeader::GetRunId ( )
inline

Get the run ID for this run

Definition at line 43 of file FairFileHeader.h.

void FairFileHeader::SetRunId ( UInt_t  runid)
inline

Set the run ID for this run

Parameters
runid: unique run id

Definition at line 40 of file FairFileHeader.h.

Member Data Documentation

TList* FairFileHeader::fFileList
protected

list of TObjStrings presenting the input files used to produce this file

Definition at line 65 of file FairFileHeader.h.

UInt_t FairFileHeader::fRunId
protected

Run Id

Definition at line 59 of file FairFileHeader.h.

TList* FairFileHeader::fTaskList
protected

list of TObjStrings presenting the class names of tasks used to produce this file

Definition at line 62 of file FairFileHeader.h.


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