ROOT logo
#ifndef HEMCPARORA2IO_H
#define HEMCPARORA2IO_H

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

class HEmcTrb3Lookup;
class HEmcCalPar;
class HEmcGeomPar;
class HGeomVolume;

class HEmcParOra2Io : public HDetParOra2Io {
private:
  TArrayI* initModules;          // array of modules initialized from Oracle
  HOra2GeomDetVersion* geomVers; // geometry version
  HGeomVolume* sensVolume;       // sensitive volume
public:
  HEmcParOra2Io(HOra2Conn* p=0);
  ~HEmcParOra2Io(void);
  Bool_t init(HParSet*,Int_t*);
  Int_t write(HParSet*);
private:
  Bool_t getVersion(HParSet*,Int_t&);
  Bool_t read(HEmcTrb3Lookup*);
  Bool_t read(HEmcCalPar*,Int_t*);
  Bool_t read(HEmcGeomPar*,Int_t*);
  Bool_t readModGeomNames(HEmcGeomPar*,Int_t*);
  Bool_t readCompGeomNames(HEmcGeomPar*,Int_t*);
  void addGeomRefComponents(HDetGeomPar*,TList*);
  Bool_t transformGeomCompositeComponents(HDetGeomPar*);
  Int_t createVers(HParSet*);
  Int_t writePar(HEmcCalPar*);
  Int_t writePar(HEmcTrb3Lookup*);
  void printInfo(const Char_t*);
  ClassDef(HEmcParOra2Io,0) // EMC parameter I/O from Oracle
};

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