73 virtual void cd()
const {;}
#define ClassDef(name, id)
virtual Color_t GetLineColor() const
Return the line color.
Using a TBrowser one can browse all ROOT objects.
Visualization and tracking attributes for volumes and nodes.
Bool_t IsVisDaughters() const
ABC for user objects attached to TGeoVolume or TGeoNode.
Matrix class used for computing global transformations Should NOT be used for node definition.
TGeoIteratorPlugin & operator=(const TGeoIteratorPlugin &)
virtual ~TGeoIteratorPlugin()
void SetIterator(const TGeoIterator *iter)
TGeoIteratorPlugin(const TGeoIteratorPlugin &)
const TGeoIterator * fIterator
virtual void ProcessNode()=0
TGeoIterator & operator=(const TGeoIterator &iter)
Assignment.
TGeoIteratorPlugin * fPlugin
virtual ~TGeoIterator()
Destructor.
const TGeoMatrix * GetCurrentMatrix() const
Returns global matrix for current node.
void SetTopName(const char *name)
Set the top name for path.
void SetPluginAutoexec(Bool_t mode)
void Reset(TGeoVolume *top=0)
Resets the iterator for volume TOP.
void GetPath(TString &path) const
Returns the path for the current node.
void IncreaseArray()
Increase by 30 the size of the array.
TGeoNode * GetNode(Int_t level) const
Returns current node at a given level.
TGeoNode * operator()()
Returns next node.
Int_t GetIndex(Int_t i) const
TGeoNode * Next()
Returns next node.
void SetUserPlugin(TGeoIteratorPlugin *plugin)
Set a plugin.
void Skip()
Stop iterating the current branch.
TGeoIteratorPlugin * GetUserPlugin() const
TGeoVolume * GetTopVolume() const
Geometrical transformation package.
Media are used to store properties related to tracking and which are useful only when using geometry ...
A node containing local transformation.
virtual Int_t GetOptimalVoxels() const
Returns type of optimal voxelization for this node.
void SetMatrix(const TGeoMatrix *matrix)
Matrix setter.
virtual ~TGeoNodeMatrix()
Destructor.
virtual Bool_t IsFolder() const
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
virtual Int_t GetByteCount() const
return the total size in bytes of this node
TGeoNodeMatrix()
Default constructor.
TGeoNodeMatrix & operator=(const TGeoNodeMatrix &gnm)=delete
virtual TGeoNode * MakeCopyNode() const
Make a copy of this node.
virtual TGeoMatrix * GetMatrix() const
TGeoNodeMatrix(const TGeoNodeMatrix &gnm)=delete
Node containing an offset.
void SetFinder(TGeoPatternFinder *finder)
TGeoPatternFinder * fFinder
virtual TGeoNode * MakeCopyNode() const
Make a copy of this node.
virtual TGeoMatrix * GetMatrix() const
TGeoNodeOffset & operator=(const TGeoNodeOffset &)=delete
virtual ~TGeoNodeOffset()
Destructor.
TGeoNodeOffset()
Default constructor.
virtual TGeoPatternFinder * GetFinder() const
TGeoNodeOffset(const TGeoNodeOffset &)=delete
Double_t GetOffset() const
virtual Int_t GetIndex() const
Get the index of this offset.
A node represent a volume positioned inside another.They store links to both volumes and to the TGeoM...
TGeoMedium * GetMedium() const
Bool_t IsOverlapping() const
void SetFWExtension(TGeoExtension *ext)
Connect framework defined extension to the node.
Bool_t IsVisDaughters() const
Bool_t IsOnScreen() const
check if this node is drawn. Assumes that this node is current
TGeoVolume * GetVolume() const
void SaveAttributes(std::ostream &out)
save attributes for this node
void SetVolume(TGeoVolume *volume)
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute mouse actions on this volume.
virtual void Paint(Option_t *option="")
Paint this node and its content according to visualization settings.
void Draw(Option_t *option="")
draw current node according to option
void CheckShapes()
check for wrong parameters in shapes
virtual Bool_t IsFolder() const
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
void PrintOverlaps() const
print possible overlapping nodes
TGeoExtension * fFWExtension
Transient user-defined extension to volumes.
TGeoExtension * GetUserExtension() const
TGeoNode()
Default constructor.
TGeoExtension * fUserExtension
virtual Int_t GetByteCount() const
void SetOverlapping(Bool_t flag=kTRUE)
TGeoExtension * GrabFWExtension() const
Get a copy of the framework extension pointer.
void SetOverlaps(Int_t *ovlp, Int_t novlp)
set the list of overlaps for this node (ovlp must be created with operator new)
void PrintCandidates() const
print daughters candidates for containing current point
Int_t GetNdaughters() const
TGeoNode * GetDaughter(Int_t ind) const
void SetCurrentPoint(Double_t x, Double_t y, Double_t z)
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
compute the closest distance of approach from point px,py to this node
virtual Int_t GetOptimalVoxels() const
virtual TGeoMatrix * GetMatrix() const =0
TGeoNode(const TGeoNode &)=delete
Bool_t MayOverlap(Int_t iother) const
Check the overlab between the bounding box of the node overlaps with the one the brother with index I...
void CopyOverlaps(Int_t *ovlp, Int_t novlp)
Transient framework-defined extension to volumes.
TGeoNode & operator=(const TGeoNode &)=delete
void SetMotherVolume(TGeoVolume *mother)
void SetUserExtension(TGeoExtension *ext)
Connect user-defined extension to the node.
virtual void LocalToMasterVect(const Double_t *local, Double_t *master) const
Convert a vector from local reference system to mother reference.
void DrawOverlaps()
Method drawing the overlap candidates with this node.
virtual void LocalToMaster(const Double_t *local, Double_t *master) const
Convert the point coordinates from local reference system to mother reference.
Int_t CountDaughters(Bool_t unique_volumes=kFALSE)
Returns the number of daughters.
virtual TGeoNode * MakeCopyNode() const
void DrawOnly(Option_t *option="")
draw only this node independently of its vis options
TGeoVolume * GetMotherVolume() const
void SetVisibility(Bool_t vis=kTRUE)
Set visibility of the node (obsolete).
Int_t * GetOverlaps(Int_t &novlp) const
void SetNumber(Int_t number)
virtual void MasterToLocal(const Double_t *master, Double_t *local) const
Convert the point coordinates from mother reference to local reference system.
virtual Int_t GetIndex() const
TGeoExtension * GrabUserExtension() const
Get a copy of the user extension pointer.
Int_t FindNode(const TGeoNode *node, Int_t level)
Search for a node within the branch of this one.
void VisibleDaughters(Bool_t vis=kTRUE)
Set visibility of the daughters (obsolete).
void FillIdArray(Int_t &ifree, Int_t &nodeid, Int_t *array) const
Fill array with node id. Recursive on node branch.
virtual char * GetObjectInfo(Int_t px, Int_t py) const
Get node info for the browser.
virtual ~TGeoNode()
Destructor.
TGeoExtension * GetFWExtension() const
virtual TGeoPatternFinder * GetFinder() const
virtual void MasterToLocalVect(const Double_t *master, Double_t *local) const
Convert a vector from mother reference to local reference system.
virtual void ls(Option_t *option="") const
Print the path (A/B/C/...) to this node on stdout.
void SetCloned(Bool_t flag=kTRUE)
TObjArray * GetNodes() const
void CheckOverlaps(Double_t ovlp=0.1, Option_t *option="")
Check overlaps bigger than OVLP hierarchically, starting with this node.
void Browse(TBrowser *b)
How-to-browse for a node.
void InspectNode() const
Inspect this node.
Double_t Safety(const Double_t *point, Bool_t in=kTRUE) const
computes the closest distance from given point to this shape
Base finder class for patterns.
virtual TGeoMatrix * GetMatrix()
Return current matrix.
Base abstract class for all shapes.
TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly are the volume classes.
TGeoMedium * GetMedium() const
void SetCurrentPoint(Double_t x, Double_t y, Double_t z)
Set the current tracking point.
Int_t GetNdaughters() const
TGeoNode * GetNode(const char *name) const
get the pointer to a daughter node
virtual Bool_t IsVisible() const
The TNamed class is the base class for all named ROOT classes.
Mother of all ROOT objects.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.