Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGeoVoxelFinder Class Reference

Finder class handling voxels.

Full description with examples and pictures

Definition at line 20 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 , kInconsistent = 0x08000000 ,
  kBitMask = 0x00ffffff
}
 
enum  { kSingleKey = BIT(0) , kOverwrite = BIT(1) , kWriteDelete = BIT(2) }
 
enum  EDeprecatedStatusBits { kObjInCanvas = BIT(3) }
 
enum  EStatusBits {
  kCanDelete = BIT(0) , kMustCleanup = BIT(3) , kIsReferenced = BIT(4) , kHasUUID = BIT(5) ,
  kCannotPick = BIT(6) , kNoContextMenu = BIT(8) , kInvalidObject = BIT(13)
}
 

Public Member Functions

 TGeoVoxelFinder ()
 Default constructor.
 
 TGeoVoxelFinder (TGeoVolume *vol)
 Default constructor.
 
virtual ~TGeoVoxelFinder ()
 Destructor.
 
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
 
virtual Double_t Efficiency ()
 Compute voxelization efficiency.
 
virtual void FindOverlaps (Int_t inode) const
 create the list of nodes for which the bboxes overlap with inode's bbox
 
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
 
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.
 
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");
 
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.
 
Bool_t NeedRebuild () const
 
virtual void Print (Option_t *option="") const
 Print the voxels.
 
void PrintVoxelLimits (const Double_t *point) const
 print the voxel containing point
 
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
 
virtual void Voxelize (Option_t *option="")
 Voxelize attached volume according to option If the volume is an assembly, make sure the bbox is computed.
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor.
 
 TObject (const TObject &object)
 TObject copy ctor.
 
virtual ~TObject ()
 TObject destructor.
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract.
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad.
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action.
 
ULong_t CheckedHash ()
 Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs.
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility.
 
virtual Int_t Compare (const TObject *obj) const
 Compare abstract method.
 
virtual void Copy (TObject &object) const
 Copy this to obj.
 
virtual void Delete (Option_t *option="")
 Delete this object.
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object.
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects.
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs.
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad for instance with: gROOT->SetSelectedPad(gPad).
 
virtual void Dump () const
 Dump contents of object on stdout.
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message.
 
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.
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray.
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py).
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message.
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes.
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes.
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object.
 
virtual const char * GetIconName () const
 Returns mime type name of object.
 
virtual const char * GetName () const
 Returns name of object.
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py).
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () const
 Returns title of object.
 
virtual UInt_t GetUniqueID () const
 Return the unique object id.
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out.
 
virtual ULong_t Hash () const
 Return hash value for this object.
 
Bool_t HasInconsistentHash () const
 Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message.
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname".
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl.
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas.
 
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).
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
virtual void ls (Option_t *option="") const
 The ls function lists the contents of a class on stdout.
 
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).
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification.
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete.
 
void operator delete (void *ptr)
 Operator delete.
 
void operator delete[] (void *ptr)
 Operator delete [].
 
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.
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself.
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list.
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory.
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list.
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename.
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out".
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f.
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object.
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id.
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message.
 
R__ALWAYS_INLINE 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.
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message.
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory.
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory.
 

Protected Member Functions

void BuildVoxelLimits ()
 build the array of bounding boxes of the nodes inside
 
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)
 
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)
 
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)
 
Bool_t GetIndices (const Double_t *point, TGeoStateInfo &td)
 Get indices for current slices on x, y, z.
 
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.
 
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.
 
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.
 
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
 
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
 
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
 
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
 
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
 
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
 
Bool_t IntersectAndStore (Int_t n1, UChar_t *array1, TGeoStateInfo &td)
 return the list of nodes corresponding to one array of bits
 
void SortAll (Option_t *option="")
 order bounding boxes along x, y, z
 
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);
 
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");
 
Bool_t Union (Int_t n1, UChar_t *array1, TGeoStateInfo &td)
 make union of older bits with new array printf("Union - one slice\n");
 
- 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).
 
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
 

Private Member Functions

 TGeoVoxelFinder (const TGeoVoxelFinder &)=delete
 
TGeoVoxelFinderoperator= (const TGeoVoxelFinder &)=delete
 

Additional Inherited Members

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

#include <TGeoVoxelFinder.h>

Inheritance diagram for TGeoVoxelFinder:
[legend]

Member Enumeration Documentation

