Logo ROOT   6.12/07
Reference Guide
List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
TEveTrackPropagator Class Reference

Holding structure for a number of track rendering parameters.

Calculates path taking into account the parameters.

NOTE: Magnetic field direction convention is inverted.

This is decoupled from TEveTrack/TEveTrackList to allow sharing of the Propagator among several instances. Back references are kept so the tracks can be recreated when the parameters change.

TEveTrackList has Get/Set methods for RnrStlye. TEveTrackEditor and TEveTrackListEditor provide editor access.

Enum EProjTrackBreaking_e and member fProjTrackBreaking specify whether 2D projected tracks get broken into several segments when the projected space consists of separate domains (like Rho-Z). The track-breaking is enabled by default.

Definition at line 120 of file TEveTrackPropagator.h.

Classes

struct  Helix_t
 

Public Types

enum  EProjTrackBreaking_e { kPTB_Break, kPTB_UseFirstPointPos, kPTB_UseLastPointPos }
 
enum  EStepper_e { kHelix, kRungeKutta }
 
- Public Types inherited from TEveElement
enum  EChangeBits { kCBColorSelection = BIT(0), kCBTransBBox = BIT(1), kCBObjProps = BIT(2), kCBVisibility = BIT(3) }
 
typedef void(TEveElement::* ImplySelect_foo) ()
 
typedef List_t::const_iterator List_ci
 
typedef List_t::iterator List_i
 
typedef std::list< TEveElement * > List_t
 
typedef void(TEveElement::* Select_foo) (Bool_t)
 
typedef Set_t::const_iterator Set_ci
 
typedef Set_t::iterator Set_i
 
typedef std::set< TEveElement * > Set_t
 
typedef sLTI_t::iterator sLTI_i
 
typedef sLTI_t::reverse_iterator sLTI_ri
 
typedef std::set< TEveListTreeInfosLTI_t
 
- 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 Types inherited from TEveProjectable
typedef std::list< TEveProjected * >::iterator ProjList_i
 
typedef std::list< TEveProjected * > ProjList_t
 

Public Member Functions

 TEveTrackPropagator (const char *n="TEveTrackPropagator", const char *t="", TEveMagField *field=0, Bool_t own_field=kTRUE)
 Default constructor. More...
 
virtual ~TEveTrackPropagator ()
 Destructor. More...
 
virtual void CheckReferenceCount (const TEveException &eh="TEveElement::CheckReferenceCount ")
 Check reference count - virtual from TEveElement. More...
 
virtual void ElementChanged (Bool_t update_scenes=kTRUE, Bool_t redraw=kFALSE)
 Element-change notification. More...
 
void FillPointSet (TEvePointSet *ps) const
 Reset ps and populate it with points in propagation cache. More...
 
Int_t GetCurrentPoint () const
 Get index of current point on track. More...
 
Double_t GetDelta () const
 
Bool_t GetEditPathMarks () const
 
Bool_t GetFitCluster2Ds () const
 
Bool_t GetFitDaughters () const
 
Bool_t GetFitDecay () const
 
Bool_t GetFitLineSegments () const
 
Bool_t GetFitReferences () const
 
const std::vector< TEveVector4D > & GetLastPoints () const
 
TEveVectorD GetMagField (Double_t x, Double_t y, Double_t z)
 
Double_t GetMaxAng () const
 
Double_t GetMaxOrbs () const
 
Double_t GetMaxR () const
 
Double_t GetMaxStep () const
 
Double_t GetMaxZ () const
 
Double_t GetMinAng () const
 Get maximum step angle. More...
 
UChar_t GetProjTrackBreaking () const
 
Bool_t GetRnrCluster2Ds () const
 
Bool_t GetRnrDaughters () const
 
Bool_t GetRnrDecay () const
 
Bool_t GetRnrFV () const
 
Bool_t GetRnrPTBMarkers () const
 
Bool_t GetRnrReferences () const
 
EStepper_e GetStepper () const
 
Double_t GetTrackLength (Int_t start_point=0, Int_t end_point=-1) const
 Calculate track length from start_point to end_point. More...
 
virtual void GoToBounds (TEveVectorD &p)
 Propagate particle to bounds. More...
 
void GoToBounds (TEveVectorF &p)
 TEveVectorF wrapper. More...
 
virtual Bool_t GoToLineSegment (const TEveVectorD &s, const TEveVectorD &r, TEveVectorD &p)
 Propagate particle with momentum p to line with start point s and vector r to the second point. More...
 
Bool_t GoToLineSegment (const TEveVectorF &s, const TEveVectorF &r, TEveVectorF &p)
 TEveVectorF wrapper. More...
 
virtual Bool_t GoToVertex (TEveVectorD &v, TEveVectorD &p)
 Propagate particle with momentum p to vertex v. More...
 
Bool_t GoToVertex (TEveVectorF &v, TEveVectorF &p)
 TEveVectorF wrapper. More...
 
void InitTrack (const TEveVectorD &v, Int_t charge)
 Initialize internal data-members for given particle parameters. More...
 
void InitTrack (const TEveVectorF &v, Int_t charge)
 TEveVectorF wrapper. More...
 
Bool_t IntersectPlane (const TEveVectorD &p, const TEveVectorD &point, const TEveVectorD &normal, TEveVectorD &itsect)
 Find intersection of currently propagated track with a plane. More...
 
virtual void OnZeroRefCount ()
 Virtual from TEveRefBackPtr - track reference count has reached zero. More...
 
void PrintMagField (Double_t x, Double_t y, Double_t z) const
 
TMarkerRefFVAtt ()
 
TMarkerRefPMAtt ()
 
TMarkerRefPTBAtt ()
 
void ResetTrack ()
 Reset cache holding particle trajectory. More...
 
void SetDelta (Double_t x)
 Set maximum error and rebuild tracks. More...
 
void SetEditPathMarks (Bool_t x)
 
void SetFitCluster2Ds (Bool_t x)
 Set 2D-cluster fitting and rebuild tracks. More...
 
void SetFitDaughters (Bool_t x)
 Set daughter creation point fitting and rebuild tracks. More...
 
void SetFitDecay (Bool_t x)
 Set decay fitting and rebuild tracks. More...
 
void SetFitLineSegments (Bool_t x)
 Set line segment fitting and rebuild tracks. More...
 
void SetFitReferences (Bool_t x)
 Set track-reference fitting and rebuild tracks. More...
 
void SetMagField (Double_t bX, Double_t bY, Double_t bZ)
 Set constant magnetic field and rebuild tracks. More...
 
void SetMagField (Double_t b)
 
void SetMagFieldObj (TEveMagField *field, Bool_t own_field=kTRUE)
 Set constant magnetic field and rebuild tracks. More...
 
void SetMaxAng (Double_t x)
 Set maximum step angle and rebuild tracks. More...
 
void SetMaxOrbs (Double_t x)
 Set maximum number of orbits and rebuild tracks. More...
 
void SetMaxR (Double_t x)
 Set maximum radius and rebuild tracks. More...
 
void SetMaxStep (Double_t x)
 Set maximum step-size and rebuild tracks. More...
 
void SetMaxZ (Double_t x)
 Set maximum z and rebuild tracks. More...
 
void SetMinAng (Double_t x)
 Set maximum step angle and rebuild tracks. More...
 
void SetProjTrackBreaking (UChar_t x)
 Set projection break-point mode and rebuild tracks. More...
 
void SetRnrCluster2Ds (Bool_t x)
 Set rendering of 2D-clusters and rebuild tracks. More...
 
void SetRnrDaughters (Bool_t x)
 Set daughter rendering and rebuild tracks. More...
 
void SetRnrDecay (Bool_t x)
 Set decay rendering and rebuild tracks. More...
 
void SetRnrFV (Bool_t x)
 Set first-vertex rendering and rebuild tracks. More...
 
