HYDRA_development_version
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
hshowerparora2io.h
Go to the documentation of this file.
1 #ifndef HSHOWERPARORA2IO_H
2 #define HSHOWERPARORA2IO_H
3 
4 #include "hdetparora2io.h"
5 #include "TArrayI.h"
6 #include "TString.h"
7 
8 class HOra2Conn;
9 class HShowerCalPar;
10 class HShowerGeomPar;
11 
13 private:
14  TArrayI* initModules; // array of modules initialized from Oracle
15  HOra2GeomDetVersion* geomVers; // geometry version
16 public:
19  Bool_t init(HParSet*,Int_t*);
20  Int_t write(HParSet*);
21 private:
22  Bool_t getVersion(HParSet*,Int_t&);
23  Bool_t read(HShowerCalPar*,Int_t*);
24  Bool_t read(HShowerGeomPar*,Int_t*);
25  Bool_t readGeomNames(HShowerGeomPar*,Int_t*);
26  Int_t createVers(HParSet*);
27  Int_t writePar(HShowerCalPar*);
28  void printInfo(const Char_t*);
29  ClassDef(HShowerParOra2Io,0) // SHOWER parameter I/O from Oracle
30 };
31 
32 #endif /* !HSHOWERPARORA2IO_H */
Bool_t getVersion(HParSet *, Int_t &)
Bool_t read(HShowerCalPar *, Int_t *)
HOra2GeomDetVersion * geomVers
Int_t write(HParSet *)
Int_t writePar(HShowerCalPar *)
Definition: hparset.h:9
Int_t createVers(HParSet *)
Bool_t readGeomNames(HShowerGeomPar *, Int_t *)
void printInfo(const Char_t *)
Bool_t init(HParSet *, Int_t *)
HShowerParOra2Io(HOra2Conn *p=0)