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
TVolumePosition Class Reference

Definition at line 28 of file TVolumePosition.h.

Public Types

enum  EPositionBits { kIsOwn = BIT(23) }
 
- 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

 TVolumePosition (TVolume *node=0, Double_t x=0, Double_t y=0, Double_t z=0, TRotMatrix *matrix=0)
 -*-*-*-*-*-*-*-*-*-*Node normal constructor-*-*-*-*-*-*-*-*-*-* *-* ================================ *-* *-* name is the name of the node *-* title is title *-* x,y,z are the offsets of the volume with respect to his mother *-* matrix is the pointer to the rotation matrix *-* *-* This new node is added into the list of sons of the current node *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More...
 
 TVolumePosition (TVolume *node, Double_t x, Double_t y, Double_t z, const char *matrixname)
 -*-*-*-*-*-*-*-*-*-*Node normal constructor-*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* ====================== *-* *-* name is the name of the node *-* title is title *-* x,y,z are the offsets of the volume with respect to his mother *-* matrixname is the name of the rotation matrix *-* *-* This new node is added into the list of sons of the current node *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More...
 
 TVolumePosition (const TVolumePosition *oldPosition, const TVolumePosition *curPosition)
 Pick the "old" position by pieces. More...
 
 TVolumePosition (const TVolumePosition &pos)
 
virtual ~TVolumePosition ()
 to be documented More...
 
virtual void Browse (TBrowser *b)
 to be documented More...
 
virtual Double_tCormx2Local (const Double_t *masterCorr, Double_t *localCorr) const
 to be documented More...
 
virtual Float_tCormx2Local (const Float_t *masterCorr, Float_t *localCorr) const
 to be documented More...
 
virtual Double_tCormx2Master (const Double_t *localCorr, Double_t *masterCorr) const
 to be documented More...
 
virtual Float_tCormx2Master (const Float_t *localCorr, Float_t *masterCorr) const
 to be documented More...
 
virtual TDataSetDefineSet ()
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 -*-*-*-*-*-*-*-*-*-*Compute distance from point px,py to a Node-*-*-*-*-* *-* =========================================== *-* Compute the closest distance of approach from point px,py to this node. More...
 
virtual void Draw (Option_t *depth="3")
 -*-*-*-*-*-*-*-*-*-*-*Draw Referenced node with current parameters-*-*-* *-* ============================================= More...
 
virtual Float_tErrmx2Local (const Float_t *masterError, Float_t *localError) const
 to be documented More...
 
virtual Double_tErrmx2Local (const Double_t *masterError, Double_t *localError) const
 to be documented More...
 
virtual Float_tErrmx2Master (const Float_t *localError, Float_t *masterError) const
 to be documented More...
 
virtual Double_tErrmx2Master (const Double_t *localError, Double_t *masterError) const
 to be documented More...
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 -*-*-*-*-*-*-*-*-*-*Execute action corresponding to one event-*-*-* *-* ========================================= *-* This member function must be implemented to realize the action *-* corresponding to the mouse click on the object in the window *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More...
 
virtual UInt_t GetId () const
 
const TRotMatrixGetMatrix () const
 
TRotMatrixGetMatrix ()
 
virtual const Char_tGetName () const
 return VolumePosition name More...
 
virtual TVolumeGetNode () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 to be documented More...
 
const Option_tGetOption () const
 
Int_t GetVisibility () const
 
virtual Double_t GetX (Int_t indx=0) const
 
virtual const Double_tGetXYZ () const
 
virtual Double_t GetY () const
 
virtual Double_t GetZ () const
 
virtual Bool_t Is3D () const
 
Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
Bool_t IsMatrixOwner () const
 
virtual Double_tLocal2Master (const Double_t *local, Double_t *master, Int_t nPoints=1) const
 -*-*-*-*Convert one point from local system to master reference system-*-* *-* ============================================================== More...
 
virtual Float_tLocal2Master (const Float_t *local, Float_t *master, Int_t nPoints=1) const
 -*-*-*Convert nPoints points from local system to master reference system-*-* *-* ============================================================== More...
 
virtual Double_tMaster2Local (const Double_t *master, Double_t *local, Int_t nPoints=1) const
 -*-*-*-*Convert one point from master system to local reference system-*-* *-* ============================================================== More...
 
