Project
Loading...
Searching...
No Matches
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
20class FairFileInfo;
21class TFile;
22class TList;
23
28class FairFileHeader : public TNamed
29{
30 public:
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:
69 FairFileHeader& operator=(const FairFileHeader&);
70
71 ClassDef(FairFileHeader, 2);
72};
73
74#endif
virtual ~FairFileHeader()
void AddTaskClassName(TString taskname)
void SetRunId(UInt_t runid)
FairFileInfo * GetFileInfo(UInt_t id, UInt_t ChId)
TList * GetListOfTasks()
void AddInputFile(TFile *f, UInt_t id, UInt_t ChId)
GLdouble f
Definition glcorearb.h:310