Logo ROOT   6.08/07
Reference Guide
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TGeoVoxelFinder Class Reference

Finder class handling voxels.

Full description with examples and pictures

geom_t_finder.png
geom_t_voxelfind.png
geom_t_voxtree.png

Definition at line 22 of file TGeoVoxelFinder.h.

Public Types

enum  EVoxelsType { kGeoInvalidVoxels = BIT(15), kGeoRebuildVoxels = BIT(16) }
 
- Public Types inherited from TObject
enum  { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff }
 
enum  { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) }
 
enum  EStatusBits {
  kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4),
  kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13)
}
 

Public Member Functions

 TGeoVoxelFinder ()
 Default constructor. More...
 
 TGeoVoxelFinder (TGeoVolume *vol)
 Default constructor. More...
 
virtual ~TGeoVoxelFinder ()
 Destructor. More...
 
void DaughterToMother (Int_t id, const Double_t *local, Double_t *master) const
 convert a point from the local reference system of node id to reference system of mother volume More...
 
virtual Double_t Efficiency ()
 Compute voxelization efficiency. More...
 
virtual void FindOverlaps (Int_t inode) const
 create the list of nodes for which the bboxes overlap with inode's bbox More...
 
Double_tGetBoxes () const
 
virtual Int_tGetCheckList (const Double_t *point, Int_t &nelem, TGeoStateInfo &td)
 get the list of daughter indices for which point is inside their bbox More...
 
Int_tGetCheckList (Int_t &nelem, TGeoStateInfo &td) const
 
virtual Int_tGetNextCandidates (const Double_t *point, Int_t &ncheck, TGeoStateInfo &td)
 Returns list of new candidates in next voxel. More...
 
virtual Int_tGetNextVoxel (const Double_t *point, const Double_t *dir, Int_t &ncheck, TGeoStateInfo &td)
 get the list of new candidates for the next voxel crossed by current ray printf("### GetNextVoxel\n"); More...
 
Bool_t IsInvalid () const
 
Bool_t IsSafeVoxel (const Double_t *point, Int_t inode, Double_t minsafe) const
 Computes squared distance from POINT to the voxel(s) containing node INODE. More...
 
Bool_t NeedRebuild () const
 
virtual void Print (Option_t *option="") const
 Print the voxels. More...
 
void PrintVoxelLimits (const Double_t *point) const
 print the voxel containing point More...
 
void SetInvalid (Bool_t flag=kTRUE)
 
void SetNeedRebuild (Bool_t flag=kTRUE)
 
virtual void SortCrossedVoxels (const Double_t *point, const Double_t *dir, TGeoStateInfo &td)
 get the list in the next voxel crossed by a ray More...
 
virtual void Voxelize (Option_t *option="")
 Voxelize attached volume according to option If the volume is an assembly, make sure the bbox is computed. More...
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor. More...
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
virtual ~TObject ()
 TObject destructor. More...
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract. More...
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad. More...
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. More...
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility. More...
 
virtual Int_t Compare (const TObject *obj) const
 Compare abstract method. More...
 
virtual void Copy (TObject &object) const
 Copy this to obj. More...
 
virtual void Delete (Option_t *option="")
 Delete this object. More...
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object. More...
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects. More...
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs. More...
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current pad. More...
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g. More...
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray. More...
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py). More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. More...
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes. More...
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes. More...
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. More...
 
virtual ULong_t Hash () const
 Return hash value for this object. More...
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname". More...
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl. More...
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas. More...
 
void InvertBit (UInt_t f)
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
Bool_t IsZombie () const
 
virtual void ls (Option_t *option="") const
 The ls function lists the contents of a class on stdout. More...
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More...
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. More...
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself. More...
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list. More...
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory. More...
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list. More...
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename. More...
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out". More...
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. More...
 
void SetBit (UInt_t f)
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object. More...
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More...
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory. More...
 

Protected Member Functions

 TGeoVoxelFinder (const TGeoVoxelFinder &)
 copy constructor More...
 
void BuildVoxelLimits ()
 build the array of bounding boxes of the nodes inside More...
 
Int_tGetExtraX (Int_t islice, Bool_t left, Int_t &nextra) const
 Return the list of extra candidates in a given X slice compared to another (left or right) More...
 
Int_tGetExtraY (Int_t islice, Bool_t left, Int_t &nextra) const
 Return the list of extra candidates in a given Y slice compared to another (left or right) More...
 