virtual Float_tMaster2Local (const Float_t *master, Float_t *local, Int_t nPoints=1) const
 -*-*-*Convert nPoints points from master system to local reference system-*-* *-* ============================================================== More...
 
virtual TVolumePositionMult (const TVolumePosition &position)
 
TVolumePositionoperator= (const TVolumePosition &rhs)
 
virtual void Paint (Option_t *option="")
 -*-*-*-*-*-*-*-*-*-*-*Paint Referenced node with current parameters-*-*-* *-* ============================================== *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More...
 
virtual void Print (Option_t *option="") const
 to be documented More...
 
virtual TVolumePositionReset (TVolume *node=0, Double_t x=0, Double_t y=0, Double_t z=0, TRotMatrix *matrix=0)
 *-*-*-*-*-*-*-*-*-*-*-*-*-*-* Reset this position *-*-*-*-*-*-*-*-*-*-* *-* =================== *-* x,y,z are the offsets of the volume with respect to his mother *-* matrix is the pointer to the rotation matrix *-* *-* This method is to re-use the memory this object without delete/create steps *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More...
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 to be documented More...
 
virtual void SetId (UInt_t id)
 
virtual void SetLineAttributes ()
 to be documented More...
 
virtual void SetMatrix (TRotMatrix *matrix=0)
 to be documented More...
 
Bool_t SetMatrixOwner (Bool_t ownerShips=kTRUE)
 
virtual void SetNode (TVolume *node)
 
virtual void SetPosition (Double_t x=0, Double_t y=0, Double_t z=0)
 
virtual void SetVisibility (Int_t vis=1)
 to be documented More...
 
virtual void SetX (Double_t x)
 
virtual void SetXYZ (Double_t *xyz=0)
 to be documented More...
 
virtual void SetY (Double_t y)
 
virtual void SetZ (Double_t z)
 
virtual void UpdatePosition (Option_t *option="")
 to be documented 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 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 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 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 * 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...
 
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 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...
 
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

void DeleteOwnMatrix ()
 
- 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

UInt_t fId
 
TRotMatrixfMatrix
 
TVolumefNode
 
Double_t fX [3]
 

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 <TVolumePosition.h>

Inheritance diagram for TVolumePosition:
[legend]

Member Enumeration Documentation

◆ EPositionBits

Enumerator
kIsOwn 

Definition at line 39 of file TVolumePosition.h.

Constructor & Destructor Documentation

◆ TVolumePosition() [1/4]

TVolumePosition::TVolumePosition ( TVolume node = 0,
Double_t  x = 0,
Double_t  y = 0,
Double_t  z = 0,
TRotMatrix matrix = 0 
)

-*-*-*-*-*-*-*-*-*-*Node normal constructor-*-*-*-*-*-*-*-*-*-* *-* ================================ *-* *-* name is the name of the node *-* title is title *-* x,y,z are the offsets of the volume with respect to his mother *-* matrix is the pointer to the rotation matrix *-* *-* This new node is added into the list of sons of the current node *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

Definition at line 91 of file TVolumePosition.cxx.

◆ TVolumePosition() [2/4]

TVolumePosition::TVolumePosition ( TVolume node,
Double_t  x,
Double_t  y,
Double_t  z,
const char *  matrixname 
)

-*-*-*-*-*-*-*-*-*-*Node normal constructor-*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* ====================== *-* *-* name is the name of the node *-* title is title *-* x,y,z are the offsets of the volume with respect to his mother *-* matrixname is the name of the rotation matrix *-* *-* This new node is added into the list of sons of the current node *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

Definition at line 63 of file TVolumePosition.cxx.

◆ TVolumePosition() [3/4]

TVolumePosition::TVolumePosition ( const TVolumePosition oldPosition,
const TVolumePosition curPosition 
)

Pick the "old" position by pieces.

Definition at line 102 of file TVolumePosition.cxx.

◆ TVolumePosition() [4/4]

TVolumePosition::TVolumePosition ( const TVolumePosition pos)

Definition at line 151 of file TVolumePosition.cxx.

◆ ~TVolumePosition()