void SetRnrPTBMarkers (Bool_t x)
 Set projection break-point rendering and rebuild tracks. More...
 
void SetRnrReferences (Bool_t x)
 Set track-reference rendering and rebuild tracks. More...
 
void SetStepper (EStepper_e s)
 
- Public Member Functions inherited from TEveElementList
 TEveElementList (const char *n="TEveElementList", const char *t="", Bool_t doColor=kFALSE, Bool_t doTransparency=kFALSE)
 Constructor. More...
 
 TEveElementList (const TEveElementList &e)
 Copy constructor. More...
 
virtual ~TEveElementList ()
 
virtual Bool_t AcceptElement (TEveElement *el)
 Check if TEveElement el is inherited from fChildClass. More...
 
virtual TEveElementListCloneElement () const
 Clone the element via copy constructor. More...
 
TClassGetChildClass () const
 
virtual const char * GetElementName () const
 Virtual function for retrieving name of the element. More...
 
virtual const char * GetElementTitle () const
 Virtual function for retrieving title of the render-element. More...
 
virtual TObjectGetObject (const TEveException &="TEveElementList::GetObject ") const
 Get a TObject associated with this render-element. More...
 
virtual TClassProjectedClass (const TEveProjection *p) const
 Virtual from TEveProjectable, returns TEveCompoundProjected class. More...
 
void SetChildClass (TClass *c)
 
virtual void SetElementName (const char *name)
 Virtual function for setting of name of an element. More...
 
virtual void SetElementNameTitle (const char *name, const char *title)
 Virtual function for setting of name and title of render element. More...
 
virtual void SetElementTitle (const char *title)
 Virtual function for setting of title of an element. More...
 
- Public Member Functions inherited from TEveElement
 TEveElement ()
 Default constructor. More...
 
 TEveElement (Color_t &main_color)
 Constructor. More...
 
 TEveElement (const TEveElement &e)
 Copy constructor. More...
 
virtual ~TEveElement ()
 Destructor. More...
 
virtual void AddElement (TEveElement *el)
 Add el to the list of children. More...
 
virtual TGListTreeItemAddIntoListTree (TGListTree *ltree, TGListTreeItem *parent_lti)
 Add this element into ltree to an already existing item parent_lti. More...
 
virtual TGListTreeItemAddIntoListTree (TGListTree *ltree, TEveElement *parent)
 Add this render element into ltree to all items belonging to parent. More...
 
virtual TGListTreeItemAddIntoListTrees (TEveElement *parent)
 Add this render element into all list-trees and all items belonging to parent. More...
 
virtual void AddParent (TEveElement *re)
 Add re into the list parents. More...
 
virtual void AddStamp (UChar_t bits)
 Add (bitwise or) given stamps to fChangeBits. More...
 
virtual void Annihilate ()
 Optimized destruction without check of reference-count. More...
 
virtual void AnnihilateElements ()
 Annihilate elements. More...
 
Bool_t ApplyVizTag (const TString &tag, const TString &fallback_tag="")
 Set the VizTag, find model-element from the VizDB and copy visualization-parameters from it. More...
 
List_i BeginChildren ()
 
List_ci BeginChildren () const
 
List_i BeginParents ()
 
List_ci BeginParents () const
 
virtual Bool_t CanEditElement () const
 
virtual Bool_t CanEditMainColor () const
 
virtual Bool_t CanEditMainTrans () const
 
virtual Bool_t CanEditMainTransparency () const
 
virtual void ClearStamps ()
 
virtual void CloneChildrenRecurse (TEveElement *dest, Int_t level=0) const
 Clone children and attach them to the dest element. More...
 
virtual TEveElementCloneElementRecurse (Int_t level=0) const
 Clone elements and recurse 'level' deep over children. More...
 
virtual void CollectSceneParents (List_t &scenes)
 Collect all parents of class TEveScene. More...
 
virtual void CollectSceneParentsFromChildren (List_t &scenes, TEveElement *parent)
 Collect scene-parents from all children. More...
 
virtual void CopyVizParams (const TEveElement *el)
 Copy visualization parameters from element el. More...
 
virtual void CopyVizParamsFromDB ()
 Copy visualization parameters from the model-element fVizModel. More...
 
void CSCApplyMainColorToAllChildren ()
 
void CSCApplyMainColorToMatchingChildren ()
 
void CSCApplyMainTransparencyToAllChildren ()
 
void CSCApplyMainTransparencyToMatchingChildren ()
 
void CSCImplySelectAllChildren ()
 
void CSCTakeAnyParentAsMaster ()
 
void DecDenyDestroy ()
 Decreases the deny-destroy count of the element. More...
 
virtual void DecImpliedHighlighted ()
 Decrease element's implied-highlight count. Stamp appropriately. More...
 
virtual void DecImpliedSelected ()
 Decrease element's implied-selection count. Stamp appropriately. More...
 
void DecParentIgnoreCnt ()
 Decrease number of parents ignored in reference-counting. More...
 
virtual void Destroy ()
 Destroy this element. More...
 
virtual void DestroyElements ()
 Destroy all children of this element. More...
 
virtual void DestroyListSubTree (TGListTree *ltree, TGListTreeItem *parent)
 Destroy sub-tree under item 'parent' in list-tree 'ltree'. More...
 
virtual void DestroyMainTrans ()
 Destroy the main transformation matrix, it will always be taken as identity. More...
 
virtual void DestroyOrWarn ()
 Destroy this element. Prints a warning if deny-destroy is in force. More...
 
void DisableListElements (Bool_t rnr_self=kFALSE, Bool_t rnr_children=kFALSE)
 Disable rendering of children and their list contents. More...
 
void DumpSourceObject () const
 Call Dump() on source object. More...
 
void EnableListElements (Bool_t rnr_self=kTRUE, Bool_t rnr_children=kTRUE)
 Enable rendering of children and their list contents. More...
 
List_i EndChildren ()
 
List_ci EndChildren () const
 
List_i EndParents ()
 
List_ci EndParents () const
 
virtual void ExpandIntoListTree (TGListTree *ltree, TGListTreeItem *parent)
 Populates parent with elements. More...
 
void ExportSourceObjectToCINT (char *var_name) const
 Export source object to CINT with given name for the variable. More...
 
virtual void ExportToCINT (char *var_name)
 Export render-element to CINT with variable name var_name. More...
 
virtual void FillImpliedSelectedSet (Set_t &impSelSet)
 Populate set impSelSet with derived / dependant elements. More...
 
TEveElementFindChild (const TString &name, const TClass *cls=0)
 Find the first child with given name. More...
 
TEveElementFindChild (TPRegexp &regexp, const TClass *cls=0)
 Find the first child whose name matches regexp. More...
 
Int_t FindChildren (List_t &matches, const TString &name, const TClass *cls=0)
 Find all children with given name and append them to matches list. More...
 
Int_t FindChildren (List_t &matches, TPRegexp &regexp, const TClass *cls=0)
 Find all children whose name matches regexp and append them to matches list. More...
 
virtual sLTI_i FindItem (TGListTree *ltree)
 Find any list-tree-item of this element in list-tree 'ltree'. More...
 
virtual sLTI_i FindItem (TGListTree *ltree, TGListTreeItem *parent_lti)
 Find list-tree-item of this element with given parent list-tree-item. More...
 
virtual TGListTreeItemFindListTreeItem (TGListTree *ltree)
 Find any list-tree-item of this element in list-tree 'ltree'. More...
 
virtual TGListTreeItemFindListTreeItem (TGListTree *ltree, TGListTreeItem *parent_lti)
 Find list-tree-item of this element with given parent list-tree-item. More...
 
Bool_t FindVizModel ()
 Find model element in VizDB that corresponds to previously assigned fVizTag and set fVizModel accordingly. More...
 
