class HGeomNode: public HGeomVolume

_HADES_CLASS_DESCRIPTION

 HGeomNode

 Class to hold the basic geometry properties of a GEANT volume


Function Members (Methods)

public:
HGeomNode()
HGeomNode(HGeomNode&)
virtual~HGeomNode()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
HGeomTransform*calcLabTransform()
Bool_tcalcModuleTransform(HGeomTransform&)
Bool_tcalcRefPos(HGeomVector&)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidclear()
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
Int_tcompare(HGeomNode&)
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
voidHGeomVolume::createPoints(const Int_t)
virtual voidTObject::Delete(Option_t* option = "")MENU
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 voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
HGeomTransform&getCenterPosition()
Int_tgetCopyNo()
HGeomNode*getCopyNode()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
HGeomTransform*getLabTransform()
HGeomMedium*getMedium()
const TString&HGeomVolume::getMother() const
HGeomNode*getMotherNode()
const TString&HGeomVolume::getName() const
virtual const char*TNamed::GetName() const
Int_tHGeomVolume::getNumPoints()
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
TArrayD*getParameters()
HGeomVector*HGeomVolume::getPoint(const Int_t n)
HGeomTransform*getPosition()
TGeoVolume*getRootVolume()
const TString&HGeomVolume::getShape() const
HGeomBasicShape*getShapePointer()
virtual const char*TNamed::GetTitle() const
HGeomTransform&HGeomVolume::getTransform()
TList*getTree()
virtual UInt_tTObject::GetUniqueID() const
EHGeomNodeTypegetVolumeType()
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::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
Bool_tisActive()
Bool_tisCreated()
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tisKeepin()
Bool_tisModule()
Bool_tTObject::IsOnHeap() const
Bool_tisRefNode()
Bool_tisSensitive()
virtual Bool_tTNamed::IsSortable() const
Bool_tisTopNode()
Bool_tTObject::IsZombie() const
virtual voidTNamed::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)
HGeomNode&operator=(const HGeomNode&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidprint()
virtual voidTNamed::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
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 = "")
voidsetActive(Bool_t a = kTRUE)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidsetCenterPosition(const HGeomTransform& t)
voidsetCopyNode(HGeomNode* p)
voidsetCreated()
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidsetLabTransform(HGeomTransform&)
voidsetMedium(HGeomMedium* m)
voidsetMother(HGeomNode* m)
voidsetName(const Text_t* s)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
voidHGeomVolume::setPoint(const Int_t, const HGeomVector&)
voidHGeomVolume::setPoint(const Int_t, const Double_t, const Double_t, const Double_t)
voidsetRootVolume(TGeoVolume* p)
voidsetShape(HGeomBasicShape* s)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
voidsetVolumePar(HGeomNode&)
voidsetVolumeType(EHGeomNodeType t)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTNamed::Sizeof() const
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
Bool_twrite(fstream&)
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
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
Bool_tactivein/out flag for creation
HGeomTransformcenterposition of the GEANT/ROOT center
HGeomNode*copyNodepointer to the reference volume for a copy
Bool_tcreatedFlag set kTRUE after creation of volume
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
HGeomTransform*labTransformTransformation to the LAB system
HGeomMedium*mediumpointer to medium
TStringHGeomVolume::mothername of the mother volume
Int_tHGeomVolume::nPointsnumber of points
HGeomNode*pMotherpointer to the mother volume
HGeomBasicShape*pShapepointer to the shape
TObjArray*HGeomVolume::pointsarray of points (type HGeomVector)
TGeoVolume*rootVolumepointer to the ROOT node
TStringHGeomVolume::shapeGeant shape of the volume
HGeomTransformHGeomVolume::transformtransformation relative to the mother system
EHGeomNodeTypevolumeTypetype of volume

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

HGeomNode()
 Constructor
HGeomNode(HGeomNode& )
 Copy constructor
~HGeomNode()
 Destructor
void setVolumePar(HGeomNode& )
 Copies all volume parameters except the name
void clear()
 Clears the volume and deletes the points
Int_t getCopyNo()
 Returns the copy number
TArrayD* getParameters()
 Returns the parameters to create a GEANT/ROOT volume
HGeomTransform* getPosition()
 Returns the transformation to position a volume in GEANT/ROOT
void print()
 Prints all parameters of a volume
Bool_t write(fstream& )
 Writes all parameters of a volume to file
TList* getTree()
 Returns the tree of the mother volumes
HGeomTransform* getLabTransform()
 Returns the lab transformation
HGeomTransform* calcLabTransform()
 Calculates the lab transformation
void setLabTransform(HGeomTransform& )
 Sets the lab transformation
Bool_t calcModuleTransform(HGeomTransform& )
 Calculates the transformation relative to the detectors coordinate system
Bool_t calcRefPos(HGeomVector& )
 Calculates the position in the detectors coordinate system
Int_t compare(HGeomNode& )
 Compares the volume with the volume rn and prints the diagnose
 Returns kTRUE if the volume parameters are the same
void setName(const Text_t* s)
 Sets the name of the volume
void setShape(HGeomBasicShape* s)
 Sets the shape of the volume
void setMother(HGeomNode* m)
 Sets the mother of the volume
Bool_t isSensitive()
EHGeomNodeType getVolumeType()
{ return volumeType; }
Bool_t isTopNode()
{ return (Bool_t)(volumeType == kHGeomTopNode);}
Bool_t isRefNode()
{ return (Bool_t)(volumeType == kHGeomRefNode);}
Bool_t isKeepin()
{ return (Bool_t)(volumeType == kHGeomKeepin);}
Bool_t isModule()
{ return (Bool_t)(volumeType == kHGeomModule);}
HGeomBasicShape* getShapePointer()
{ return pShape; }
HGeomNode* getMotherNode()
{return pMother;}
HGeomMedium* getMedium()
{return medium;}
Bool_t isActive()
{return active;}
HGeomTransform& getCenterPosition()
{return center;}
HGeomNode* getCopyNode()
{return copyNode;}
TGeoVolume* getRootVolume()
{return rootVolume;}
Bool_t isCreated()
{return created;}
void setCreated()
{created=kTRUE;}
void setVolumeType(EHGeomNodeType t)
{volumeType=t;}
void setMedium(HGeomMedium* m)
{medium=m; }
void setActive(Bool_t a = kTRUE)
{active=a;}
void setCenterPosition(const HGeomTransform& t)
{center=t;}
void setCopyNode(HGeomNode* p)
{copyNode=p;}
void setRootVolume(TGeoVolume* p)
{rootVolume=p;}

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