◆ EVoxelsType

Enumerator
kGeoInvalidVoxels 
kGeoRebuildVoxels 

Definition at line 23 of file TGeoVoxelFinder.h.

Constructor & Destructor Documentation

◆ TGeoVoxelFinder() [1/3]

TGeoVoxelFinder::TGeoVoxelFinder ( const TGeoVoxelFinder )
privatedelete

◆ TGeoVoxelFinder() [2/3]

TGeoVoxelFinder::TGeoVoxelFinder ( )

Default constructor.

Definition at line 39 of file TGeoVoxelFinder.cxx.

◆ TGeoVoxelFinder() [3/3]

TGeoVoxelFinder::TGeoVoxelFinder ( TGeoVolume vol)

Default constructor.

Definition at line 80 of file TGeoVoxelFinder.cxx.

◆ ~TGeoVoxelFinder()

TGeoVoxelFinder::~TGeoVoxelFinder ( )
virtual

Destructor.

Definition at line 127 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 172 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 217 of file TGeoVoxelFinder.cxx.

◆ Efficiency()

Double_t TGeoVoxelFinder::Efficiency ( )
virtual

Compute voxelization efficiency.

Definition at line 249 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 296 of file TGeoVoxelFinder.cxx.

◆ GetBoxes()

Double_t * TGeoVoxelFinder::GetBoxes ( ) const
inline

Definition at line 106 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 1205 of file TGeoVoxelFinder.cxx.

◆ GetCheckList() [2/2]

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

Definition at line 163 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 393 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 412 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 431 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 348 of file TGeoVoxelFinder.cxx.

◆ GetNcandidates()

Int_t TGeoVoxelFinder::GetNcandidates ( TGeoStateInfo td) const
protected

Definition at line 156 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 510 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 1366 of file TGeoVoxelFinder.cxx.

◆ GetPriority()

Int_t TGeoVoxelFinder::GetPriority ( Int_t  iaxis) const
inlineprotected

Definition at line 74 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 449 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 469 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 489 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 1302 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 1389 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 1545 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 1602 of file TGeoVoxelFinder.cxx.