TVolumePosition::~TVolumePosition ( )
virtual

to be documented

Definition at line 168 of file TVolumePosition.cxx.

Member Function Documentation

◆ Browse()

void TVolumePosition::Browse ( TBrowser b)
virtual

to be documented

Reimplemented from TObject.

Definition at line 175 of file TVolumePosition.cxx.

◆ Cormx2Local() [1/2]

Double_t * TVolumePosition::Cormx2Local ( const Double_t masterCorr,
Double_t localCorr 
) const
virtual

to be documented

Definition at line 324 of file TVolumePosition.cxx.

◆ Cormx2Local() [2/2]

Float_t * TVolumePosition::Cormx2Local ( const Float_t masterCorr,
Float_t localCorr 
) const
virtual

to be documented

Definition at line 339 of file TVolumePosition.cxx.

◆ Cormx2Master() [1/2]

Double_t * TVolumePosition::Cormx2Master ( const Double_t localCorr,
Double_t masterCorr 
) const
virtual

to be documented

Definition at line 272 of file TVolumePosition.cxx.

◆ Cormx2Master() [2/2]

Float_t * TVolumePosition::Cormx2Master ( const Float_t localCorr,
Float_t masterCorr 
) const
virtual

to be documented

Definition at line 287 of file TVolumePosition.cxx.

◆ DefineSet()

TDataSet * TVolumePosition::DefineSet ( )
inlinevirtual

Definition at line 103 of file TVolumePosition.h.

◆ DeleteOwnMatrix()

void TVolumePosition::DeleteOwnMatrix ( )
inlineprotected

Definition at line 105 of file TVolumePosition.h.

◆ DistancetoPrimitive()

Int_t TVolumePosition::DistancetoPrimitive ( Int_t  px,
Int_t  py 
)
virtual

-*-*-*-*-*-*-*-*-*-*Compute distance from point px,py to a Node-*-*-*-*-* *-* =========================================== *-* Compute the closest distance of approach from point px,py to this node.

*-* The distance is computed in pixels units. *-* *-* *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

Reimplemented from TObject.

Definition at line 195 of file TVolumePosition.cxx.

◆ Draw()

void TVolumePosition::Draw ( Option_t depth = "3")
virtual

-*-*-*-*-*-*-*-*-*-*-*Draw Referenced node with current parameters-*-*-* *-* =============================================

Reimplemented from TObject.

Definition at line 204 of file TVolumePosition.cxx.

◆ Errmx2Local() [1/2]

Float_t * TVolumePosition::Errmx2Local ( const Float_t masterError,
Float_t localError 
) const
virtual

to be documented

Definition at line 314 of file TVolumePosition.cxx.

◆ Errmx2Local() [2/2]

Double_t * TVolumePosition::Errmx2Local ( const Double_t masterError,
Double_t localError 
) const
virtual

to be documented

Definition at line 304 of file TVolumePosition.cxx.

◆ Errmx2Master() [1/2]

Float_t * TVolumePosition::Errmx2Master ( const Float_t localError,
Float_t masterError 
) const
virtual

to be documented

Definition at line 261 of file TVolumePosition.cxx.

◆ Errmx2Master() [2/2]

Double_t * TVolumePosition::Errmx2Master ( const Double_t localError,
Double_t masterError 
) const
virtual

to be documented

Definition at line 250 of file TVolumePosition.cxx.

◆ ExecuteEvent()

void TVolumePosition::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
)
virtual

-*-*-*-*-*-*-*-*-*-*Execute action corresponding to one event-*-*-* *-* ========================================= *-* This member function must be implemented to realize the action *-* corresponding to the mouse click on the object in the window *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

Reimplemented from TObject.

Definition at line 218 of file TVolumePosition.cxx.

◆ GetId()

virtual UInt_t TVolumePosition::GetId ( ) const
inlinevirtual

Definition at line 75 of file TVolumePosition.h.

◆ GetMatrix() [1/2]

const TRotMatrix * TVolumePosition::GetMatrix ( ) const
inline

Definition at line 117 of file TVolumePosition.h.

◆ GetMatrix() [2/2]

TRotMatrix * TVolumePosition::GetMatrix ( )
inline

Definition at line 114 of file TVolumePosition.h.