TEveElementFirstChild () const
 Returns the first child element or 0 if the list is empty. More...
 
virtual TEveElementForwardEdit ()
 Returns element to be displayed in GUI editor on click. More...
 
virtual TEveElementForwardSelection ()
 Returns element to be selected on click. More...
 
UChar_t GetChangeBits () const
 
TEveCompoundGetCompound ()
 
Int_t GetDenyDestroy () const
 Returns the number of times deny-destroy has been requested on the element. More...
 
Bool_t GetDestroyOnZeroRefCnt () const
 Returns state of flag determining if the element will be destroyed when reference count reaches zero. More...
 
virtual TObjectGetEditorObject (const TEveException &eh) const
 
virtual TString GetHighlightTooltip ()
 
virtual const TGPictureGetListTreeCheckBoxIcon ()
 Returns list-tree-item check-box picture appropriate for given rendering state. More...
 
virtual const TGPictureGetListTreeIcon (Bool_t open=kFALSE)
 Returns pointer to first listtreeicon. More...
 
virtual Color_t GetMainColor () const
 
Color_tGetMainColorPtr () const
 
virtual Char_t GetMainTransparency () const
 
TEveElementGetMaster ()
 Returns the master element - that is: More...
 
virtual Int_t GetNItems () const
 
Int_t GetParentIgnoreCnt () const
 Get number of parents that should be ignored in doing reference-counting. More...
 
virtual TObjectGetRenderObject (const TEveException &eh) const
 
virtual Bool_t GetRnrAnything () const
 
virtual Bool_t GetRnrChildren () const
 
virtual Bool_t GetRnrSelf () const
 
virtual Bool_t GetRnrState () const
 
virtual UChar_t GetSelectedLevel () const
 Get selection level, needed for rendering selection and highlight feedback. More...
 
TRefGetSource ()
 
TObjectGetSourceObject () const
 
voidGetUserData () const
 
TEveElementGetVizModel () const
 
const TStringGetVizTag () const
 
virtual Bool_t HandleElementPaste (TEveElement *el)
 React to element being pasted or dnd-ed. More...
 
Bool_t HasChild (TEveElement *el)
 Check if element el is a child of this element. More...
 
Bool_t HasChildren () const
 
virtual Bool_t HasMainColor () const
 
virtual Bool_t HasMainTrans () const
 
Bool_t HasParents () const
 
virtual void HighlightElement (Bool_t state)
 Set element's highlight state. Stamp appropriately. More...
 
void IncDenyDestroy ()
 Increases the deny-destroy count of the element. More...
 
virtual void IncImpliedHighlighted ()
 Increase element's implied-highlight count. Stamp appropriately. More...
 
virtual void IncImpliedSelected ()
 Increase element's implied-selection count. Stamp appropriately. More...
 
void IncParentIgnoreCnt ()
 Increase number of parents ignored in reference-counting. More...
 
virtual void InitMainTrans (Bool_t can_edit=kTRUE)
 Initialize the main transformation to identity matrix. More...
 
Bool_t IsPickable () const
 
TEveElementLastChild () const
 Returns the last child element or 0 if the list is empty. More...
 
virtual void NameTitleChanged ()
 Virtual function called when a name or title of the element has been changed. More...
 
Int_t NumChildren () const
 
Int_t NumParents () const
 
virtual void PadPaint (Option_t *option)
 Paint self and/or children into currently active pad. More...
 
virtual void PaintStandard (TObject *id)
 Paint object – a generic implementation for EVE elements. More...
 
void PrintSourceObject () const
 Call Print() on source object. More...
 
virtual void ProjectAllChildren (Bool_t same_depth=kTRUE)
 If this is a projectable, loop over all projected replicas and add the projected image of all children there. More...
 
virtual void ProjectChild (TEveElement *el, Bool_t same_depth=kTRUE)
 If this is a projectable, loop over all projected replicas and add the projected image of child 'el' there. More...
 
virtual void PropagateMainColorToProjecteds (Color_t color, Color_t old_color)
 Propagate color to projected elements. More...
 
virtual void PropagateMainTransparencyToProjecteds (Char_t t, Char_t old_t)
 Propagate transparency to projected elements. More...
 
virtual void PropagateRnrStateToProjecteds ()
 Propagate render state to the projected replicas of this element. More...
 
virtual void PropagateVizParamsToElements (TEveElement *el=0)
 Propagate visualization parameters from element el (defaulting to this) to all elements (children). More...
 
virtual void PropagateVizParamsToProjecteds ()
 Propagate visualization parameters to dependent elements. More...
 
virtual TEveTransPtrMainTrans (Bool_t create=kTRUE)
 Return pointer to main transformation. More...
 
void RecheckImpliedSelections ()
 Call this if it is possible that implied-selection or highlight has changed for this element or for implied-selection this element is member of and you want to maintain consistent selection state. More...
 
const List_tRefChildren () const
 
virtual TEveTransRefMainTrans ()
 Return reference to main transformation. More...
 
virtual void RemoveElement (TEveElement *el)
 Remove el from the list of children. More...
 
virtual void RemoveElementLocal (TEveElement *el)
 Perform additional local removal of el. More...
 
virtual void RemoveElements ()
 Remove all elements. More...
 
virtual void RemoveElementsLocal ()
 Perform additional local removal of all elements. More...
 
virtual Bool_t RemoveFromListTree (TGListTree *ltree, TGListTreeItem *parent_lti)
 Remove element from list-tree 'ltree' where its parent item is 'parent_lti'. More...
 
virtual Int_t RemoveFromListTrees (TEveElement *parent)
 Remove element from all list-trees where 'parent' is the user-data of the parent list-tree-item. More...
 
virtual void RemoveParent (TEveElement *re)
 Remove re from the list of parents. More...
 
void ResetAllCSCBits ()
 
void ResetCSCBits (UChar_t f)
 
void SaveVizParams (std::ostream &out, const TString &tag, const TString &var)
 Save visualization parameters for this element with given tag. More...
 
virtual void SelectElement (Bool_t state)
 Set element's selection state. Stamp appropriately. More...
 
void SetCompound (TEveCompound *c)
 
void SetCSCBits (UChar_t f)
 
void SetDestroyOnZeroRefCnt (Bool_t d)
 Sets the state of flag determining if the element will be destroyed when reference count reaches zero. More...
 
void SetEditMainColor (Bool_t x)
 
void SetEditMainTransparency (Bool_t x)
 
void SetMainAlpha (Float_t alpha)
 Set main-transparency via float alpha variable. More...
 
virtual void SetMainColor (Color_t color)
 Set main color of the element. More...
 
void SetMainColorPixel (Pixel_t pixel)
 Convert pixel to Color_t and call SetMainColor(). More...
 
void SetMainColorPtr (Color_t *color)
 
void SetMainColorRGB (UChar_t r, UChar_t g, UChar_t b)
 Convert RGB values to Color_t and call SetMainColor. More...
 
void SetMainColorRGB (Float_t r, Float_t g, Float_t b)
 Convert RGB values to Color_t and call SetMainColor. More...
 
virtual void SetMainTransparency (Char_t t)
 Set main-transparency. More...
 
void SetPickable (Bool_t p)
 
void SetPickableRecursively (Bool_t p)
 Set pickable state on the element and all its children. More...
 
virtual Bool_t SetRnrChildren (Bool_t rnr)
 Set render state of this element's children, i.e. More...
 
virtual Bool_t SetRnrSelf (Bool_t rnr)
 Set render state of this element, i.e. More...
 
virtual Bool_t SetRnrSelfChildren (Bool_t rnr_self, Bool_t rnr_children)
 Set state for rendering of this element and its children. More...
 
virtual Bool_t SetRnrState (Bool_t rnr)
 Set render state of this element and of its children to the same value. More...
 