Int_tGetExtraZ (Int_t islice, Bool_t left, Int_t &nextra) const
 Return the list of extra candidates in a given Z slice compared to another (left or right) More...
 
Bool_t GetIndices (const Double_t *point, TGeoStateInfo &td)
 Get indices for current slices on x, y, z. More...
 
Int_t GetNcandidates (TGeoStateInfo &td) const
 
Int_t GetPriority (Int_t iaxis) const
 
Int_tGetValidExtra (Int_t *list, Int_t &ncheck, TGeoStateInfo &td)
 Get extra candidates that are not contained in current check list. More...
 
Int_tGetValidExtra (Int_t n1, UChar_t *array1, Int_t *list, Int_t &ncheck, TGeoStateInfo &td)
 Get extra candidates that are contained in array1 but not in current check list. More...
 
Int_tGetValidExtra (Int_t n1, UChar_t *array1, Int_t n2, UChar_t *array2, Int_t *list, Int_t &ncheck, TGeoStateInfo &td)
 Get extra candidates that are contained in array1 but not in current check list. More...
 
Int_tGetVoxelCandidates (Int_t i, Int_t j, Int_t k, Int_t &ncheck, TGeoStateInfo &td)
 get the list of candidates in voxel (i,j,k) - no check More...
 
Bool_t Intersect (Int_t n1, UChar_t *array1, Int_t &nf, Int_t *result)
 return the list of nodes corresponding to one array of bits More...
 
Bool_t Intersect (Int_t n1, UChar_t *array1, Int_t n2, UChar_t *array2, Int_t &nf, Int_t *result)
 return the list of nodes corresponding to the intersection of two arrays of bits More...
 
Bool_t Intersect (Int_t n1, UChar_t *array1, Int_t n2, UChar_t *array2, Int_t n3, UChar_t *array3, Int_t &nf, Int_t *result)
 return the list of nodes corresponding to the intersection of three arrays of bits More...
 
Bool_t IntersectAndStore (Int_t n1, UChar_t *array1, TGeoStateInfo &td)
 return the list of nodes corresponding to one array of bits More...
 
Bool_t IntersectAndStore (Int_t n1, UChar_t *array1, Int_t n2, UChar_t *array2, TGeoStateInfo &td)
 return the list of nodes corresponding to the intersection of two arrays of bits More...
 
Bool_t IntersectAndStore (Int_t n1, UChar_t *array1, Int_t n2, UChar_t *array2, Int_t n3, UChar_t *array3, TGeoStateInfo &td)
 return the list of nodes corresponding to the intersection of three arrays of bits More...
 
TGeoVoxelFinderoperator= (const TGeoVoxelFinder &)
 assignment operator More...
 
void SortAll (Option_t *option="")
 order bounding boxes along x, y, z More...
 
Bool_t Union (Int_t n1, UChar_t *array1, TGeoStateInfo &td)
 make union of older bits with new array printf("Union - one slice\n"); More...
 
Bool_t Union (Int_t n1, UChar_t *array1, Int_t n2, UChar_t *array2, TGeoStateInfo &td)
 make union of older bits with new array printf("Union - two slices\n"); More...
 
Bool_t Union (Int_t n1, UChar_t *array1, Int_t n2, UChar_t *array2, Int_t n3, UChar_t *array3, TGeoStateInfo &td)
 make union of older bits with new array printf("Union - three slices\n"); printf("n1=%i n2=%i n3=%i\n", n1,n2,n3); More...
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 
void MakeZombie ()
 

Protected Attributes

Double_tfBoxes
 
Int_tfExtraX
 
Int_tfExtraY
 
Int_tfExtraZ
 
Int_t fIbx
 
Int_t fIby
 
Int_t fIbz
 
UChar_tfIndcX
 
UChar_tfIndcY
 
UChar_tfIndcZ
 
Int_t fNboxes
 
Int_t fNex
 
Int_t fNey
 
Int_t fNez
 
Int_t fNox
 
Int_t fNoy
 
Int_t fNoz
 
Int_tfNsliceX
 
Int_tfNsliceY
 
Int_tfNsliceZ
 
Int_t fNx
 
Int_t fNy
 
Int_t fNz
 
Int_tfOBx
 
Int_tfOBy
 
Int_tfOBz
 
Int_tfOEx
 
Int_tfOEy
 
Int_tfOEz
 
Int_t fPriority [3]
 
TGeoVolumefVolume
 
