FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairFileHeader.h
Go to the documentation of this file.
1
/********************************************************************************
2
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3
* *
4
* This software is distributed under the terms of the *
5
* GNU Lesser General Public Licence (LGPL) version 3, *
6
* copied verbatim in the file "LICENSE" *
7
********************************************************************************/
8
// -------------------------------------------------------------------------
9
// ----- FairFileHeader source file -----
10
// ----- Created 20/04/11 M.Al-Turany -----
11
// -------------------------------------------------------------------------
12
13
#ifndef FAIRFILEHEADER_H
14
#define FAIRFILEHEADER_H
15
16
#include <Rtypes.h>
// for UInt_t, etc
17
#include <TNamed.h>
// for TNamed
18
#include <TString.h>
// for TString
19
20
class
FairFileInfo
;
21
class
TFile;
22
class
TList;
23
28
class
FairFileHeader
:
public
TNamed
29
{
30
public
:
32
FairFileHeader
();
33
35
void
AddTaskClassName
(TString taskname);
36
40
void
SetRunId
(UInt_t runid) {
fRunId
= runid; }
41
43
UInt_t
GetRunId
() {
return
fRunId
; }
44
46
TList*
GetListOfTasks
() {
return
fTaskList
; }
47
48
void
AddInputFile
(TFile* f, UInt_t
id
, UInt_t ChId);
49
53
virtual
~FairFileHeader
();
54
55
FairFileInfo
*
GetFileInfo
(UInt_t
id
, UInt_t ChId);
56
57
protected
:
59
UInt_t
fRunId
;
60
62
TList*
fTaskList
;
63
65
TList*
fFileList
;
66
67
private
:
68
FairFileHeader
(
const
FairFileHeader
&);
69
FairFileHeader
& operator=(
const
FairFileHeader
&);
70
71
ClassDef(
FairFileHeader
, 2);
72
};
73
74
#endif
FairFileHeader::FairFileHeader
FairFileHeader()
Definition:
FairFileHeader.cxx:23
FairFileHeader::AddTaskClassName
void AddTaskClassName(TString taskname)
Definition:
FairFileHeader.cxx:30
FairFileHeader::GetRunId
UInt_t GetRunId()
Definition:
FairFileHeader.h:43
FairFileHeader::SetRunId
void SetRunId(UInt_t runid)
Definition:
FairFileHeader.h:40
FairFileHeader
Definition:
FairFileHeader.h:28
FairFileHeader::fTaskList
TList * fTaskList
Definition:
FairFileHeader.h:62
FairFileHeader::AddInputFile
void AddInputFile(TFile *f, UInt_t id, UInt_t ChId)
Definition:
FairFileHeader.cxx:32
FairFileInfo
Definition:
FairFileInfo.h:20
FairFileHeader::GetFileInfo
FairFileInfo * GetFileInfo(UInt_t id, UInt_t ChId)
Definition:
FairFileHeader.cxx:37
FairFileHeader::GetListOfTasks
TList * GetListOfTasks()
Definition:
FairFileHeader.h:46
FairFileHeader::~FairFileHeader
virtual ~FairFileHeader()
Definition:
FairFileHeader.cxx:53
FairFileHeader::fFileList
TList * fFileList
Definition:
FairFileHeader.h:65
FairFileHeader::fRunId
UInt_t fRunId
Definition:
FairFileHeader.h:59
FairRoot
base
event
FairFileHeader.h
Generated on Mon Mar 8 2021 12:14:05 for FairRoot by
1.8.5