HYDRA_development_version
|
#include <hgeomasciiio.h>
Public Member Functions | |
HGeomAsciiIo () | |
~HGeomAsciiIo () | |
void | setDirectory (const Char_t *fDir) |
const Char_t * | getDirectory () |
const Char_t * | getFilename () |
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 | write (HGeomHit *hit) |
Bool_t | readGeomConfig (HGeomInterface *) |
Bool_t | readDetectorSetup (HGeomInterface *) |
Bool_t | setSimulRefRun (const Char_t *) |
Bool_t | setHistoryDate (const Char_t *) |
Private Attributes | |
TString | filename |
TString | filedir |
Bool_t | writable |
fstream * | file |
Definition at line 10 of file hgeomasciiio.h.
HGeomAsciiIo::HGeomAsciiIo | ( | ) |
HGeomAsciiIo::~HGeomAsciiIo | ( | ) |
Definition at line 28 of file hgeomasciiio.cc.
|
virtual |
Implements HGeomIo.
Definition at line 83 of file hgeomasciiio.cc.
References file, filename, and isOpen().
Referenced by open(), and ~HGeomAsciiIo().
|
inline |
Definition at line 19 of file hgeomasciiio.h.
|
inline |
Definition at line 20 of file hgeomasciiio.h.
|
virtual |
Implements HGeomIo.
Definition at line 71 of file hgeomasciiio.cc.
References file.
Referenced by close(), isWritable(), open(), print(), read(), readDetectorSetup(), readGeomConfig(), and write().
|
virtual |
Implements HGeomIo.
Definition at line 77 of file hgeomasciiio.cc.
|
virtual |
|
virtual |
|
virtual |
Implements HGeomIo.
Definition at line 100 of file hgeomasciiio.cc.
References file, isOpen(), HGeomMedia::read(), and writable.
|
virtual |
Implements HGeomIo.
Definition at line 114 of file hgeomasciiio.cc.
References file, isOpen(), HGeomSet::read(), and writable.
|
virtual |
Implements HGeomIo.
Definition at line 107 of file hgeomasciiio.cc.
References file, isOpen(), HGeomHit::read(), and writable.
Bool_t HGeomAsciiIo::readDetectorSetup | ( | HGeomInterface * | interface | ) |
Definition at line 192 of file hgeomasciiio.cc.
References HGeomInterface::findSet(), HGeomSet::getMaxModules(), isOpen(), n, HGeomSet::setModules(), and writable.
Referenced by HGeomInterface::readSetupFile().
|
virtual |
Implements HGeomIo.
Definition at line 142 of file hgeomasciiio.cc.
References HGeomInterface::addInputFile(), HGeomInterface::addParamFile(), HGeomInterface::addSetupFile(), file, HGeomInterface::getOraInput(), isOpen(), rc, HGeomIo::setHistoryDate(), HGeomIo::setSimulRefRun(), and writable.
|
inline |
Definition at line 18 of file hgeomasciiio.h.
|
inlinevirtual |
Implements HGeomIo.
Definition at line 35 of file hgeomasciiio.h.
|
inlinevirtual |
Implements HGeomIo.
Definition at line 34 of file hgeomasciiio.h.
|
virtual |
Implements HGeomIo.
Definition at line 121 of file hgeomasciiio.cc.
References file, isOpen(), writable, and HGeomMedia::write().
|
virtual |
Implements HGeomIo.
Definition at line 128 of file hgeomasciiio.cc.
References file, isOpen(), writable, and HGeomSet::write().
|
virtual |
Implements HGeomIo.
Definition at line 135 of file hgeomasciiio.cc.
References file, isOpen(), writable, and HGeomHit::write().
|
private |
Definition at line 14 of file hgeomasciiio.h.
Referenced by close(), isOpen(), open(), read(), readGeomConfig(), write(), and ~HGeomAsciiIo().
|
private |
Definition at line 12 of file hgeomasciiio.h.
Referenced by open().
|
private |
Definition at line 11 of file hgeomasciiio.h.
|
private |
Definition at line 13 of file hgeomasciiio.h.
Referenced by isWritable(), open(), print(), read(), readDetectorSetup(), readGeomConfig(), and write().