#include "hdetparasciifileio.h" |
HDetParAsciiFileIo
class description - source file - inheritance tree (.pdf)
protected:
Bool_t checkAllFound(Int_t*, Int_t)
Bool_t findContainer(const Text_t* name)
void readComment(const char*, HParSet*)
Bool_t readLabPositions(const Text_t*, HDetGeomPar*, Int_t*, Int_t, Int_t)
void readTransform(HGeomTransform&)
Bool_t readVolume(HGeomVolume*, HGeomShapes*, Text_t*)
Bool_t readVolumes(const Text_t*, HDetGeomPar*)
virtual Bool_t write(HDetector*)
void writeComment(HParSet*)
void writeHeader(const Text_t*, const Text_t* context, const Text_t* author, const Text_t* description)
void writeTransform(const HGeomTransform&)
void writeVolume(HGeomVolume*, HGeomShapes*)
public:
HDetParAsciiFileIo(fstream* f)
HDetParAsciiFileIo(const HDetParAsciiFileIo&)
virtual ~HDetParAsciiFileIo()
static TClass* Class()
virtual TClass* IsA() const
HDetParAsciiFileIo& operator=(const HDetParAsciiFileIo&)
Bool_t read(HDetGeomPar*, Int_t*)
Bool_t readCond(HParCond* pPar)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Int_t writeCond(HParCond* pPar)
Int_t writeFile(HDetGeomPar*)
protected:
TString fHeader ! header of container output in file
TString sepLine ! comment line
fstream* pFile ! pointer to ascii file
HDetParAsciiFileIo
Class for parameter input/output from/into Ascii file
Base class for Ascii I/O used by MDC, START detector
HDetParAsciiFileIo(fstream* f)
constructor
Bool_t findContainer(const Text_t* name)
searches the container in the file
Bool_t checkAllFound(Int_t* set, Int_t setSize)
checks if all modules have been initialized
void writeHeader(const Text_t* name, const Text_t* context,
const Text_t* author, const Text_t* description)
calls the function putAsciiHeader(...) of the parameter container
class and writes the header to the file
void readComment(const char* lastBuf, HParSet* pPar)
reads the author or the description
void writeComment(HParSet* pPar)
Int_t writeFile(HDetGeomPar* pPar)
Bool_t read(HDetGeomPar* pPar,Int_t* set)
Bool_t readLabPositions(const Text_t* keyName,
HDetGeomPar* pPar,Int_t* set, Int_t maxSec, Int_t maxMod)
reads the lab positions of all modules
Bool_t readVolumes(const Text_t* keyName,HDetGeomPar* pPar)
reads the geometry parameters of all volumes
void readTransform(HGeomTransform& tf)
void writeTransform(const HGeomTransform& tf)
Bool_t readVolume(HGeomVolume* volu,HGeomShapes* shapes,
Text_t* buf)
void writeVolume(HGeomVolume* volu,HGeomShapes* shapes)
Bool_t readCond(HParCond* pPar)
Int_t writeCond(HParCond* pPar)
Inline Functions
void ~HDetParAsciiFileIo()
Bool_t write(HDetector*)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HDetParAsciiFileIo HDetParAsciiFileIo(const HDetParAsciiFileIo&)
HDetParAsciiFileIo& operator=(const HDetParAsciiFileIo&)
Last update: Mon Feb 5 16:50:09 2007
ROOT page - Class index - Class Hierarchy - Top of the page
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.