void SetSourceObject (TObject *o)
 
virtual void SetTransMatrix (Double_t *carr)
 Set transformation matrix from column-major array. More...
 
virtual void SetTransMatrix (const TGeoMatrix &mat)
 Set transformation matrix from TGeo's matrix. More...
 
void SetUserData (void *ud)
 
void SetVizModel (TEveElement *model)
 Set visualization-parameter model element. More...
 
void SetVizTag (const TString &tag)
 
virtual Bool_t SingleRnrState () const
 
void SpawnEditor ()
 Show GUI editor for this object. More...
 
void StampColorSelection ()
 
void StampObjProps ()
 
void StampTransBBox ()
 
void StampVisibility ()
 
Bool_t TestCSCBits (UChar_t f) const
 
virtual void UnHighlighted ()
 Virtual function called when both fHighlighted is false and fImpliedHighlighted is 0. More...
 
virtual void UnSelected ()
 Virtual function called when both fSelected is false and fImpliedSelected is 0. More...
 
void VizDB_Apply (const char *tag)
 Set visual parameters for this object for given tag. More...
 
void VizDB_Insert (const char *tag, Bool_t replace=kTRUE, Bool_t update=kTRUE)
 Create a replica of element and insert it into VizDB with given tag. More...
 
void VizDB_Reapply ()
 Reset visual parameters for this object from VizDB. More...
 
void VizDB_UpdateModel (Bool_t update=kTRUE)
 Copy visual parameters from this element to viz-db model. More...
 
virtual void WriteVizParams (std::ostream &out, const TString &var)
 Write-out visual parameters for this object. More...
 
- Public Member Functions inherited from TNamed
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TString &name, const TString &title)
 
 TNamed (const TNamed &named)
 TNamed copy ctor. More...
 
virtual ~TNamed ()
 TNamed destructor. More...
 
virtual void Clear (Option_t *option="")
 Set name and title to empty strings (""). More...
 
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 two TNamed objects. More...
 
virtual void Copy (TObject &named) const
 Copy this to obj. More...
 
virtual void FillBuffer (char *&buffer)
 Encode TNamed into output buffer. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual ULong_t Hash () const
 Return hash value for this object. More...
 
virtual Bool_t IsSortable () const
 
virtual void ls (Option_t *option="") const
 List TNamed name and title. More...
 
TNamedoperator= (const TNamed &rhs)
 TNamed assignment operator. More...
 
virtual void Print (Option_t *option="") const
 Print TNamed name and title. More...
 
virtual void SetName (const char *name)
 Set the name of the TNamed. More...
 
virtual void SetNameTitle (const char *name, const char *title)
 Set all the TNamed parameters (name and title). More...
 
virtual void SetTitle (const char *title="")
 Set the title of the TNamed. More...
 
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject. 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...
 
ULong_t CheckedHash ()
 Checked and record whether for this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. 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 selected pad for instance with: gROOT->SetSelectedPad(gPad). 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 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 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...
 
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. 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...
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
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...
 
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. 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...
 
- Public Member Functions inherited from TEveProjectable
 TEveProjectable ()
 Constructor. More...
 
virtual ~TEveProjectable ()
 Destructor. More...
 
virtual void AddProjected (TEveProjected *p)
 
virtual void AddProjectedsToSet (std::set< TEveElement *> &set)
 Add the projected elements to the set, dyn-casting them to TEveElement. More...
 
virtual void AnnihilateProjecteds ()
 Optimized destroy of projected elements with condition there is only one parent for projected element. More...
 
ProjList_i BeginProjecteds ()
 
virtual void ClearProjectedList ()
 
ProjList_i EndProjecteds ()
 
virtual Bool_t HasProjecteds () const
 
virtual void PropagateMainColor (Color_t color, Color_t old_color)
 Set main color of projecteds if their color is the same as old_color. More...
 
virtual void PropagateMainTransparency (Char_t t, Char_t old_t)
 Set main transparency of projecteds if their transparency is the same as the old one. More...
 
virtual void PropagateRenderState (Bool_t rnr_self, Bool_t rnr_children)
 Set render state of projecteds. More...
 
virtual void PropagateVizParams (TEveElement *el=0)
 Set visualization parameters of projecteds. More...
 
virtual void RemoveProjected (TEveProjected *p)
 
- Public Member Functions inherited from TEveRefBackPtr
 TEveRefBackPtr ()
 Default constructor. More...
 
 TEveRefBackPtr (const TEveRefBackPtr &)
 Copy constructor. More...
 
virtual ~TEveRefBackPtr ()
 Destructor. Noop, should complain if back-ref list is not empty. More...
 
virtual void DecRefCount (TEveElement *re)
 Decrease reference count and remove re from the list of back-references. More...
 
virtual void IncRefCount (TEveElement *re)
 Increase reference count and add re to the list of back-references. More...
 
TEveRefBackPtroperator= (const TEveRefBackPtr &)
 Assignment operator. More...
 
virtual void StampBackPtrElements (UChar_t stamps)
 Add given stamps to elements in the list of reverse references. More...
 
- Public Member Functions inherited from TEveRefCnt
 TEveRefCnt ()
 
 TEveRefCnt (const TEveRefCnt &)
 
virtual ~TEveRefCnt ()
 
void DecRefCount ()
 
void IncRefCount ()
 
TEveRefCntoperator= (const TEveRefCnt &)
 

Static Public Member Functions

static Bool_t IsOutsideBounds (const TEveVectorD &point, Double_t maxRsqr, Double_t maxZ)
 
- 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...
 

Static Public Attributes

static TEveTrackPropagator fgDefault
 
static Double_t fgDefMagField = 0.5
 
static Double_t fgEditorMaxR = 2000
 
static Double_t fgEditorMaxZ = 4000
 
static const Double_t fgkB2C = 0.299792458e-2
 
- Static Public Attributes inherited from TEveElement
static const TGPicturefgListTreeIcons [9] = { 0 }
 
static const TGPicturefgRnrIcons [4] = { 0 }
 

Protected Member Functions

Bool_t ClosestPointBetweenLines (const TEveVectorD &, const TEveVectorD &, const TEveVectorD &, const TEveVectorD &, TEveVectorD &out)
 Get closest point on line defined with vector p0 and u. More...
 
void ClosestPointFromVertexToLineSegment (const TEveVectorD &v, const TEveVectorD &s, const TEveVectorD &r, Double_t rMagInv, TEveVectorD &c)
 Get closest point from given vertex v to line segment defined with s and r. More...
 
Bool_t HelixIntersectPlane (const TEveVectorD &p, const TEveVectorD &point, const TEveVectorD &normal, TEveVectorD &itsect)
 Intersect helix with a plane. More...
 
Bool_t LineIntersectPlane (const TEveVectorD &p, const TEveVectorD &point, const TEveVectorD &normal, TEveVectorD &itsect)
 Intersect line with a plane. More...
 
void LineToBounds (TEveVectorD &p)
 Propagate neutral particle with momentum p to bounds. More...
 
Bool_t LineToVertex (TEveVectorD &v)
 Propagate neutral particle to vertex v. More...
 
void LoopToBounds (TEveVectorD &p)
 Propagate charged particle with momentum p to bounds. More...
 
Bool_t LoopToLineSegment (const TEveVectorD &s, const TEveVectorD &r, TEveVectorD &p)
 Propagate charged particle with momentum p to line segment with point s and vector r to the second point. More...
 
Bool_t LoopToVertex (TEveVectorD &v, TEveVectorD &p)
 Propagate charged particle with momentum p to vertex v. More...
 
Bool_t PointOverVertex (const TEveVector4D &v0, const TEveVector4D &v, Double_t *p=0)
 
void RebuildTracks ()
 Rebuild all tracks using this render-style. More...
 