◆ GetName()

const Char_t * TVolumePosition::GetName ( ) const
virtual

return VolumePosition name

Reimplemented from TObject.

Definition at line 230 of file TVolumePosition.cxx.

◆ GetNode()

virtual TVolume* TVolumePosition::GetNode ( ) const
inlinevirtual

Definition at line 63 of file TVolumePosition.h.

◆ GetObjectInfo()

char * TVolumePosition::GetObjectInfo ( Int_t  px,
Int_t  py 
) const
virtual

to be documented

Reimplemented from TObject.

Definition at line 238 of file TVolumePosition.cxx.

◆ GetOption()

const Option_t* TVolumePosition::GetOption ( ) const
inlinevirtual

Reimplemented from TObject.

Definition at line 65 of file TVolumePosition.h.

◆ GetVisibility()

Int_t TVolumePosition::GetVisibility ( ) const
inline

Definition at line 70 of file TVolumePosition.h.

◆ GetX()

virtual Double_t TVolumePosition::GetX ( Int_t  indx = 0) const
inlinevirtual

Definition at line 71 of file TVolumePosition.h.

◆ GetXYZ()

virtual const Double_t* TVolumePosition::GetXYZ ( ) const
inlinevirtual

Definition at line 72 of file TVolumePosition.h.

◆ GetY()

virtual Double_t TVolumePosition::GetY ( ) const
inlinevirtual

Definition at line 73 of file TVolumePosition.h.

◆ GetZ()

virtual Double_t TVolumePosition::GetZ ( ) const
inlinevirtual

Definition at line 74 of file TVolumePosition.h.

◆ Is3D()

virtual Bool_t TVolumePosition::Is3D ( ) const
inlinevirtual

Definition at line 79 of file TVolumePosition.h.

◆ IsFolder()

Bool_t TVolumePosition::IsFolder ( ) const
inlinevirtual

Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).

Reimplemented from TObject.

Definition at line 78 of file TVolumePosition.h.

◆ IsMatrixOwner()

Bool_t TVolumePosition::IsMatrixOwner ( ) const
inline

Definition at line 127 of file TVolumePosition.h.

◆ Local2Master() [1/2]

Double_t * TVolumePosition::Local2Master ( const Double_t local,
Double_t master,
Int_t  nPoints = 1 
) const
virtual

-*-*-*-*Convert one point from local system to master reference system-*-* *-* ==============================================================

Note that before invoking this function, the global rotation matrix and translation vector for this node must have been computed. This is automatically done by the Paint functions. Otherwise TVolumePosition::UpdateMatrix should be called before.

Definition at line 364 of file TVolumePosition.cxx.

◆ Local2Master() [2/2]

Float_t * TVolumePosition::Local2Master ( const Float_t local,
Float_t master,
Int_t  nPoints = 1 
) const
virtual

-*-*-*Convert nPoints points from local system to master reference system-*-* *-* ==============================================================

Note that before invoking this function, the global rotation matrix and translation vector for this node must have been computed. This is automatically done by the Paint functions. Otherwise TVolumePosition::UpdateMatrix should be called before.

Definition at line 391 of file TVolumePosition.cxx.

◆ Master2Local() [1/2]

Double_t * TVolumePosition::Master2Local ( const Double_t master,
Double_t local,
Int_t  nPoints = 1 
) const
virtual

-*-*-*-*Convert one point from master system to local reference system-*-* *-* ==============================================================

Note that before invoking this function, the global rotation matrix and translation vector for this node must have been computed. This is automatically done by the Paint functions. Otherwise TVolumePosition::UpdateMatrix should be called before.

Definition at line 420 of file TVolumePosition.cxx.

◆ Master2Local() [2/2]

Float_t * TVolumePosition::Master2Local ( const Float_t master,
Float_t local,
Int_t  nPoints = 1 
) const
virtual

-*-*-*Convert nPoints points from master system to local reference system-*-* *-* ==============================================================

Note that before invoking this function, the global rotation matrix and translation vector for this node must have been computed. This is automatically done by the Paint functions. Otherwise TVolumePosition::UpdateMatrix should be called before.

Definition at line 448 of file TVolumePosition.cxx.

◆ Mult()