Double_tfXb
 
Double_tfYb
 
Double_tfZb
 

Additional Inherited Members

- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 

#include <TGeoVoxelFinder.h>

Inheritance diagram for TGeoVoxelFinder:
[legend]

Member Enumeration Documentation

◆ EVoxelsType

Enumerator
kGeoInvalidVoxels 
kGeoRebuildVoxels 

Definition at line 25 of file TGeoVoxelFinder.h.

Constructor & Destructor Documentation

◆ TGeoVoxelFinder() [1/3]

TGeoVoxelFinder::TGeoVoxelFinder ( const TGeoVoxelFinder vf)
protected

copy constructor

Definition at line 129 of file TGeoVoxelFinder.cxx.

◆ TGeoVoxelFinder() [2/3]

TGeoVoxelFinder::TGeoVoxelFinder ( )

Default constructor.

Definition at line 41 of file TGeoVoxelFinder.cxx.

◆ TGeoVoxelFinder() [3/3]

TGeoVoxelFinder::TGeoVoxelFinder ( TGeoVolume vol)

Default constructor.

Definition at line 82 of file TGeoVoxelFinder.cxx.

◆ ~TGeoVoxelFinder()

TGeoVoxelFinder::~TGeoVoxelFinder ( )
virtual

Destructor.

Definition at line 220 of file TGeoVoxelFinder.cxx.

Member Function Documentation

◆ BuildVoxelLimits()

void TGeoVoxelFinder::BuildVoxelLimits ( )
protected

build the array of bounding boxes of the nodes inside

Definition at line 265 of file TGeoVoxelFinder.cxx.

◆ DaughterToMother()

void TGeoVoxelFinder::DaughterToMother ( Int_t  id,
const Double_t local,
Double_t master 
) const

convert a point from the local reference system of node id to reference system of mother volume

Definition at line 310 of file TGeoVoxelFinder.cxx.

◆ Efficiency()

Double_t TGeoVoxelFinder::Efficiency ( )
virtual

Compute voxelization efficiency.

Definition at line 342 of file TGeoVoxelFinder.cxx.

◆ FindOverlaps()

void TGeoVoxelFinder::FindOverlaps ( Int_t  inode) const
virtual

create the list of nodes for which the bboxes overlap with inode's bbox

Definition at line 389 of file TGeoVoxelFinder.cxx.

◆ GetBoxes()

Double_t* TGeoVoxelFinder::GetBoxes ( ) const
inline

Definition at line 107 of file TGeoVoxelFinder.h.

◆ GetCheckList() [1/2]

Int_t * TGeoVoxelFinder::GetCheckList ( const Double_t point,
Int_t nelem,
TGeoStateInfo td 
)
virtual

get the list of daughter indices for which point is inside their bbox

Definition at line 1298 of file TGeoVoxelFinder.cxx.

◆ GetCheckList() [2/2]

Int_t * TGeoVoxelFinder::GetCheckList ( Int_t nelem,
TGeoStateInfo td 
) const

Definition at line 256 of file TGeoVoxelFinder.cxx.

◆ GetExtraX()

Int_t * TGeoVoxelFinder::GetExtraX ( Int_t  islice,
Bool_t  left,
Int_t nextra 
) const
protected

Return the list of extra candidates in a given X slice compared to another (left or right)

Definition at line 486 of file TGeoVoxelFinder.cxx.

◆ GetExtraY()

Int_t * TGeoVoxelFinder::GetExtraY ( Int_t  islice,
Bool_t  left,
Int_t nextra 
) const
protected

Return the list of extra candidates in a given Y slice compared to another (left or right)

Definition at line 505 of file TGeoVoxelFinder.cxx.

◆ GetExtraZ()

Int_t * TGeoVoxelFinder::GetExtraZ ( Int_t  islice,
Bool_t  left,
Int_t nextra 
) const
protected

Return the list of extra candidates in a given Z slice compared to another (left or right)

Definition at line 524 of file TGeoVoxelFinder.cxx.

◆ GetIndices()

Bool_t TGeoVoxelFinder::GetIndices ( const Double_t point,
TGeoStateInfo td 
)
protected

Get indices for current slices on x, y, z.

Definition at line 441 of file TGeoVoxelFinder.cxx.

◆ GetNcandidates()

Int_t TGeoVoxelFinder::GetNcandidates ( TGeoStateInfo td) const
protected

Definition at line 249 of file TGeoVoxelFinder.cxx.