void Step (const TEveVector4D &v, const TEveVectorD &p, TEveVector4D &vOut, TEveVectorD &pOut)
 Wrapper to step helix. More...
 
void StepRungeKutta (Double_t step, Double_t *vect, Double_t *vout)
 Wrapper to step with method RungeKutta. More...
 
void Update (const TEveVector4D &v, const TEveVectorD &p, Bool_t full_update=kFALSE, Bool_t enforce_max_step=kFALSE)
 Update helix / B-field projection state. More...
 
- Protected Member Functions inherited from TEveElement
virtual void AnnihilateRecursively ()
 Protected member function called from TEveElement::Annihilate(). More...
 
virtual void PreDeleteElement ()
 Externally assigned and controlled user data. More...
 
virtual void RemoveElementsInternal ()
 Remove all elements. 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

Bool_t fEditPathMarks
 
Bool_t fFitCluster2Ds
 
Bool_t fFitDaughters
 
Bool_t fFitDecay
 
Bool_t fFitLineSegments
 
Bool_t fFitReferences
 
TMarker fFVAtt
 
Helix_t fH
 
std::vector< TEveVector4DfLastPoints
 
TEveMagFieldfMagFieldObj
 
Double_t fMaxOrbs
 
Double_t fMaxR
 
Double_t fMaxZ
 
Int_t fNMax
 
Bool_t fOwnMagFiledObj
 
TMarker fPMAtt
 
std::vector< TEveVector4DfPoints
 
UChar_t fProjTrackBreaking
 
TMarker fPTBAtt
 
Bool_t fRnrCluster2Ds
 
Bool_t fRnrDaughters
 
Bool_t fRnrDecay
 
Bool_t fRnrFV
 
Bool_t fRnrPTBMarkers
 
Bool_t fRnrReferences
 
EStepper_e fStepper
 
TEveVectorD fV
 
- Protected Attributes inherited from TEveElementList
TClassfChildClass
 
Color_t fColor
 
- Protected Attributes inherited from TEveElement
Bool_t fCanEditMainColor
 
Bool_t fCanEditMainTrans
 
Bool_t fCanEditMainTransparency
 
UChar_t fChangeBits
 
List_t fChildren
 
TEveCompoundfCompound
 
UChar_t fCSCBits
 
Int_t fDenyDestroy
 Counter for top-level list-tree items that prevent automatic destruction. More...
 
Bool_t fDestroyOnZeroRefCnt
 Deny-destroy count. More...
 
Char_t fDestructing
 
Bool_t fHighlighted
 
Short_t fImpliedHighlighted
 
Short_t fImpliedSelected
 
sLTI_t fItems
 
Color_tfMainColorPtr
 
TEveTransfMainTrans
 
Char_t fMainTransparency
 
Int_t fNumChildren
 
Int_t fParentIgnoreCnt
 
List_t fParents
 
Bool_t fPickable
 
Bool_t fRnrChildren
 
Bool_t fRnrSelf
 
Bool_t fSelected
 
TRef fSource
 Set of list-tree-items. More...
 
Int_t fTopItemCnt
 Counter for parents that are ignored in ref-counting. More...
 
voidfUserData
 
TEveElementfVizModel
 
TString fVizTag
 Element used as model from VizDB. More...
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 
- Protected Attributes inherited from TEveProjectable
ProjList_t fProjectedList
 
- Protected Attributes inherited from TEveRefBackPtr
RefMap_t fBackRefs
 
- Protected Attributes inherited from TEveRefCnt
Int_t fRefCount
 

Private Member Functions

 TEveTrackPropagator (const TEveTrackPropagator &)
 
void DistributeOffset (const TEveVectorD &off, Int_t first_point, Int_t np, TEveVectorD &p)
 Distribute offset between first and last point index and rotate momentum. More...
 
TEveTrackPropagatoroperator= (const TEveTrackPropagator &)
 

Friends

class TEveTrackPropagatorSubEditor
 

Additional Inherited Members

- Protected Types inherited from TEveElement
enum  ECompoundSelectionColorBits {
  kCSCBImplySelectAllChildren = BIT(0), kCSCBTakeAnyParentAsMaster = BIT(1), kCSCBApplyMainColorToAllChildren = BIT(2), kCSCBApplyMainColorToMatchingChildren = BIT(3),
  kCSCBApplyMainTransparencyToAllChildren = BIT(4), kCSCBApplyMainTransparencyToMatchingChildren = BIT(5)
}
 
enum  EDestruct { kNone, kStandard, kAnnihilate }
 
- Protected Types inherited from TEveRefBackPtr
typedef RefMap_t::iterator RefMap_i
 
typedef std::map< TEveElement *, Int_tRefMap_t
 
- Static Protected Member Functions inherited from TEveElement
static const char * ToString (Bool_t b)
 Convert Bool_t to string - kTRUE or kFALSE. More...
 

#include <TEveTrackPropagator.h>

Inheritance diagram for TEveTrackPropagator:
[legend]

Member Enumeration Documentation

◆ EProjTrackBreaking_e

Enumerator
kPTB_Break 
kPTB_UseFirstPointPos 
kPTB_UseLastPointPos 

Definition at line 128 of file TEveTrackPropagator.h.

◆ EStepper_e

Enumerator
kHelix 
kRungeKutta 

Definition at line 126 of file TEveTrackPropagator.h.

Constructor & Destructor Documentation

◆ TEveTrackPropagator() [1/2]

TEveTrackPropagator::TEveTrackPropagator ( const TEveTrackPropagator )
private

◆ TEveTrackPropagator() [2/2]

TEveTrackPropagator::TEveTrackPropagator ( const char *  n = "TEveTrackPropagator",
const char *  t = "",
TEveMagField field = 0,
Bool_t  own_field = kTRUE 
)

Default constructor.

Definition at line 220 of file TEveTrackPropagator.cxx.

◆ ~TEveTrackPropagator()

TEveTrackPropagator::~TEveTrackPropagator ( )
virtual

Destructor.

Definition at line 266 of file TEveTrackPropagator.cxx.

Member Function Documentation

◆ CheckReferenceCount()

void TEveTrackPropagator::CheckReferenceCount ( const TEveException eh = "TEveElement::CheckReferenceCount ")
virtual

Check reference count - virtual from TEveElement.

Must also take into account references from TEveRefBackPtr.

Reimplemented from TEveElement.

Definition at line 286 of file TEveTrackPropagator.cxx.

◆ ClosestPointBetweenLines()

Bool_t TEveTrackPropagator::ClosestPointBetweenLines ( const TEveVectorD p0,
const TEveVectorD u,
const TEveVectorD q0,
const TEveVectorD v,
TEveVectorD out 
)
protected

Get closest point on line defined with vector p0 and u.

Return false if the point is forced on the line segment.

Definition at line 971 of file TEveTrackPropagator.cxx.

◆ ClosestPointFromVertexToLineSegment()

void TEveTrackPropagator::ClosestPointFromVertexToLineSegment ( const TEveVectorD v,
const TEveVectorD s,
const TEveVectorD r,
Double_t  rMagInv,
TEveVectorD c 
)
protected

Get closest point from given vertex v to line segment defined with s and r.

Argument rMagInv is cached. rMagInv= 1./rMag()

Definition at line 944 of file TEveTrackPropagator.cxx.

◆ DistributeOffset()

void TEveTrackPropagator::DistributeOffset ( const TEveVectorD off,
Int_t  first_point,
Int_t  np,
TEveVectorD p 
)
private

Distribute offset between first and last point index and rotate momentum.

Definition at line 768 of file TEveTrackPropagator.cxx.

◆ ElementChanged()

void TEveTrackPropagator::ElementChanged ( Bool_t  update_scenes = kTRUE,
Bool_t  redraw = kFALSE 
)
virtual

Element-change notification.

