#ifndef HMDCPARROOTFILEIO_H
#define HMDCPARROOTFILEIO_H
#include "hdetparrootfileio.h"
#include "TFile.h"
#include "TArrayI.h"
class HParRootFile;
class HParSet;
class HMdcRawStruct;
class HMdcGeomStruct;
class HMdcCalParRaw;
class HMdcTdcThreshold;
class HMdcTdcChannel;
class HMdcCal2ParSim;
class HMdcCellEff;
class HMdcTimeCut;
class HMdcLookupGeom;
class HMdcLayerGeomPar;
class HMdcParRootFileIo : public HDetParRootFileIo {
protected:
TArrayI *initModuleTypes;
public:
HMdcParRootFileIo(HParRootFile* f);
~HMdcParRootFileIo();
Bool_t init(HParSet*,Int_t*);
Bool_t read(HMdcRawStruct*,Int_t*);
Bool_t read(HMdcGeomStruct*,Int_t*);
Bool_t read(HMdcCalParRaw*,Int_t*);
Bool_t read(HMdcTdcThreshold*,Int_t*);
Bool_t read(HMdcTdcChannel* pCalPar,Int_t* set);
Bool_t read(HMdcCal2ParSim*,Int_t*);
Bool_t read(HMdcCellEff*,Int_t*);
Bool_t read(HMdcTimeCut*,Int_t*);
Bool_t read(HMdcLookupGeom*,Int_t*);
Bool_t read(HMdcLayerGeomPar*,Int_t*);
ClassDef(HMdcParRootFileIo,0)
};
#endif /*!HMDCPARROOTFILEIO_H*/