EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairDetParRootFileIo.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FairDetParRootFileIo.h
1 #ifndef FAIRDETPARROOTFILEIO_H
2 #define FAIRDETPARROOTFILEIO_H
3 
4 #include "FairDetParIo.h"
5 
6 class FairParRootFile;
7 class FairParSet;
8 
10 {
11  protected:
12  FairParRootFile* pFile; // pointer to parameter ROOT file
13  public:
15  virtual ~FairDetParRootFileIo() {}
16  virtual Bool_t read(FairParSet*);
17  Int_t write(FairParSet*);
18 // Bool_t read(HDetGeomPar*,Int_t*);
19  protected:
20  Int_t findInputVersion(Text_t* contName);
21  Int_t getMaxVersion(Text_t* contName);
22  TObject* findContainer(Text_t* contName, Int_t version);
23  private:
26 
27  ClassDef(FairDetParRootFileIo,0) // detector base class for parameter I/O from ROOT file
28 };
29 
30 #endif /* !FAIRDETPARROOTFILEIO_H */
31