Stamp all tracks as requiring display-list regeneration. Virtual from TEveElement.

Reimplemented from TEveElement.

Definition at line 299 of file TEveTrackPropagator.cxx.

◆ FillPointSet()

void TEveTrackPropagator::FillPointSet ( TEvePointSet ps) const

Reset ps and populate it with points in propagation cache.

Definition at line 993 of file TEveTrackPropagator.cxx.

◆ GetCurrentPoint()

Int_t TEveTrackPropagator::GetCurrentPoint ( ) const

Get index of current point on track.

Definition at line 349 of file TEveTrackPropagator.cxx.

◆ GetDelta()

Double_t TEveTrackPropagator::GetDelta ( ) const
inline

Definition at line 316 of file TEveTrackPropagator.h.

◆ GetEditPathMarks()

Bool_t TEveTrackPropagator::GetEditPathMarks ( ) const
inline

Definition at line 318 of file TEveTrackPropagator.h.

◆ GetFitCluster2Ds()

Bool_t TEveTrackPropagator::GetFitCluster2Ds ( ) const
inline

Definition at line 326 of file TEveTrackPropagator.h.

◆ GetFitDaughters()

Bool_t TEveTrackPropagator::GetFitDaughters ( ) const
inline

Definition at line 323 of file TEveTrackPropagator.h.

◆ GetFitDecay()

Bool_t TEveTrackPropagator::GetFitDecay ( ) const
inline

Definition at line 325 of file TEveTrackPropagator.h.

◆ GetFitLineSegments()

Bool_t TEveTrackPropagator::GetFitLineSegments ( ) const
inline

Definition at line 327 of file TEveTrackPropagator.h.

◆ GetFitReferences()

Bool_t TEveTrackPropagator::GetFitReferences ( ) const
inline

Definition at line 324 of file TEveTrackPropagator.h.

◆ GetLastPoints()

const std::vector<TEveVector4D>& TEveTrackPropagator::GetLastPoints ( ) const
inline

Definition at line 336 of file TEveTrackPropagator.h.

◆ GetMagField()

TEveVectorD TEveTrackPropagator::GetMagField ( Double_t  x,
Double_t  y,
Double_t  z 
)
inline

Definition at line 305 of file TEveTrackPropagator.h.

◆ GetMaxAng()

Double_t TEveTrackPropagator::GetMaxAng ( ) const
inline

Definition at line 314 of file TEveTrackPropagator.h.

◆ GetMaxOrbs()

Double_t TEveTrackPropagator::GetMaxOrbs ( ) const
inline

Definition at line 312 of file TEveTrackPropagator.h.

◆ GetMaxR()

Double_t TEveTrackPropagator::GetMaxR ( ) const
inline

Definition at line 310 of file TEveTrackPropagator.h.

◆ GetMaxStep()

Double_t TEveTrackPropagator::GetMaxStep ( ) const
inline

Definition at line 315 of file TEveTrackPropagator.h.

◆ GetMaxZ()

Double_t TEveTrackPropagator::GetMaxZ ( ) const
inline

Definition at line 311 of file TEveTrackPropagator.h.

◆ GetMinAng()

Double_t TEveTrackPropagator::GetMinAng ( ) const

Get maximum step angle.

WARNING – this method / variable was mis-named.

Definition at line 1088 of file TEveTrackPropagator.cxx.

◆ GetProjTrackBreaking()

UChar_t TEveTrackPropagator::GetProjTrackBreaking ( ) const
inline

Definition at line 329 of file TEveTrackPropagator.h.

◆ GetRnrCluster2Ds()

Bool_t TEveTrackPropagator::GetRnrCluster2Ds ( ) const
inline

Definition at line 322 of file TEveTrackPropagator.h.

◆ GetRnrDaughters()

Bool_t TEveTrackPropagator::GetRnrDaughters ( ) const
inline

Definition at line 319 of file TEveTrackPropagator.h.

◆ GetRnrDecay()

Bool_t TEveTrackPropagator::GetRnrDecay ( ) const
inline

Definition at line 321 of file TEveTrackPropagator.h.

◆ GetRnrFV()

Bool_t TEveTrackPropagator::GetRnrFV ( ) const
inline

Definition at line 328 of file TEveTrackPropagator.h.

◆ GetRnrPTBMarkers()

Bool_t TEveTrackPropagator::GetRnrPTBMarkers ( ) const
inline

Definition at line 330 of file TEveTrackPropagator.h.

◆ GetRnrReferences()

Bool_t TEveTrackPropagator::GetRnrReferences ( ) const
inline

Definition at line 320 of file TEveTrackPropagator.h.

◆ GetStepper()

EStepper_e TEveTrackPropagator::GetStepper ( ) const
inline

Definition at line 308 of file TEveTrackPropagator.h.

◆ GetTrackLength()

Double_t TEveTrackPropagator::GetTrackLength ( Int_t  start_point = 0,
Int_t  end_point = -1 
) const

Calculate track length from start_point to end_point.

If end_point is less than 0, distance to the end is returned.

Definition at line 358 of file TEveTrackPropagator.cxx.

◆ GoToBounds() [1/2]

void TEveTrackPropagator::GoToBounds ( TEveVectorD p)
virtual

Propagate particle to bounds.

Return TRUE if hit bounds.

Definition at line 433 of file TEveTrackPropagator.cxx.

◆ GoToBounds() [2/2]

void TEveTrackPropagator::GoToBounds ( TEveVectorF p)

TEveVectorF wrapper.

Definition at line 443 of file TEveTrackPropagator.cxx.

◆ GoToLineSegment() [1/2]

Bool_t TEveTrackPropagator::GoToLineSegment ( const TEveVectorD s,
const TEveVectorD r,
TEveVectorD p 
)
virtual

Propagate particle with momentum p to line with start point s and vector r to the second point.

Definition at line 390 of file TEveTrackPropagator.cxx.

◆ GoToLineSegment() [2/2]

Bool_t TEveTrackPropagator::GoToLineSegment ( const TEveVectorF s,
const TEveVectorF r,
TEveVectorF p 
)

TEveVectorF wrapper.

Definition at line 421 of file TEveTrackPropagator.cxx.

◆ GoToVertex() [1/2]

Bool_t TEveTrackPropagator::GoToVertex ( TEveVectorD v,
TEveVectorD p 
)
virtual

Propagate particle with momentum p to vertex v.

Definition at line 373 of file TEveTrackPropagator.cxx.

◆ GoToVertex() [2/2]

Bool_t TEveTrackPropagator::GoToVertex ( TEveVectorF v,
TEveVectorF p 
)

TEveVectorF wrapper.

Definition at line 410 of file TEveTrackPropagator.cxx.

◆ HelixIntersectPlane()

Bool_t TEveTrackPropagator::HelixIntersectPlane ( const TEveVectorD p,
const TEveVectorD point,
const TEveVectorD normal,
TEveVectorD itsect 
)
protected

Intersect helix with a plane.

Current position and argument p define the helix.

Definition at line 848 of file TEveTrackPropagator.cxx.

◆ InitTrack() [1/2]

void TEveTrackPropagator::InitTrack ( const TEveVectorD v,
Int_t  charge 
)

Initialize internal data-members for given particle parameters.

Definition at line 315 of file TEveTrackPropagator.cxx.

◆ InitTrack() [2/2]

void TEveTrackPropagator::InitTrack ( const TEveVectorF v,
Int_t  charge 
)

TEveVectorF wrapper.

Definition at line 328 of file TEveTrackPropagator.cxx.

◆ IntersectPlane()

Bool_t TEveTrackPropagator::IntersectPlane ( const TEveVectorD p,
const TEveVectorD point,
const TEveVectorD normal,
TEveVectorD itsect 
)

Find intersection of currently propagated track with a plane.

Current track position is used as starting point.