TVolumePosition & TVolumePosition::Mult ( const TVolumePosition position)
virtual

Definition at line 570 of file TVolumePosition.cxx.

◆ operator=()

TVolumePosition & TVolumePosition::operator= ( const TVolumePosition rhs)
inline

Definition at line 135 of file TVolumePosition.h.

◆ Paint()

void TVolumePosition::Paint ( Option_t option = "")
virtual

-*-*-*-*-*-*-*-*-*-*-*Paint Referenced node with current parameters-*-*-* *-* ============================================== *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

Reimplemented from TObject.

Definition at line 472 of file TVolumePosition.cxx.

◆ Print()

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

to be documented

Reimplemented from TObject.

Definition at line 480 of file TVolumePosition.cxx.

◆ Reset()

TVolumePosition * TVolumePosition::Reset ( TVolume node = 0,
Double_t  x = 0,
Double_t  y = 0,
Double_t  z = 0,
TRotMatrix matrix = 0 
)
virtual

*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Reset this position *-*-*-*-*-*-*-*-*-*-* *-* =================== *-* x,y,z are the offsets of the volume with respect to his mother *-* matrix is the pointer to the rotation matrix *-* *-* This method is to re-use the memory this object without delete/create steps *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

Definition at line 494 of file TVolumePosition.cxx.

◆ SavePrimitive()

void TVolumePosition::SavePrimitive ( std::ostream &  out,
Option_t option = "" 
)
virtual

to be documented

Reimplemented from TObject.

Definition at line 508 of file TVolumePosition.cxx.

◆ SetId()

virtual void TVolumePosition::SetId ( UInt_t  id)
inlinevirtual

Definition at line 97 of file TVolumePosition.h.

◆ SetLineAttributes()

void TVolumePosition::SetLineAttributes ( )
virtual

to be documented

Definition at line 529 of file TVolumePosition.cxx.

◆ SetMatrix()

void TVolumePosition::SetMatrix ( TRotMatrix matrix = 0)
virtual

to be documented

Definition at line 537 of file TVolumePosition.cxx.

◆ SetMatrixOwner()

Bool_t TVolumePosition::SetMatrixOwner ( Bool_t  ownerShips = kTRUE)
inline

Definition at line 120 of file TVolumePosition.h.

◆ SetNode()

virtual void TVolumePosition::SetNode ( TVolume node)
inlinevirtual

Definition at line 90 of file TVolumePosition.h.

◆ SetPosition()

virtual void TVolumePosition::SetPosition ( Double_t  x = 0,
Double_t  y = 0,
Double_t  z = 0 
)
inlinevirtual

Definition at line 91 of file TVolumePosition.h.

◆ SetVisibility()

void TVolumePosition::SetVisibility ( Int_t  vis = 1)
virtual

to be documented

Definition at line 563 of file TVolumePosition.cxx.

◆ SetX()

virtual void TVolumePosition::SetX ( Double_t  x)
inlinevirtual

Definition at line 93 of file TVolumePosition.h.

◆ SetXYZ()

void TVolumePosition::SetXYZ ( Double_t xyz = 0)
virtual

to be documented

Definition at line 620 of file TVolumePosition.cxx.

◆ SetY()

virtual void TVolumePosition::SetY ( Double_t  y)
inlinevirtual

Definition at line 94 of file TVolumePosition.h.

◆ SetZ()

virtual void TVolumePosition::SetZ ( Double_t  z)
inlinevirtual

Definition at line 95 of file TVolumePosition.h.

◆ UpdatePosition()

void TVolumePosition::UpdatePosition ( Option_t option = "")
virtual

to be documented

Definition at line 547 of file TVolumePosition.cxx.

Member Data Documentation

◆ fId

UInt_t TVolumePosition::fId
protected

Definition at line 33 of file TVolumePosition.h.

◆ fMatrix

TRotMatrix* TVolumePosition::fMatrix
protected

Definition at line 31 of file TVolumePosition.h.

◆ fNode

TVolume* TVolumePosition::fNode
protected

Definition at line 32 of file TVolumePosition.h.

◆ fX

Double_t TVolumePosition::fX[3]
protected

Definition at line 30 of file TVolumePosition.h.


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