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