◆ IntersectAndStore() [1/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 1631 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 1574 of file TGeoVoxelFinder.cxx.

◆ IntersectAndStore() [3/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 1418 of file TGeoVoxelFinder.cxx.

◆ IsInvalid()

Bool_t TGeoVoxelFinder::IsInvalid ( ) const
inline

Definition at line 104 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 227 of file TGeoVoxelFinder.cxx.

◆ NeedRebuild()

Bool_t TGeoVoxelFinder::NeedRebuild ( ) const
inline

Definition at line 105 of file TGeoVoxelFinder.h.

◆ operator=()

TGeoVoxelFinder & TGeoVoxelFinder::operator= ( const TGeoVoxelFinder )
privatedelete

◆ Print()

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

Print the voxels.

Reimplemented from TObject.

Definition at line 2082 of file TGeoVoxelFinder.cxx.

◆ PrintVoxelLimits()

void TGeoVoxelFinder::PrintVoxelLimits ( const Double_t point) const

print the voxel containing point

Definition at line 2184 of file TGeoVoxelFinder.cxx.

◆ SetInvalid()

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

Definition at line 110 of file TGeoVoxelFinder.h.

◆ SetNeedRebuild()

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

Definition at line 111 of file TGeoVoxelFinder.h.

◆ SortAll()

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

order bounding boxes along x, y, z

Definition at line 1658 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 1071 of file TGeoVoxelFinder.cxx.

◆ Union() [1/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 1520 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 1493 of file TGeoVoxelFinder.cxx.

◆ Union() [3/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 1460 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 2221 of file TGeoVoxelFinder.cxx.

Member Data Documentation

◆ fBoxes

Double_t* TGeoVoxelFinder::fBoxes
protected

Definition at line 49 of file TGeoVoxelFinder.h.

◆ fExtraX

Int_t* TGeoVoxelFinder::fExtraX
protected

Definition at line 59 of file TGeoVoxelFinder.h.

◆ fExtraY

Int_t* TGeoVoxelFinder::fExtraY
protected

Definition at line 60 of file TGeoVoxelFinder.h.

◆ fExtraZ

Int_t* TGeoVoxelFinder::fExtraZ
protected

Definition at line 61 of file TGeoVoxelFinder.h.

◆ fIbx

Int_t TGeoVoxelFinder::fIbx
protected

Definition at line 35 of file TGeoVoxelFinder.h.

◆ fIby

Int_t TGeoVoxelFinder::fIby
protected

Definition at line 36 of file TGeoVoxelFinder.h.

◆ fIbz

Int_t TGeoVoxelFinder::fIbz
protected

Definition at line 37 of file TGeoVoxelFinder.h.

◆ fIndcX

UChar_t* TGeoVoxelFinder::fIndcX
protected

Definition at line 65 of file TGeoVoxelFinder.h.

◆ fIndcY

UChar_t* TGeoVoxelFinder::fIndcY
protected

Definition at line 66 of file TGeoVoxelFinder.h.

◆ fIndcZ

UChar_t* TGeoVoxelFinder::fIndcZ
protected

Definition at line 67 of file TGeoVoxelFinder.h.

◆ fNboxes

Int_t TGeoVoxelFinder::fNboxes
protected

Definition at line 38 of file TGeoVoxelFinder.h.

◆ fNex

Int_t TGeoVoxelFinder::fNex
protected

Definition at line 42 of file TGeoVoxelFinder.h.

◆ fNey

Int_t TGeoVoxelFinder::fNey
protected

Definition at line 43 of file TGeoVoxelFinder.h.

◆ fNez

Int_t TGeoVoxelFinder::fNez
protected

Definition at line 44 of file TGeoVoxelFinder.h.

◆ fNox

Int_t TGeoVoxelFinder::fNox
protected

Definition at line 39 of file TGeoVoxelFinder.h.

◆ fNoy

Int_t TGeoVoxelFinder::fNoy
protected

Definition at line 40 of file TGeoVoxelFinder.h.

◆ fNoz

Int_t TGeoVoxelFinder::fNoz
protected

Definition at line 41 of file TGeoVoxelFinder.h.

◆ fNsliceX

Int_t* TGeoVoxelFinder::fNsliceX
protected

Definition at line 62 of file TGeoVoxelFinder.h.

◆ fNsliceY

Int_t* TGeoVoxelFinder::fNsliceY
protected

Definition at line 63 of file TGeoVoxelFinder.h.

◆ fNsliceZ

Int_t* TGeoVoxelFinder::fNsliceZ
protected

Definition at line 64 of file TGeoVoxelFinder.h.

◆ fNx

Int_t TGeoVoxelFinder::fNx
protected

Definition at line 45 of file TGeoVoxelFinder.h.

◆ fNy

Int_t TGeoVoxelFinder::fNy
protected

Definition at line 46 of file TGeoVoxelFinder.h.

◆ fNz

Int_t TGeoVoxelFinder::fNz
protected

Definition at line 47 of file TGeoVoxelFinder.h.

◆ fOBx

Int_t* TGeoVoxelFinder::fOBx
protected

Definition at line 53 of file TGeoVoxelFinder.h.

◆ fOBy

Int_t* TGeoVoxelFinder::fOBy
protected

Definition at line 54 of file TGeoVoxelFinder.h.

◆ fOBz

Int_t* TGeoVoxelFinder::fOBz
protected

Definition at line 55 of file TGeoVoxelFinder.h.

◆ fOEx

Int_t* TGeoVoxelFinder::fOEx
protected

Definition at line 56 of file TGeoVoxelFinder.h.

◆ fOEy

Int_t* TGeoVoxelFinder::fOEy
protected

Definition at line 57 of file TGeoVoxelFinder.h.

◆ fOEz

Int_t* TGeoVoxelFinder::fOEz
protected

Definition at line 58 of file TGeoVoxelFinder.h.

◆ fPriority

Int_t TGeoVoxelFinder::fPriority[3]
protected

Definition at line 48 of file TGeoVoxelFinder.h.

◆ fVolume

TGeoVolume* TGeoVoxelFinder::fVolume
protected

Definition at line 33 of file TGeoVoxelFinder.h.

◆ fXb

Double_t* TGeoVoxelFinder::fXb
protected

Definition at line 50 of file TGeoVoxelFinder.h.

◆ fYb

Double_t* TGeoVoxelFinder::fYb
protected

Definition at line 51 of file TGeoVoxelFinder.h.

◆ fZb

Double_t* TGeoVoxelFinder::fZb
protected

Definition at line 52 of file TGeoVoxelFinder.h.

Libraries for TGeoVoxelFinder:

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