◆ GetNextCandidates()

Int_t * TGeoVoxelFinder::GetNextCandidates ( const Double_t point,
Int_t ncheck,
TGeoStateInfo td 
)
virtual

Returns list of new candidates in next voxel.

If NULL, nowhere to go next.

Definition at line 603 of file TGeoVoxelFinder.cxx.

◆ GetNextVoxel()

Int_t * TGeoVoxelFinder::GetNextVoxel ( const Double_t point,
const Double_t dir,
Int_t ncheck,
TGeoStateInfo td 
)
virtual

get the list of new candidates for the next voxel crossed by current ray printf("### GetNextVoxel\n");

Definition at line 1459 of file TGeoVoxelFinder.cxx.

◆ GetPriority()

Int_t TGeoVoxelFinder::GetPriority ( Int_t  iaxis) const
inlineprotected

Definition at line 75 of file TGeoVoxelFinder.h.

◆ GetValidExtra() [1/3]

Int_t * TGeoVoxelFinder::GetValidExtra ( Int_t list,
Int_t ncheck,
TGeoStateInfo td 
)
protected

Get extra candidates that are not contained in current check list.

Definition at line 542 of file TGeoVoxelFinder.cxx.

◆ GetValidExtra() [2/3]

Int_t * TGeoVoxelFinder::GetValidExtra ( Int_t  n1,
UChar_t array1,
Int_t list,
Int_t ncheck,
TGeoStateInfo td 
)
protected

Get extra candidates that are contained in array1 but not in current check list.

Definition at line 562 of file TGeoVoxelFinder.cxx.

◆ GetValidExtra() [3/3]

Int_t * TGeoVoxelFinder::GetValidExtra ( Int_t  n1,
UChar_t array1,
Int_t  n2,
UChar_t array2,
Int_t list,
Int_t ncheck,
TGeoStateInfo td 
)
protected

Get extra candidates that are contained in array1 but not in current check list.

Definition at line 582 of file TGeoVoxelFinder.cxx.

◆ GetVoxelCandidates()

Int_t * TGeoVoxelFinder::GetVoxelCandidates ( Int_t  i,
Int_t  j,
Int_t  k,
Int_t ncheck,
TGeoStateInfo td 
)
protected

get the list of candidates in voxel (i,j,k) - no check

Definition at line 1395 of file TGeoVoxelFinder.cxx.

◆ Intersect() [1/3]

Bool_t TGeoVoxelFinder::Intersect ( Int_t  n1,
UChar_t array1,
Int_t nf,
Int_t result 
)
protected

return the list of nodes corresponding to one array of bits

Definition at line 1482 of file TGeoVoxelFinder.cxx.

◆ Intersect() [2/3]

Bool_t TGeoVoxelFinder::Intersect ( Int_t  n1,
UChar_t array1,
Int_t  n2,
UChar_t array2,
Int_t nf,
Int_t result 
)
protected

return the list of nodes corresponding to the intersection of two arrays of bits

Definition at line 1638 of file TGeoVoxelFinder.cxx.

◆ Intersect() [3/3]

Bool_t TGeoVoxelFinder::Intersect ( Int_t  n1,
UChar_t array1,
Int_t  n2,
UChar_t array2,
Int_t  n3,
UChar_t array3,
Int_t nf,
Int_t result 
)
protected

return the list of nodes corresponding to the intersection of three arrays of bits

Definition at line 1695 of file TGeoVoxelFinder.cxx.

◆ IntersectAndStore() [1/3]

Bool_t TGeoVoxelFinder::IntersectAndStore ( Int_t  n1,
UChar_t array1,
TGeoStateInfo td 
)
protected

return the list of nodes corresponding to one array of bits

Definition at line 1511 of file TGeoVoxelFinder.cxx.

◆ IntersectAndStore() [2/3]

Bool_t TGeoVoxelFinder::IntersectAndStore ( Int_t  n1,
UChar_t array1,
Int_t  n2,
UChar_t array2,
TGeoStateInfo td 
)
protected

return the list of nodes corresponding to the intersection of two arrays of bits

Definition at line 1667 of file TGeoVoxelFinder.cxx.

◆ IntersectAndStore() [3/3]

Bool_t TGeoVoxelFinder::IntersectAndStore ( Int_t  n1,
UChar_t array1,
Int_t  n2,
UChar_t array2,
Int_t  n3,
UChar_t array3,
TGeoStateInfo td 
)
protected

