EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairFileInfo.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FairFileInfo.h
1 // FairFileInfo.h
2 // Created by Mohammad Al-Turany on 6/21/11.
3 //
4 #ifndef FAIRFILEINFO_H
5 #define FAIRFILEINFO_H
6 
7 #include "TNamed.h"
8 #include "TString.h"
9 #include "TFile.h"
10 
11 
12 class FairFileInfo : public TNamed
13 {
14  public:
15 
16  FairFileInfo();
17  FairFileInfo(TFile* file, UInt_t id, UInt_t ChId);
18  virtual ~FairFileInfo();
19 
20 
21  TString GetPath() {return fPath;}
22  UInt_t GetSize() {return fSize;}
23  UInt_t GetIdentifier() {return fIdentifier;}
24  UInt_t GetOrderInChain() {return fInChainId;}
25 
26  void Print(Option_t* option="") const;
27 
28  void SetPath(TString path) {fPath = path;}
29  void SetSize(UInt_t size) {fSize =size;}
30  void SetIdentifier(UInt_t id) {fIdentifier =id;}
31  void SetOrderInChain(UInt_t id) {fInChainId =id;}
32 
33 
34 
35  protected:
37  TString fPath;
39  UInt_t fSize;
41  UInt_t fIdentifier;
43  UInt_t fInChainId;
44 
45  private:
46  FairFileInfo(const FairFileInfo&);
48 
49  ClassDef(FairFileInfo,1)
50 };
51 
52 #endif //FAIRFILEINFO_H