#ifndef HGEOMASCIIIO_H
#define HGEOMASCIIIO_H

using namespace std;
#include "hgeomio.h"
#include "TString.h"
#include <fstream>
#include <iomanip>

class HGeomAsciiIo : public HGeomIo {
  TString  filename;
  TString  filedir;
  Bool_t   writable;
  fstream* file;
public:
  HGeomAsciiIo();
  ~HGeomAsciiIo();
  void setDirectory(const Char_t* fDir) {filedir=fDir;}
  const Char_t* getDirectory() {return filedir.Data();}
  const Char_t* getFilename() {return filename.Data();}
  Bool_t open(const Char_t*,const Text_t* status="in");
  Bool_t isOpen();
  Bool_t isWritable();
  void close();
  void print();
  Bool_t read(HGeomMedia*);
  Bool_t read(HGeomSet*,HGeomMedia*);
  Bool_t read(HGeomHit*); 
  Bool_t write(HGeomMedia*);
  Bool_t write(HGeomSet* set);
  Bool_t readGeomConfig(HGeomInterface*);
  Bool_t readDetectorSetup(HGeomInterface*);
  Bool_t setSimulRefRun(const Char_t*) {return kTRUE;}
  Bool_t setHistoryDate(const Char_t*) {return kTRUE;}
private:
  ClassDef(HGeomAsciiIo,0) // Class for geometry I/O from ASCII file
};

#endif  /* !HGEOMASCIIIO_H */

Last change: Sat May 22 12:56:09 2010
Last generated: 2010-05-22 12:56

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.