return the list of nodes corresponding to the intersection of three arrays of bits

Definition at line 1724 of file TGeoVoxelFinder.cxx.

◆ IsInvalid()

Bool_t TGeoVoxelFinder::IsInvalid ( ) const
inline

Definition at line 105 of file TGeoVoxelFinder.h.

◆ IsSafeVoxel()

Bool_t TGeoVoxelFinder::IsSafeVoxel ( const Double_t point,
Int_t  inode,
Double_t  minsafe 
) const

Computes squared distance from POINT to the voxel(s) containing node INODE.

Returns 0 if POINT inside voxel(s).

Definition at line 320 of file TGeoVoxelFinder.cxx.

◆ NeedRebuild()

Bool_t TGeoVoxelFinder::NeedRebuild ( ) const
inline

Definition at line 106 of file TGeoVoxelFinder.h.

◆ operator=()

TGeoVoxelFinder & TGeoVoxelFinder::operator= ( const TGeoVoxelFinder vf)
protected

assignment operator

Definition at line 173 of file TGeoVoxelFinder.cxx.

◆ Print()

void TGeoVoxelFinder::Print ( Option_t option = "") const
virtual

Print the voxels.

Reimplemented from TObject.

Definition at line 2175 of file TGeoVoxelFinder.cxx.

◆ PrintVoxelLimits()

void TGeoVoxelFinder::PrintVoxelLimits ( const Double_t point) const

print the voxel containing point

Definition at line 2277 of file TGeoVoxelFinder.cxx.

◆ SetInvalid()

void TGeoVoxelFinder::SetInvalid ( Bool_t  flag = kTRUE)
inline

Definition at line 111 of file TGeoVoxelFinder.h.

◆ SetNeedRebuild()

void TGeoVoxelFinder::SetNeedRebuild ( Bool_t  flag = kTRUE)
inline

Definition at line 112 of file TGeoVoxelFinder.h.

◆ SortAll()

void TGeoVoxelFinder::SortAll ( Option_t option = "")
protected

order bounding boxes along x, y, z

Definition at line 1751 of file TGeoVoxelFinder.cxx.

◆ SortCrossedVoxels()

void TGeoVoxelFinder::SortCrossedVoxels ( const Double_t point,
const Double_t dir,
TGeoStateInfo td 
)
virtual

get the list in the next voxel crossed by a ray

Definition at line 1164 of file TGeoVoxelFinder.cxx.

◆ Union() [1/3]

Bool_t TGeoVoxelFinder::Union ( Int_t  n1,
UChar_t array1,
TGeoStateInfo td 
)
protected

make union of older bits with new array printf("Union - one slice\n");

Definition at line 1553 of file TGeoVoxelFinder.cxx.

◆ Union() [2/3]

Bool_t TGeoVoxelFinder::Union ( Int_t  n1,
UChar_t array1,
Int_t  n2,
UChar_t array2,
TGeoStateInfo td 
)
protected

make union of older bits with new array printf("Union - two slices\n");

Definition at line 1586 of file TGeoVoxelFinder.cxx.

◆ Union() [3/3]

Bool_t TGeoVoxelFinder::Union ( Int_t  n1,
UChar_t array1,
Int_t  n2,
UChar_t array2,
Int_t  n3,
UChar_t array3,
TGeoStateInfo td 
)
protected

make union of older bits with new array printf("Union - three slices\n"); printf("n1=%i n2=%i n3=%i\n", n1,n2,n3);

Definition at line 1613 of file TGeoVoxelFinder.cxx.

◆ Voxelize()

void TGeoVoxelFinder::Voxelize ( Option_t option = "")
virtual

Voxelize attached volume according to option If the volume is an assembly, make sure the bbox is computed.

Definition at line 2314 of file TGeoVoxelFinder.cxx.

Member Data Documentation

◆ fBoxes

Double_t* TGeoVoxelFinder::fBoxes
protected

Definition at line 47 of file TGeoVoxelFinder.h.

◆ fExtraX

Int_t* TGeoVoxelFinder::fExtraX
protected

Definition at line 57 of file TGeoVoxelFinder.h.

◆ fExtraY

Int_t* TGeoVoxelFinder::fExtraY
protected

Definition at line 58 of file TGeoVoxelFinder.h.

◆ fExtraZ

Int_t* TGeoVoxelFinder::fExtraZ
protected

Definition at line 59 of file TGeoVoxelFinder.h.

