HGeomSet
class description - source file - inheritance tree (.pdf)
protected:
HGeomSet()
void readInout(fstream&)
Bool_t readKeepIn(fstream&, HGeomMedia*, TString&)
Bool_t readModule(fstream&, HGeomMedia*, TString&, TString&, Bool_t a = kFALSE)
void readTransform(fstream&, HGeomTransform&)
Bool_t readVolumeParams(fstream&, HGeomMedia*, HGeomNode*, TList* l = 0)
public:
HGeomSet(const HGeomSet&)
virtual ~HGeomSet()
virtual void addRefNodes()
static TClass* Class()
void compare(HGeomSet&)
virtual Bool_t create(HGeomBuilder*)
TString& getAuthor()
TString& getDescription()
virtual const char* getEleName(Int_t) const
const char* getGeomFile() const
HGeomHit* getHit()
virtual const char* getKeepinName(Int_t, Int_t) const
TList* getListOfVolumes()
HGeomNode* getMasterNode(const char* name)
Int_t getMaxKeepinVolumes()
Int_t getMaxModules()
Int_t getMaxSectors()
virtual Int_t getModNumInMod(const TString&)
Int_t getModule(Int_t, Int_t)
virtual const char* getModuleName(Int_t) const
Int_t* getModules()
virtual Int_t getSecNumInMod(const TString&)
HGeomShapes* getShapes()
HGeomNode* getVolume(const char* name)
virtual TClass* IsA() const
HGeomSet& operator=(const HGeomSet&)
virtual void print()
virtual Bool_t read(fstream&, HGeomMedia*)
void setAuthor(TString& s)
void setDescription(TString& s)
void setGeomFile(const char* filename)
void setHitFile(const char*)
void setMasterNodes(TList* m)
void setModules(Int_t, Int_t*)
void setShapes(HGeomShapes* s)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
virtual void write(fstream&)
protected:
TList* volumes list of volumes
TList* masterNodes pointer to list of mother volumes from other detector parts
Int_t maxSectors maximum number of sectors (-1 for detectors outside any sector)
Int_t maxKeepinVolumes maximum number of keepin volumes per sector
Int_t maxModules maximum number of modules per sector
TArrayI* modules Module's array.
HGeomShapes* pShapes pointer to the class HGeomShapes
TString geoFile name of geometry input file or Oracle
HGeomHit* pHit pointer to object for hit definition
TString author author of the media version
TString description description of the version
HGeomSet
Base class for geometry of detector parts
HGeomSet()
Constructor
~HGeomSet()
Destructor
void setModules(Int_t s,Int_t* m)
Stores the modules given in 'm' as active modules in sector 's'
May be called with s=-1 for detectors not belonging to a sector
Int_t* getModules()
Returns a linear array of all modules
Int_t getModule(Int_t s,Int_t m)
Returns 1, if the module is not explicitly set inactive
(in this case it returns 0)
May be called with s=-1 for detectors not belonging to a sector
void setHitFile(const char* filename)
Sets the name of the hit definition file
Bool_t read(fstream& fin,HGeomMedia* media)
Reads the geometry from file
void readInout(fstream& fin)
Reads the inout flag (in old files)
void readTransform(fstream& fin,HGeomTransform& tf)
Reads the transformation from file
Bool_t readVolumeParams(fstream& fin,HGeomMedia* media,
HGeomNode* volu,TList* refVolumes)
Reads the volume definition from file
Bool_t readKeepIn(fstream& fin,HGeomMedia* media,TString& name)
Reads the keepin volume from file
Bool_t readModule(fstream& fin,HGeomMedia* media,TString& modName,
TString& eleName,Bool_t containsActiveMod)
Reads the whole geometry of a module from file
void print()
Prints the geometry
void write(fstream& fout)
Writes the volumes to file
Bool_t create(HGeomBuilder* builder)
Creates the geometry
void compare(HGeomSet& rset)
Compares the geometry parameters and print a diagnose
Inline Functions
void setShapes(HGeomShapes* s)
void setMasterNodes(TList* m)
void setGeomFile(const char* filename)
const char* getGeomFile() const
HGeomHit* getHit()
Int_t getMaxSectors()
Int_t getMaxModules()
Int_t getMaxKeepinVolumes()
HGeomNode* getVolume(const char* name)
HGeomNode* getMasterNode(const char* name)
TList* getListOfVolumes()
HGeomShapes* getShapes()
void setAuthor(TString& s)
void setDescription(TString& s)
TString& getAuthor()
TString& getDescription()
const char* getKeepinName(Int_t, Int_t) const
const char* getModuleName(Int_t) const
const char* getEleName(Int_t) const
Int_t getSecNumInMod(const TString&)
Int_t getModNumInMod(const TString&)
void addRefNodes()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HGeomSet HGeomSet(const HGeomSet&)
HGeomSet& operator=(const HGeomSet&)
Last update: Fri Jan 26 11:55:07 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.