ROOT logo
#ifndef HTOFPARORA2IO_H
#define HTOFPARORA2IO_H

#include "hdetparora2io.h"
#include "TArrayI.h"

class HTofTrb2Lookup;
class HTofCalPar;
class HTofDigiPar;
class HTofGeomPar;

class HTofParOra2Io : public HDetParOra2Io {
private:
  TArrayI* initModules;          // array of modules initialized from Oracle
  HOra2GeomDetVersion* geomVers; // geometry version
public:
  HTofParOra2Io(HOra2Conn* p=0);
  ~HTofParOra2Io();
  Bool_t init(HParSet*,Int_t*);
  Int_t write(HParSet*);
private:
  Bool_t getVersion(HParSet*,Int_t&);
  Bool_t read(HTofTrb2Lookup*);
  Bool_t read(HTofCalPar*,Int_t*);
  Bool_t read(HTofDigiPar*,Int_t*);
  Bool_t read(HTofGeomPar*,Int_t*);
  Bool_t readModGeomNames(HTofGeomPar*,Int_t*);
  Bool_t readCompGeomNames(HTofGeomPar*,Int_t*);
  Int_t createVers(HParSet*);
  Int_t writePar(HTofCalPar*);
  Int_t writePar(HTofDigiPar*);
  Int_t writePar(HTofTrb2Lookup*);
  void printInfo(const Char_t*);
  ClassDef(HTofParOra2Io,0) // TOF parameter I/O from Oracle
};

#endif  /* !HTOFPARORA2IO_H */
 htofparora2io.h:1
 htofparora2io.h:2
 htofparora2io.h:3
 htofparora2io.h:4
 htofparora2io.h:5
 htofparora2io.h:6
 htofparora2io.h:7
 htofparora2io.h:8
 htofparora2io.h:9
 htofparora2io.h:10
 htofparora2io.h:11
 htofparora2io.h:12
 htofparora2io.h:13
 htofparora2io.h:14
 htofparora2io.h:15
 htofparora2io.h:16
 htofparora2io.h:17
 htofparora2io.h:18
 htofparora2io.h:19
 htofparora2io.h:20
 htofparora2io.h:21
 htofparora2io.h:22
 htofparora2io.h:23
 htofparora2io.h:24
 htofparora2io.h:25
 htofparora2io.h:26
 htofparora2io.h:27
 htofparora2io.h:28
 htofparora2io.h:29
 htofparora2io.h:30
 htofparora2io.h:31
 htofparora2io.h:32
 htofparora2io.h:33
 htofparora2io.h:34
 htofparora2io.h:35
 htofparora2io.h:36
 htofparora2io.h:37