◆ fIbx

Int_t TGeoVoxelFinder::fIbx
protected

Definition at line 33 of file TGeoVoxelFinder.h.

◆ fIby

Int_t TGeoVoxelFinder::fIby
protected

Definition at line 34 of file TGeoVoxelFinder.h.

◆ fIbz

Int_t TGeoVoxelFinder::fIbz
protected

Definition at line 35 of file TGeoVoxelFinder.h.

◆ fIndcX

UChar_t* TGeoVoxelFinder::fIndcX
protected

Definition at line 63 of file TGeoVoxelFinder.h.

◆ fIndcY

UChar_t* TGeoVoxelFinder::fIndcY
protected

Definition at line 64 of file TGeoVoxelFinder.h.

◆ fIndcZ

UChar_t* TGeoVoxelFinder::fIndcZ
protected

Definition at line 65 of file TGeoVoxelFinder.h.

◆ fNboxes

Int_t TGeoVoxelFinder::fNboxes
protected

Definition at line 36 of file TGeoVoxelFinder.h.

◆ fNex

Int_t TGeoVoxelFinder::fNex
protected

Definition at line 40 of file TGeoVoxelFinder.h.

◆ fNey

Int_t TGeoVoxelFinder::fNey
protected

Definition at line 41 of file TGeoVoxelFinder.h.

◆ fNez

Int_t TGeoVoxelFinder::fNez
protected

Definition at line 42 of file TGeoVoxelFinder.h.

◆ fNox

Int_t TGeoVoxelFinder::fNox
protected

Definition at line 37 of file TGeoVoxelFinder.h.

◆ fNoy

Int_t TGeoVoxelFinder::fNoy
protected

Definition at line 38 of file TGeoVoxelFinder.h.

◆ fNoz

Int_t TGeoVoxelFinder::fNoz
protected

Definition at line 39 of file TGeoVoxelFinder.h.

◆ fNsliceX

Int_t* TGeoVoxelFinder::fNsliceX
protected

Definition at line 60 of file TGeoVoxelFinder.h.

◆ fNsliceY

Int_t* TGeoVoxelFinder::fNsliceY
protected

Definition at line 61 of file TGeoVoxelFinder.h.

◆ fNsliceZ

Int_t* TGeoVoxelFinder::fNsliceZ
protected

Definition at line 62 of file TGeoVoxelFinder.h.

◆ fNx

Int_t TGeoVoxelFinder::fNx
protected

Definition at line 43 of file TGeoVoxelFinder.h.

◆ fNy

Int_t TGeoVoxelFinder::fNy
protected

Definition at line 44 of file TGeoVoxelFinder.h.

◆ fNz

Int_t TGeoVoxelFinder::fNz
protected

Definition at line 45 of file TGeoVoxelFinder.h.

◆ fOBx

Int_t* TGeoVoxelFinder::fOBx
protected

Definition at line 51 of file TGeoVoxelFinder.h.

◆ fOBy

Int_t* TGeoVoxelFinder::fOBy
protected

Definition at line 52 of file TGeoVoxelFinder.h.

◆ fOBz

Int_t* TGeoVoxelFinder::fOBz
protected

Definition at line 53 of file TGeoVoxelFinder.h.

◆ fOEx

Int_t* TGeoVoxelFinder::fOEx
protected

Definition at line 54 of file TGeoVoxelFinder.h.

◆ fOEy

Int_t* TGeoVoxelFinder::fOEy
protected

Definition at line 55 of file TGeoVoxelFinder.h.

◆ fOEz

Int_t* TGeoVoxelFinder::fOEz
protected

Definition at line 56 of file TGeoVoxelFinder.h.

◆ fPriority

Int_t TGeoVoxelFinder::fPriority[3]
protected

Definition at line 46 of file TGeoVoxelFinder.h.

◆ fVolume

TGeoVolume* TGeoVoxelFinder::fVolume
protected

Definition at line 31 of file TGeoVoxelFinder.h.

◆ fXb

Double_t* TGeoVoxelFinder::fXb
protected

Definition at line 48 of file TGeoVoxelFinder.h.

◆ fYb

Double_t* TGeoVoxelFinder::fYb
protected

Definition at line 49 of file TGeoVoxelFinder.h.

◆ fZb

Double_t* TGeoVoxelFinder::fZb
protected

Definition at line 50 of file TGeoVoxelFinder.h.


The documentation for this class was generated from the following files: