class HGeomInterface: public TObject

_HADES_CLASS_DESCRIPTION

 HGeomInterface

 Manager class for geometry used by simulation


Function Members (Methods)

public:
HGeomInterface()
HGeomInterface(const HGeomInterface&)
virtual~HGeomInterface()
voidTObject::AbstractMethod(const char* method) const
Bool_taddAlignment(HSpecGeomPar*)
Bool_taddAlignment(HDetGeomPar*)
voidaddInputFile(const Char_t*)
voidaddSetupFile(const Char_t* f)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
Bool_tcreateAll(Bool_t withCleanup = kFALSE)
Bool_tcreateGeometry(Bool_t withCleanup = kFALSE)
Bool_tcreateSet(HGeomSet*)
virtual voidTObject::Delete(Option_t* option = "")MENU
voiddeleteSet(HGeomSet* pSet)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
HGeomSet*findSet(const Char_t*)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
HGeomIo*getFileInput()
virtual const char*TObject::GetIconName() const
HGeomMedia*getMedia()
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
HGeomIo*getOraInput()
HGeomIo*getOutput()
HGeomShapes*getShapes()
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
HGeomInterface&operator=(const HGeomInterface&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
voidprint()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
Bool_treadAll()
Bool_treadGeomConfig(const Char_t*)
Bool_treadMedia()
Bool_treadSet(HGeomSet*)
Bool_treadSetupFile()
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidsetGeomBuilder(HGeomBuilder* p)
static voidTObject::SetObjectStat(Bool_t stat)
voidsetOracleInput(HGeomIo* p)
voidsetOutput(HGeomIo* p)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
Bool_twriteAll()
Bool_twriteMedia()
Bool_twriteMedia(const Char_t*)
Bool_twriteSet(HGeomSet*)
Bool_twriteSet(HGeomSet*, const Char_t*)
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
private:
HGeomIo*connectInput(const Char_t*)
Bool_tconnectOutput(const Char_t*)

Data Members

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
private:
HGeomIo*fileInputASCII file I/O
HGeomBuilder*geoBuilderactually used geometry builder
TList*masterNodeslist of mother nodes used by several sets
HGeomMedia*medialist of media
Int_tnActualSetsnumber of set in actual geometry
Int_tnFilesnumber of geometry and hit files
Int_tnSetsnumber of geometry sets (detector parts)
HGeomIo*oraInputOracle input
HGeomIo*outputOracle output
TObjArray*setsarray of geometry sets
TStringsetupFilefile with detector setups (subsets)
HGeomShapes*shapeslist of shapes

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HGeomInterface()
 Constructor
~HGeomInterface()
 Destructor
void addInputFile(const Char_t* )
 Adds the input file and creates the corresponding detector object
HGeomSet* findSet(const Char_t* )
 Find the detector set in the actual setup
Bool_t readSet(HGeomSet* )
 Reads the geometry for the detector part
Bool_t writeSet(HGeomSet* )
 Writes the geometry for the detector part to output
Bool_t writeSet(HGeomSet* , const Char_t* )
 Writes the geometry for the detector part to file
void deleteSet(HGeomSet* pSet)
 Deletes the set
Bool_t readMedia()
 Reads the media
Bool_t writeMedia()
 Writes the media to output
Bool_t writeMedia(const Char_t* )
 Writes the media to file
Bool_t readAll()
 Reads the media and the whole geometry and hit definitions
Bool_t writeAll()
 Reads the media and the whole geometry to output
Bool_t createAll(Bool_t withCleanup = kFALSE)
 Creates the whole geometry
 (if withCleanup==kTRUE, the geometry input is deleted afterwards)
Bool_t createGeometry(Bool_t withCleanup = kFALSE)
 Reads and creates the whole geometry
 (if withCleanup==kTRUE, the geometry input is deleted after creation)
HGeomIo* connectInput(const Char_t* )
 Connects the input (ASCII or Oracle)
Bool_t connectOutput(const Char_t* )
 Connects the output (ASCII or Oracle)
Bool_t createSet(HGeomSet* )
 Creates the geometry of detector part
Bool_t addAlignment(HSpecGeomPar* pPar)
 Adds the target alignment (not yet implemented for sectors)
Bool_t addAlignment(HDetGeomPar* pPar)
 Adds the detector alignment
void print()
 Prints the media and the list of detector parts
Bool_t readGeomConfig(const Char_t* )
 Reads the GEANT configuration file
Bool_t readSetupFile()
 Reads the detector setups, needed for create only subsets
HGeomInterface()
void setOracleInput(HGeomIo* p)
{oraInput=p;}
void setOutput(HGeomIo* p)
{output=p;}
void setGeomBuilder(HGeomBuilder* p)
{geoBuilder=p;}
HGeomIo* getFileInput()
{ return fileInput; }
HGeomIo* getOraInput()
{ return oraInput; }
HGeomIo* getOutput()
{ return output; }
HGeomShapes* getShapes()
{ return shapes; }
HGeomMedia* getMedia()
{ return media; }
void addSetupFile(const Char_t* f)
{setupFile=f;}

Last change: Sat May 22 12:56:21 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.