Args:

  • p - track momentum to use for extrapolation
  • point - a point on a plane
  • normal - normal of the plane
  • itsect - output, point of intersection Returns:
  • kFALSE if intersection can not be found, kTRUE otherwise.

Definition at line 929 of file TEveTrackPropagator.cxx.

◆ IsOutsideBounds()

Bool_t TEveTrackPropagator::IsOutsideBounds ( const TEveVectorD point,
Double_t  maxRsqr,
Double_t  maxZ 
)
inlinestatic

Definition at line 351 of file TEveTrackPropagator.h.

◆ LineIntersectPlane()

Bool_t TEveTrackPropagator::LineIntersectPlane ( const TEveVectorD p,
const TEveVectorD point,
const TEveVectorD normal,
TEveVectorD itsect 
)
protected

Intersect line with a plane.

Current position and argument p define the line.

Definition at line 895 of file TEveTrackPropagator.cxx.

◆ LineToBounds()

void TEveTrackPropagator::LineToBounds ( TEveVectorD p)
protected

Propagate neutral particle with momentum p to bounds.

Definition at line 815 of file TEveTrackPropagator.cxx.

◆ LineToVertex()

Bool_t TEveTrackPropagator::LineToVertex ( TEveVectorD v)
protected

Propagate neutral particle to vertex v.

Definition at line 799 of file TEveTrackPropagator.cxx.

◆ LoopToBounds()

void TEveTrackPropagator::LoopToBounds ( TEveVectorD p)
protected

Propagate charged particle with momentum p to bounds.

It is expected that Update() with full-update was called before.

Definition at line 538 of file TEveTrackPropagator.cxx.

◆ LoopToLineSegment()

Bool_t TEveTrackPropagator::LoopToLineSegment ( const TEveVectorD s,
const TEveVectorD r,
TEveVectorD p 
)
protected

Propagate charged particle with momentum p to line segment with point s and vector r to the second point.

It is expected that Update() with full-update was called before. Returns kFALSE if hits bounds.

Definition at line 678 of file TEveTrackPropagator.cxx.

◆ LoopToVertex()

Bool_t TEveTrackPropagator::LoopToVertex ( TEveVectorD v,
TEveVectorD p 
)
protected

Propagate charged particle with momentum p to vertex v.

It is expected that Update() with full-update was called before.

Definition at line 601 of file TEveTrackPropagator.cxx.

◆ OnZeroRefCount()

void TEveTrackPropagator::OnZeroRefCount ( )
virtual

Virtual from TEveRefBackPtr - track reference count has reached zero.

Reimplemented from TEveRefCnt.

Definition at line 277 of file TEveTrackPropagator.cxx.

◆ operator=()

TEveTrackPropagator& TEveTrackPropagator::operator= ( const TEveTrackPropagator )
private

◆ PointOverVertex()

Bool_t TEveTrackPropagator::PointOverVertex ( const TEveVector4D v0,
const TEveVector4D v,
Double_t p = 0 
)
inlineprotected

Definition at line 363 of file TEveTrackPropagator.h.

◆ PrintMagField()

void TEveTrackPropagator::PrintMagField ( Double_t  x,
Double_t  y,
Double_t  z 
) const

Definition at line 1043 of file TEveTrackPropagator.cxx.

◆ RebuildTracks()

void TEveTrackPropagator::RebuildTracks ( )
protected

Rebuild all tracks using this render-style.

Definition at line 1007 of file TEveTrackPropagator.cxx.

◆ RefFVAtt()

TMarker& TEveTrackPropagator::RefFVAtt ( )
inline

Definition at line 333 of file TEveTrackPropagator.h.

◆ RefPMAtt()

TMarker& TEveTrackPropagator::RefPMAtt ( )
inline

Definition at line 332 of file TEveTrackPropagator.h.

◆ RefPTBAtt()

TMarker& TEveTrackPropagator::RefPTBAtt ( )
inline

Definition at line 334 of file TEveTrackPropagator.h.

◆ ResetTrack()

void TEveTrackPropagator::ResetTrack ( )

Reset cache holding particle trajectory.

Definition at line 337 of file TEveTrackPropagator.cxx.

◆ SetDelta()

void TEveTrackPropagator::SetDelta ( Double_t  x)

Set maximum error and rebuild tracks.

Definition at line 1115 of file TEveTrackPropagator.cxx.

◆ SetEditPathMarks()

void TEveTrackPropagator::SetEditPathMarks ( Bool_t  x)
inline

Definition at line 291 of file TEveTrackPropagator.h.

◆ SetFitCluster2Ds()

void TEveTrackPropagator::SetFitCluster2Ds ( Bool_t  x)

Set 2D-cluster fitting and rebuild tracks.

Definition at line 1160 of file TEveTrackPropagator.cxx.

◆ SetFitDaughters()

void TEveTrackPropagator::SetFitDaughters ( Bool_t  x)

Set daughter creation point fitting and rebuild tracks.

Definition at line 1124 of file TEveTrackPropagator.cxx.

◆ SetFitDecay()

void TEveTrackPropagator::SetFitDecay ( Bool_t  x)

Set decay fitting and rebuild tracks.

Definition at line 1142 of file TEveTrackPropagator.cxx.

◆ SetFitLineSegments()

void TEveTrackPropagator::SetFitLineSegments ( Bool_t  x)

Set line segment fitting and rebuild tracks.

Definition at line 1151 of file TEveTrackPropagator.cxx.

◆ SetFitReferences()

void TEveTrackPropagator::SetFitReferences ( Bool_t  x)

Set track-reference fitting and rebuild tracks.

Definition at line 1133 of file TEveTrackPropagator.cxx.

◆ SetMagField() [1/2]

void TEveTrackPropagator::SetMagField ( Double_t  bX,
Double_t  bY,
Double_t  bZ 
)

Set constant magnetic field and rebuild tracks.

Definition at line 1023 of file TEveTrackPropagator.cxx.

◆ SetMagField() [2/2]

void TEveTrackPropagator::SetMagField ( Double_t  b)
inline

Definition at line 280 of file TEveTrackPropagator.h.

◆ SetMagFieldObj()

void TEveTrackPropagator::SetMagFieldObj ( TEveMagField field,
Bool_t  own_field = kTRUE 
)

Set constant magnetic field and rebuild tracks.

Definition at line 1031 of file TEveTrackPropagator.cxx.

◆ SetMaxAng()

void TEveTrackPropagator::SetMaxAng ( Double_t  x)

Set maximum step angle and rebuild tracks.

Definition at line 1097 of file TEveTrackPropagator.cxx.

◆ SetMaxOrbs()

void TEveTrackPropagator::SetMaxOrbs ( Double_t  x)

Set maximum number of orbits and rebuild tracks.

Definition at line 1069 of file TEveTrackPropagator.cxx.

◆ SetMaxR()

void TEveTrackPropagator::SetMaxR ( Double_t  x)

Set maximum radius and rebuild tracks.

Definition at line 1051 of file TEveTrackPropagator.cxx.

◆ SetMaxStep()

void TEveTrackPropagator::SetMaxStep ( Double_t  x)

Set maximum step-size and rebuild tracks.

Definition at line 1106 of file TEveTrackPropagator.cxx.

◆ SetMaxZ()

void TEveTrackPropagator::SetMaxZ ( Double_t  x)

Set maximum z and rebuild tracks.

Definition at line 1060 of file TEveTrackPropagator.cxx.

◆ SetMinAng()

void TEveTrackPropagator::SetMinAng ( Double_t  x)

Set maximum step angle and rebuild tracks.

WARNING – this method / variable was mis-named.

Definition at line 1079 of file TEveTrackPropagator.cxx.

◆ SetProjTrackBreaking()

void TEveTrackPropagator::SetProjTrackBreaking ( UChar_t  x)

Set projection break-point mode and rebuild tracks.

