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