Definition at line 1214 of file TEveTrackPropagator.cxx.

◆ SetRnrCluster2Ds()

void TEveTrackPropagator::SetRnrCluster2Ds ( Bool_t  x)

Set rendering of 2D-clusters and rebuild tracks.

Definition at line 1178 of file TEveTrackPropagator.cxx.

◆ SetRnrDaughters()

void TEveTrackPropagator::SetRnrDaughters ( Bool_t  x)

Set daughter rendering and rebuild tracks.

Definition at line 1187 of file TEveTrackPropagator.cxx.

◆ SetRnrDecay()

void TEveTrackPropagator::SetRnrDecay ( Bool_t  x)

Set decay rendering and rebuild tracks.

Definition at line 1169 of file TEveTrackPropagator.cxx.

◆ SetRnrFV()

void TEveTrackPropagator::SetRnrFV ( Bool_t  x)

Set first-vertex rendering and rebuild tracks.

Definition at line 1205 of file TEveTrackPropagator.cxx.

◆ SetRnrPTBMarkers()

void TEveTrackPropagator::SetRnrPTBMarkers ( Bool_t  x)

Set projection break-point rendering and rebuild tracks.

Definition at line 1223 of file TEveTrackPropagator.cxx.

◆ SetRnrReferences()

void TEveTrackPropagator::SetRnrReferences ( Bool_t  x)

Set track-reference rendering and rebuild tracks.

Definition at line 1196 of file TEveTrackPropagator.cxx.

◆ SetStepper()

void TEveTrackPropagator::SetStepper ( EStepper_e  s)
inline

Definition at line 277 of file TEveTrackPropagator.h.

◆ Step()

void TEveTrackPropagator::Step ( const TEveVector4D v,
const TEveVectorD p,
TEveVector4D vOut,
TEveVectorD pOut 
)
protected

Wrapper to step helix.

Definition at line 501 of file TEveTrackPropagator.cxx.

◆ StepRungeKutta()

void TEveTrackPropagator::StepRungeKutta ( Double_t  step,
Double_t vect,
Double_t vout 
)
protected

Wrapper to step with method RungeKutta.

Definition at line 1232 of file TEveTrackPropagator.cxx.

◆ Update()

void TEveTrackPropagator::Update ( const TEveVector4D v,
const TEveVectorD p,
Bool_t  full_update = kFALSE,
Bool_t  enforce_max_step = kFALSE 
)
protected

Update helix / B-field projection state.

Definition at line 453 of file TEveTrackPropagator.cxx.

Friends And Related Function Documentation

◆ TEveTrackPropagatorSubEditor

friend class TEveTrackPropagatorSubEditor
friend

Definition at line 123 of file TEveTrackPropagator.h.

Member Data Documentation

◆ fEditPathMarks

Bool_t TEveTrackPropagator::fEditPathMarks
protected

Definition at line 195 of file TEveTrackPropagator.h.

◆ fFitCluster2Ds

Bool_t TEveTrackPropagator::fFitCluster2Ds
protected

Definition at line 199 of file TEveTrackPropagator.h.

◆ fFitDaughters

Bool_t TEveTrackPropagator::fFitDaughters
protected

Definition at line 196 of file TEveTrackPropagator.h.

◆ fFitDecay

Bool_t TEveTrackPropagator::fFitDecay
protected

Definition at line 198 of file TEveTrackPropagator.h.

◆ fFitLineSegments

Bool_t TEveTrackPropagator::fFitLineSegments
protected

Definition at line 200 of file TEveTrackPropagator.h.

◆ fFitReferences

Bool_t TEveTrackPropagator::fFitReferences
protected

Definition at line 197 of file TEveTrackPropagator.h.

◆ fFVAtt

TMarker TEveTrackPropagator::fFVAtt
protected

Definition at line 207 of file TEveTrackPropagator.h.

◆ fgDefault

TEveTrackPropagator TEveTrackPropagator::fgDefault
static

Definition at line 342 of file TEveTrackPropagator.h.

◆ fgDefMagField

Double_t TEveTrackPropagator::fgDefMagField = 0.5
static

Definition at line 340 of file TEveTrackPropagator.h.

◆ fgEditorMaxR

Double_t TEveTrackPropagator::fgEditorMaxR = 2000
static

Definition at line 344 of file TEveTrackPropagator.h.

◆ fgEditorMaxZ

Double_t TEveTrackPropagator::fgEditorMaxZ = 4000
static

Definition at line 345 of file TEveTrackPropagator.h.

◆ fgkB2C

const Double_t TEveTrackPropagator::fgkB2C = 0.299792458e-2
static

Definition at line 341 of file TEveTrackPropagator.h.

◆ fH

Helix_t TEveTrackPropagator::fH
protected

Definition at line 220 of file TEveTrackPropagator.h.

◆ fLastPoints

std::vector<TEveVector4D> TEveTrackPropagator::fLastPoints
protected

Definition at line 218 of file TEveTrackPropagator.h.

◆ fMagFieldObj

TEveMagField* TEveTrackPropagator::fMagFieldObj
protected

Definition at line 184 of file TEveTrackPropagator.h.

◆ fMaxOrbs

Double_t TEveTrackPropagator::fMaxOrbs
protected

Definition at line 192 of file TEveTrackPropagator.h.

◆ fMaxR

Double_t TEveTrackPropagator::fMaxR
protected

Definition at line 188 of file TEveTrackPropagator.h.

◆ fMaxZ

Double_t TEveTrackPropagator::fMaxZ
protected

Definition at line 189 of file TEveTrackPropagator.h.

◆ fNMax

Int_t TEveTrackPropagator::fNMax
protected

Definition at line 190 of file TEveTrackPropagator.h.

◆ fOwnMagFiledObj

Bool_t TEveTrackPropagator::fOwnMagFiledObj
protected

Definition at line 185 of file TEveTrackPropagator.h.

◆ fPMAtt

TMarker TEveTrackPropagator::fPMAtt
protected

Definition at line 206 of file TEveTrackPropagator.h.

◆ fPoints

std::vector<TEveVector4D> TEveTrackPropagator::fPoints
protected

Definition at line 217 of file TEveTrackPropagator.h.

◆ fProjTrackBreaking

UChar_t TEveTrackPropagator::fProjTrackBreaking
protected

Definition at line 210 of file TEveTrackPropagator.h.

◆ fPTBAtt

TMarker TEveTrackPropagator::fPTBAtt
protected

Definition at line 212 of file TEveTrackPropagator.h.

◆ fRnrCluster2Ds

Bool_t TEveTrackPropagator::fRnrCluster2Ds
protected

Definition at line 204 of file TEveTrackPropagator.h.

◆ fRnrDaughters

Bool_t TEveTrackPropagator::fRnrDaughters
protected

Definition at line 201 of file TEveTrackPropagator.h.

◆ fRnrDecay

Bool_t TEveTrackPropagator::fRnrDecay
protected

Definition at line 203 of file TEveTrackPropagator.h.

◆ fRnrFV

Bool_t TEveTrackPropagator::fRnrFV
protected

Definition at line 205 of file TEveTrackPropagator.h.

◆ fRnrPTBMarkers

Bool_t TEveTrackPropagator::fRnrPTBMarkers
protected

Definition at line 211 of file TEveTrackPropagator.h.

◆ fRnrReferences

Bool_t TEveTrackPropagator::fRnrReferences
protected

Definition at line 202 of file TEveTrackPropagator.h.

◆ fStepper

EStepper_e TEveTrackPropagator::fStepper
protected

Definition at line 182 of file TEveTrackPropagator.h.

◆ fV

TEveVectorD TEveTrackPropagator::fV
protected

Definition at line 219 of file TEveTrackPropagator.h.

Libraries for TEveTrackPropagator:
[legend]

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