ROOT  6.06/09
Reference Guide
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
TEveTrackList Class Reference

A list of tracks supporting change of common attributes and selection based on track parameters.

Definition at line 137 of file TEveTrack.h.

Public Member Functions

 TEveTrackList (TEveTrackPropagator *prop=0)
 Constructor. More...
 
 TEveTrackList (const char *name, TEveTrackPropagator *prop=0)
 Constructor. More...
 
virtual ~TEveTrackList ()
 Destructor. More...
 
void MakeTracks (Bool_t recurse=kTRUE)
 Regenerate the visual representations of tracks. More...
 
void FindMomentumLimits (Bool_t recurse=kTRUE)
 Loop over children and find highest pT and p of contained TEveTracks. More...
 
void SetPropagator (TEveTrackPropagator *prop)
 Set default propagator for tracks. More...
 
TEveTrackPropagatorGetPropagator ()
 
Bool_t GetRecurse () const
 
void SetRecurse (Bool_t x)
 
virtual void SetMainColor (Color_t c)
 Set main (line) color for the list and the elements. More...
 
virtual void SetLineColor (Color_t c)
 
virtual void SetLineColor (Color_t c, TEveElement *el)
 Set line color for children of el. More...
 
virtual void SetLineWidth (Width_t w)
 Set line width for the list and the elements. More...
 
virtual void SetLineWidth (Width_t w, TEveElement *el)
 Set line width for children of el. More...
 
virtual void SetLineStyle (Style_t s)
 Set line style for the list and the elements. More...
 
virtual void SetLineStyle (Style_t s, TEveElement *el)
 Set line style for children of el. More...
 
virtual void SetMarkerColor (Color_t c)
 Set marker color for the list and the elements. More...
 
virtual void SetMarkerColor (Color_t c, TEveElement *el)
 Set marker color for children of el. More...
 
virtual void SetMarkerSize (Size_t s)
 Set marker size for the list and the elements. More...
 
virtual void SetMarkerSize (Size_t s, TEveElement *el)
 Set marker size for children of el. More...
 
virtual void SetMarkerStyle (Style_t s)
 Set marker style for the list and the elements. More...
 
virtual void SetMarkerStyle (Style_t s, TEveElement *el)
 Set marker style for children of el. More...
 
void SetRnrLine (Bool_t rnr)
 Set rendering of track as line for the list and the elements. More...
 
void SetRnrLine (Bool_t rnr, TEveElement *el)
 Set rendering of track as line for children of el. More...
 
Bool_t GetRnrLine () const
 
void SetRnrPoints (Bool_t r)
 Set rendering of track as points for the list and the elements. More...
 
void SetRnrPoints (Bool_t r, TEveElement *el)
 Set rendering of track as points for children of el. More...
 
Bool_t GetRnrPoints () const
 
void SelectByPt (Double_t min_pt, Double_t max_pt)
 Select visibility of tracks by transverse momentum. More...
 
void SelectByPt (Double_t min_pt, Double_t max_pt, TEveElement *el)
 Select visibility of el's children tracks by transverse momentum. More...
 
void SelectByP (Double_t min_p, Double_t max_p)
 Select visibility of tracks by momentum. More...
 
void SelectByP (Double_t min_p, Double_t max_p, TEveElement *el)
 Select visibility of el's children tracks by momentum. More...
 
Double_t GetMinPt () const
 
Double_t GetMaxPt () const
 
Double_t GetLimPt () const
 
Double_t GetMinP () const
 
Double_t GetMaxP () const
 
Double_t GetLimP () const
 
TEveTrackFindTrackByLabel (Int_t label)
 Find track by label, select it and display it in the editor. More...
 
TEveTrackFindTrackByIndex (Int_t index)
 Find track by index, select it and display it in the editor. More...
 
virtual void CopyVizParams (const TEveElement *el)
 Copy visualization parameters from element el. More...
 
virtual void WriteVizParams (std::ostream &out, const TString &var)
 Write visualization parameters. More...
 
virtual TClassProjectedClass (const TEveProjection *p) const
 Virtual from TEveProjectable, returns TEveTrackListProjected class. More...
 
 ClassDef (TEveTrackList, 1)
 
- 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 TObjectGetObject (const TEveException &="TEveElementList::GetObject ") const
 Get a TObject associated with this render-element. More...
 
virtual TEveElementListCloneElement () const
 Clone the element via copy constructor. More...
 
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 void SetElementName (const char *name)
 Virtual function for setting of name of an element. More...
 
virtual void SetElementTitle (const char *title)
 Virtual function for setting of title 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...
 
TClassGetChildClass () const
 
void SetChildClass (TClass *c)
 
virtual Bool_t AcceptElement (TEveElement *el)
 Check if TEveElement el is inherited from fChildClass. More...
 
 ClassDef (TEveElementList, 0)
 
- 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 TEveElementCloneElementRecurse (Int_t level=0) const
 Clone elements and recurse 'level' deep over children. More...
 
virtual void CloneChildrenRecurse (TEveElement *dest, Int_t level=0) const
 Clone children and attach them to the dest element. More...
 
virtual TString GetHighlightTooltip ()
 
virtual void NameTitleChanged ()
 Virtual function called when a name or title of the element has been changed. More...
 
const TStringGetVizTag () const
 
void SetVizTag (const TString &tag)
 
TEveElementGetVizModel () const
 
void SetVizModel (TEveElement *model)
 Set visualization-parameter model element. More...
 
Bool_t FindVizModel ()
 Find model element in VizDB that corresponds to previously assigned fVizTag and set fVizModel accordingly. 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...
 
virtual void PropagateVizParamsToProjecteds ()
 Propagate visualization parameters to dependent elements. More...
 
virtual void PropagateVizParamsToElements (TEveElement *el=0)
 Propagate visualization parameters from element el (defaulting to this) to all elements (children). More...
 
virtual void CopyVizParamsFromDB ()
 Copy visualization parameters from the model-element fVizModel. More...
 
void SaveVizParams (std::ostream &out, const TString &tag, const TString &var)
 Save visualization parameters for this element with given tag. More...
 
TEveElementGetMaster ()
 Returns the master element - that is: More...
 
TEveCompoundGetCompound ()
 
void SetCompound (TEveCompound *c)
 
virtual void AddParent (TEveElement *re)
 Add re into the list parents. More...
 
virtual void RemoveParent (TEveElement *re)
 Remove re from the list of parents. More...
 
virtual void CheckReferenceCount (const TEveException &eh="TEveElement::CheckReferenceCount ")
 Check external references to this and eventually auto-destruct the render-element. 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...
 
List_i BeginParents ()
 
List_i EndParents ()
 
List_ci BeginParents () const
 
List_ci EndParents () const
 
Int_t NumParents () const
 
Bool_t HasParents () const
 
const List_tRefChildren () const
 
List_i BeginChildren ()
 
List_i EndChildren ()
 
List_ci BeginChildren () const
 
List_ci EndChildren () const
 
Int_t NumChildren () const
 
Bool_t HasChildren () const
 
Bool_t HasChild (TEveElement *el)
 Check if element el is a child of this element. 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...
 
TEveElementFirstChild () const
 Returns the first child element or 0 if the list is empty. More...
 
TEveElementLastChild () const
 Returns the last child element or 0 if the list is empty. More...
 
void EnableListElements (Bool_t rnr_self=kTRUE, Bool_t rnr_children=kTRUE)
 Enable rendering of children and their list contents. More...
 
void DisableListElements (Bool_t rnr_self=kFALSE, Bool_t rnr_children=kFALSE)
 Disable rendering of children and their list contents. More...
 
Bool_t GetDestroyOnZeroRefCnt () const
 Returns state of flag determining if the element will be destroyed when reference count reaches zero. More...
 
void SetDestroyOnZeroRefCnt (Bool_t d)
 Sets the state of flag determining if the element will be destroyed when reference count reaches zero. More...
 
Int_t GetDenyDestroy () const
 Returns the number of times deny-destroy has been requested on the element. More...
 
void IncDenyDestroy ()
 Increases the deny-destroy count of the element. More...
 
void DecDenyDestroy ()
 Decreases the deny-destroy count of the element. More...
 
Int_t GetParentIgnoreCnt () const
 Get number of parents that should be ignored in doing reference-counting. More...
 
void IncParentIgnoreCnt ()
 Increase number of parents ignored in reference-counting. More...
 
void DecParentIgnoreCnt ()
 Decrease number of parents ignored in reference-counting. More...
 
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...
 
virtual TObjectGetEditorObject (const TEveException &eh) const
 
virtual TObjectGetRenderObject (const TEveException &eh) const
 
virtual void ExpandIntoListTree (TGListTree *ltree, TGListTreeItem *parent)
 Populates parent with elements. More...
 
virtual void DestroyListSubTree (TGListTree *ltree, TGListTreeItem *parent)
 Destroy sub-tree under item 'parent' in list-tree 'ltree'. 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 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 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...
 
virtual Int_t GetNItems () const
 
void SpawnEditor ()
 Show GUI editor for this object. More...
 
virtual void ExportToCINT (char *var_name)
 Export render-element to CINT with variable name var_name. More...
 
void DumpSourceObject () const
 Call Dump() on source object. More...
 
void PrintSourceObject () const
 Call Print() on source object. More...
 
void ExportSourceObjectToCINT (char *var_name) const
 Export source object to CINT with given name for the variable. More...
 
virtual void AddElement (TEveElement *el)
 Add el to the list of children. 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 void AnnihilateElements ()
 Annihilate elements. More...
 
virtual void Annihilate ()
 Optimized destruction without check of reference-count. 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 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 Destroy ()
 Destroy this element. More...
 
virtual void DestroyOrWarn ()
 Destroy this element. Prints a warning if deny-destroy is in force. More...
 
virtual void DestroyElements ()
 Destroy all children of this element. More...
 
virtual Bool_t HandleElementPaste (TEveElement *el)
 React to element being pasted or dnd-ed. More...
 
virtual void ElementChanged (Bool_t update_scenes=kTRUE, Bool_t redraw=kFALSE)
 Call this after an element has been changed so that the state can be propagated around the framework. More...
 
virtual Bool_t CanEditElement () const
 
virtual Bool_t SingleRnrState () const
 
virtual Bool_t GetRnrSelf () const
 
virtual Bool_t GetRnrChildren () const
 
virtual Bool_t GetRnrState () const
 
virtual Bool_t GetRnrAnything () const
 
virtual Bool_t SetRnrSelf (Bool_t rnr)
 Set render state of this element, i.e. More...
 
virtual Bool_t SetRnrChildren (Bool_t rnr)
 Set render state of this element's children, 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...
 
virtual void PropagateRnrStateToProjecteds ()
 Propagate render state to the projected replicas of this element. More...
 
virtual Bool_t CanEditMainColor () const
 
void SetEditMainColor (Bool_t x)
 
Color_tGetMainColorPtr () const
 
void SetMainColorPtr (Color_t *color)
 
virtual Bool_t HasMainColor () const
 
virtual Color_t GetMainColor () const
 
void SetMainColorPixel (Pixel_t pixel)
 Convert pixel to Color_t and call SetMainColor(). More...
 
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 PropagateMainColorToProjecteds (Color_t color, Color_t old_color)
 Propagate color to projected elements. More...
 
virtual Bool_t CanEditMainTransparency () const
 
void SetEditMainTransparency (Bool_t x)
 
virtual Char_t GetMainTransparency () const
 
virtual void SetMainTransparency (Char_t t)
 Set main-transparency. More...
 
void SetMainAlpha (Float_t alpha)
 Set main-transparency via float alpha variable. More...
 
virtual void PropagateMainTransparencyToProjecteds (Char_t t, Char_t old_t)
 Propagate transparency to projected elements. More...
 
virtual Bool_t CanEditMainTrans () const
 
virtual Bool_t HasMainTrans () const
 
virtual TEveTransPtrMainTrans (Bool_t create=kTRUE)
 Return pointer to main transformation. More...
 
virtual TEveTransRefMainTrans ()
 Return reference to main transformation. More...
 
virtual void InitMainTrans (Bool_t can_edit=kTRUE)
 Initialize the main transformation to identity matrix. More...
 
virtual void DestroyMainTrans ()
 Destroy the main transformation matrix, it will always be taken as identity. More...
 
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...
 
TRefGetSource ()
 
TObjectGetSourceObject () const
 
void SetSourceObject (TObject *o)
 
voidGetUserData () const
 
void SetUserData (void *ud)
 
Bool_t IsPickable () const
 
void SetPickable (Bool_t p)
 
void SetPickableRecursively (Bool_t p)
 Set pickable state on the element and all its children. More...
 
virtual TEveElementForwardSelection ()
 Returns element to be selected on click. More...
 
virtual TEveElementForwardEdit ()
 Returns element to be displayed in GUI editor on click. More...
 
virtual void SelectElement (Bool_t state)
 Set element's selection state. Stamp appropriately. More...
 
virtual void IncImpliedSelected ()
 Increase element's implied-selection count. Stamp appropriately. More...
 
virtual void DecImpliedSelected ()
 Decrease element's implied-selection count. Stamp appropriately. More...
 
virtual void UnSelected ()
 Virtual function called when both fSelected is false and fImpliedSelected is 0. More...
 
virtual void HighlightElement (Bool_t state)
 Set element's highlight state. Stamp appropriately. More...
 
virtual void IncImpliedHighlighted ()
 Increase element's implied-highlight count. Stamp appropriately. More...
 
virtual void DecImpliedHighlighted ()
 Decrease element's implied-highlight count. Stamp appropriately. More...
 
virtual void UnHighlighted ()
 Virtual function called when both fHighlighted is false and fImpliedHighlighted is 0. More...
 
virtual void FillImpliedSelectedSet (Set_t &impSelSet)
 Populate set impSelSet with derived / dependant elements. More...
 
virtual UChar_t GetSelectedLevel () const
 Get selection level, needed for rendering selection and highlight feedback. 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...
 
void SetCSCBits (UChar_t f)
 
void ResetCSCBits (UChar_t f)
 
Bool_t TestCSCBits (UChar_t f) const
 
void ResetAllCSCBits ()
 
void CSCImplySelectAllChildren ()
 
void CSCTakeAnyParentAsMaster ()
 
void CSCApplyMainColorToAllChildren ()
 
void CSCApplyMainColorToMatchingChildren ()
 
void CSCApplyMainTransparencyToAllChildren ()
 
void CSCApplyMainTransparencyToMatchingChildren ()
 
void StampColorSelection ()
 
void StampTransBBox ()
 
void StampObjProps ()
 
void StampVisibility ()
 
virtual void AddStamp (UChar_t bits)
 Add (bitwise or) given stamps to fChangeBits. More...
 
virtual void ClearStamps ()
 
UChar_t GetChangeBits () const
 
virtual const TGPictureGetListTreeIcon (Bool_t open=kFALSE)
 Returns pointer to first listtreeicon. More...
 
virtual const TGPictureGetListTreeCheckBoxIcon ()
 Returns list-tree-item check-box picture appropriate for given rendering state. More...
 
void VizDB_Apply (const char *tag)
 Set visual parameters for this object for 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...
 
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...
 
 ClassDef (TEveElement, 0)
 
- 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)
 
TNamedoperator= (const TNamed &rhs)
 TNamed assignment operator. More...
 
virtual ~TNamed ()
 
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 SetName (const char *name)
 Change (i.e. More...
 
virtual void SetNameTitle (const char *name, const char *title)
 Change (i.e. set) all the TNamed parameters (name and title). More...
 
virtual void SetTitle (const char *title="")
 Change (i.e. set) the title of the TNamed. More...
 
virtual void ls (Option_t *option="") const
 List TNamed name and title. More...
 
virtual void Print (Option_t *option="") const
 Print TNamed name and title. More...
 
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject. More...
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. More...
 
virtual ~TObject ()
 TObject destructor. More...
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad. More...
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. More...
 
virtual void Delete (Option_t *option="")
 Delete this object. More...
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object. More...
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects. More...
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs. More...
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current pad. More...
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual void 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 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 UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual Option_tGetOption () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. 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...
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
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
 
Bool_t IsZombie () const
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. 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...
 
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...
 
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 UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. 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...
 
voidoperator new (size_t sz)
 
voidoperator new[] (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz, void *vp)
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. 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)
 
void ResetBit (UInt_t f)
 
Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
void InvertBit (UInt_t f)
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. 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...
 
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...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 
- Public Member Functions inherited from TEveProjectable
 TEveProjectable ()
 Constructor. More...
 
virtual ~TEveProjectable ()
 Destructor. More...
 
virtual Bool_t HasProjecteds () const
 
ProjList_i BeginProjecteds ()
 
ProjList_i EndProjecteds ()
 
virtual void AddProjected (TEveProjected *p)
 
virtual void RemoveProjected (TEveProjected *p)
 
virtual void AnnihilateProjecteds ()
 Optimized destroy of projected elements with condition there is only one parent for projected element. More...
 
virtual void ClearProjectedList ()
 
virtual void AddProjectedsToSet (std::set< TEveElement * > &set)
 Add the projected elements to the set, dyn-casting them to TEveElement. More...
 
virtual void PropagateVizParams (TEveElement *el=0)
 Set visualization parameters of projecteds. More...
 
virtual void PropagateRenderState (Bool_t rnr_self, Bool_t rnr_children)
 Set render state of projecteds. More...
 
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...
 
 ClassDef (TEveProjectable, 0)
 
- Public Member Functions inherited from TAttMarker
 TAttMarker ()
 
 TAttMarker (Color_t color, Style_t style, Size_t msize)
 TAttMarker normal constructor. More...
 
virtual ~TAttMarker ()
 TAttMarker destructor. More...
 
void Copy (TAttMarker &attmarker) const
 Copy this marker attributes to a new TAttMarker. More...
 
virtual Color_t GetMarkerColor () const
 
virtual Style_t GetMarkerStyle () const
 
virtual Size_t GetMarkerSize () const
 
virtual void Modify ()
 Change current marker attributes if necessary. More...
 
virtual void ResetAttMarker (Option_t *toption="")
 Reset this marker attributes to the default values. More...
 
virtual void SaveMarkerAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t sizdef=1)
 Save line attributes as C++ statement(s) on output stream out. More...
 
virtual void SetMarkerAttributes ()
 Invoke the DialogCanvas Marker attributes. More...
 
virtual void SetMarkerColorAlpha (Color_t mcolor, Float_t malpha)
 Set a transparent marker color. More...
 
 ClassDef (TAttMarker, 2)
 
- Public Member Functions inherited from TAttLine
 TAttLine ()
 AttLine default constructor. More...
 
 TAttLine (Color_t lcolor, Style_t lstyle, Width_t lwidth)
 AttLine normal constructor. More...
 
virtual ~TAttLine ()
 AttLine destructor. More...
 
void Copy (TAttLine &attline) const
 Copy this line attributes to a new TAttLine. More...
 
Int_t DistancetoLine (Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2)
 Compute distance from point px,py to a line. More...
 
virtual Color_t GetLineColor () const
 
virtual Style_t GetLineStyle () const
 
virtual Width_t GetLineWidth () const
 
virtual void Modify ()
 Change current line attributes if necessary. More...
 
virtual void ResetAttLine (Option_t *option="")
 Reset this line attributes to default values. More...
 
virtual void SaveLineAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1)
 Save line attributes as C++ statement(s) on output stream out. More...
 
virtual void SetLineAttributes ()
 Invoke the DialogCanvas Line attributes. More...
 
virtual void SetLineColorAlpha (Color_t lcolor, Float_t lalpha)
 Set a transparent line color. More...
 
 ClassDef (TAttLine, 2)
 

Protected Member Functions

void FindMomentumLimits (TEveElement *el, Bool_t recurse=kTRUE)
 Loop over track elements of argument el and find highest pT and p. More...
 
Double_t RoundMomentumLimit (Double_t x)
 Round the momentum limit up to a nice value. More...
 
void SanitizeMinMaxCuts ()
 Set Min/Max cuts so that they are within detected limits. More...
 
- Protected Member Functions inherited from TEveElement
virtual void PreDeleteElement ()
 Externally assigned and controlled user data. More...
 
virtual void RemoveElementsInternal ()
 Remove all elements. More...
 
virtual void AnnihilateRecursively ()
 Protected member function called from TEveElement::Annihilate(). More...
 
- Protected Member Functions inherited from TObject
void MakeZombie ()
 
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 

Protected Attributes

TEveTrackPropagatorfPropagator
 
Bool_t fRecurse
 
Bool_t fRnrLine
 
Bool_t fRnrPoints
 
Double_t fMinPt
 
Double_t fMaxPt
 
Double_t fLimPt
 
Double_t fMinP
 
Double_t fMaxP
 
Double_t fLimP
 
- Protected Attributes inherited from TEveElementList
Color_t fColor
 
TClassfChildClass
 
- Protected Attributes inherited from TEveElement
List_t fParents
 
List_t fChildren
 
TEveCompoundfCompound
 
TEveElementfVizModel
 
TString fVizTag
 Element used as model from VizDB. More...
 
Int_t fNumChildren
 
Int_t fParentIgnoreCnt
 
Int_t fTopItemCnt
 Counter for parents that are ignored in ref-counting. More...
 
Int_t fDenyDestroy
 Counter for top-level list-tree items that prevent automatic destruction. More...
 
Bool_t fDestroyOnZeroRefCnt
 Deny-destroy count. More...
 
Bool_t fRnrSelf
 
Bool_t fRnrChildren
 
Bool_t fCanEditMainColor
 
Bool_t fCanEditMainTransparency
 
Bool_t fCanEditMainTrans
 
Char_t fMainTransparency
 
Color_tfMainColorPtr
 
TEveTransfMainTrans
 
sLTI_t fItems
 
TRef fSource
 Set of list-tree-items. More...
 
voidfUserData
 
Bool_t fPickable
 
Bool_t fSelected
 
Bool_t fHighlighted
 
Short_t fImpliedSelected
 
Short_t fImpliedHighlighted
 
UChar_t fCSCBits
 
UChar_t fChangeBits
 
Char_t fDestructing
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 
- Protected Attributes inherited from TEveProjectable
ProjList_t fProjectedList
 
- Protected Attributes inherited from TAttMarker
Color_t fMarkerColor
 
Style_t fMarkerStyle
 
Size_t fMarkerSize
 
- Protected Attributes inherited from TAttLine
Color_t fLineColor
 
Style_t fLineStyle
 
Width_t fLineWidth
 

Private Member Functions

 TEveTrackList (const TEveTrackList &)
 
TEveTrackListoperator= (const TEveTrackList &)
 

Friends

class TEveTrackListEditor
 

Additional Inherited Members

- Public Types inherited from TEveElement
enum  EChangeBits { kCBColorSelection = BIT(0), kCBTransBBox = BIT(1), kCBObjProps = BIT(2), kCBVisibility = BIT(3) }
 
typedef std::set< TEveListTreeInfosLTI_t
 
typedef sLTI_t::iterator sLTI_i
 
typedef sLTI_t::reverse_iterator sLTI_ri
 
typedef std::list< TEveElement * > List_t
 
typedef List_t::iterator List_i
 
typedef List_t::const_iterator List_ci
 
typedef std::set< TEveElement * > Set_t
 
typedef Set_t::iterator Set_i
 
typedef Set_t::const_iterator Set_ci
 
typedef void(TEveElement::* Select_foo) (Bool_t)
 
typedef void(TEveElement::* ImplySelect_foo) ()
 
- Public Types inherited from TObject
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)
}
 
enum  { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff }
 
enum  { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) }
 
- Public Types inherited from TEveProjectable
typedef std::list< TEveProjected * > ProjList_t
 
typedef std::list< TEveProjected * >::iterator ProjList_i
 
- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 
- Static Public Attributes inherited from TEveElement
static const TGPicturefgRnrIcons [4] = { 0 }
 
static const TGPicturefgListTreeIcons [9] = { 0 }
 
- 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 }
 
- Static Protected Member Functions inherited from TEveElement
static const char * ToString (Bool_t b)
 Convert Bool_t to string - kTRUE or kFALSE. More...
 

#include <TEveTrack.h>

+ Inheritance diagram for TEveTrackList:
+ Collaboration diagram for TEveTrackList:

Constructor & Destructor Documentation

TEveTrackList::TEveTrackList ( const TEveTrackList )
private
TEveTrackList::TEveTrackList ( TEveTrackPropagator prop = 0)

Constructor.

If track-propagator argument is 0, a new default one is created.

Definition at line 565 of file TEveTrack.cxx.

TEveTrackList::TEveTrackList ( const char *  name,
TEveTrackPropagator prop = 0 
)

Constructor.

If track-propagator argument is 0, a new default one is created.

Definition at line 591 of file TEveTrack.cxx.

TEveTrackList::~TEveTrackList ( )
virtual

Destructor.

Definition at line 615 of file TEveTrack.cxx.

Member Function Documentation

TEveTrackList::ClassDef ( TEveTrackList  ,
 
)
void TEveTrackList::CopyVizParams ( const TEveElement el)
virtual

Copy visualization parameters from element el.

Reimplemented from TEveElement.

Definition at line 1131 of file TEveTrack.cxx.

Referenced by TEveTrackListProjected::SetProjection().

void TEveTrackList::FindMomentumLimits ( TEveElement el,
Bool_t  recurse = kTRUE 
)
protected

Loop over track elements of argument el and find highest pT and p.

These are stored in members fLimPt and fLimP.

Definition at line 694 of file TEveTrack.cxx.

Referenced by FindMomentumLimits(), and MakeTracks().

void TEveTrackList::FindMomentumLimits ( Bool_t  recurse = kTRUE)

Loop over children and find highest pT and p of contained TEveTracks.

These are stored in members fLimPt and fLimP.

Definition at line 665 of file TEveTrack.cxx.

TEveTrack * TEveTrackList::FindTrackByIndex ( Int_t  index)

Find track by index, select it and display it in the editor.

Definition at line 1108 of file TEveTrack.cxx.

TEveTrack * TEveTrackList::FindTrackByLabel ( Int_t  label)

Find track by label, select it and display it in the editor.

Definition at line 1085 of file TEveTrack.cxx.

Double_t TEveTrackList::GetLimP ( ) const
inline

Definition at line 215 of file TEveTrack.h.

Double_t TEveTrackList::GetLimPt ( ) const
inline

Definition at line 212 of file TEveTrack.h.

Double_t TEveTrackList::GetMaxP ( ) const
inline

Definition at line 214 of file TEveTrack.h.

Double_t TEveTrackList::GetMaxPt ( ) const
inline

Definition at line 211 of file TEveTrack.h.

Double_t TEveTrackList::GetMinP ( ) const
inline

Definition at line 213 of file TEveTrack.h.

Double_t TEveTrackList::GetMinPt ( ) const
inline

Definition at line 210 of file TEveTrack.h.

TEveTrackPropagator* TEveTrackList::GetPropagator ( )
inline
Bool_t TEveTrackList::GetRecurse ( ) const
inline

Definition at line 177 of file TEveTrack.h.

Bool_t TEveTrackList::GetRnrLine ( ) const
inline

Definition at line 199 of file TEveTrack.h.

Referenced by TEveTrack::SetAttLineAttMarker(), and TEveTrackListEditor::SetModel().

Bool_t TEveTrackList::GetRnrPoints ( ) const
inline

Definition at line 203 of file TEveTrack.h.

Referenced by TEveTrack::SetAttLineAttMarker(), and TEveTrackListEditor::SetModel().

void TEveTrackList::MakeTracks ( Bool_t  recurse = kTRUE)

Regenerate the visual representations of tracks.

The momentum limits are rescanned during the same traversal.

Definition at line 637 of file TEveTrack.cxx.

TEveTrackList& TEveTrackList::operator= ( const TEveTrackList )
private
TClass * TEveTrackList::ProjectedClass ( const TEveProjection p) const
virtual

Virtual from TEveProjectable, returns TEveTrackListProjected class.

Reimplemented from TEveElementList.

Definition at line 1177 of file TEveTrack.cxx.

Double_t TEveTrackList::RoundMomentumLimit ( Double_t  x)
protected

Round the momentum limit up to a nice value.

Definition at line 712 of file TEveTrack.cxx.

Referenced by FindMomentumLimits(), and MakeTracks().

void TEveTrackList::SanitizeMinMaxCuts ( )
protected

Set Min/Max cuts so that they are within detected limits.

Definition at line 725 of file TEveTrack.cxx.

Referenced by FindMomentumLimits(), and MakeTracks().

void TEveTrackList::SelectByP ( Double_t  min_p,
Double_t  max_p 
)

Select visibility of tracks by momentum.

If data-member fRecurse is set, the selection is applied recursively to all children.

Definition at line 1042 of file TEveTrack.cxx.

Referenced by TEveTrackListEditor::DoPRange(), and SelectByP().

void TEveTrackList::SelectByP ( Double_t  min_p,
Double_t  max_p,
TEveElement el 
)

Select visibility of el's children tracks by momentum.

Definition at line 1063 of file TEveTrack.cxx.

void TEveTrackList::SelectByPt ( Double_t  min_pt,
Double_t  max_pt 
)

Select visibility of tracks by transverse momentum.

If data-member fRecurse is set, the selection is applied recursively to all children.

Definition at line 997 of file TEveTrack.cxx.

Referenced by TEveTrackListEditor::DoPtRange(), and SelectByPt().

void TEveTrackList::SelectByPt ( Double_t  min_pt,
Double_t  max_pt,
TEveElement el 
)

Select visibility of el's children tracks by transverse momentum.

Definition at line 1018 of file TEveTrack.cxx.

virtual void TEveTrackList::SetLineColor ( Color_t  c)
inlinevirtual

Reimplemented from TAttLine.

Definition at line 183 of file TEveTrack.h.

Referenced by SetLineColor(), and SetMainColor().

void TEveTrackList::SetLineColor ( Color_t  c,
TEveElement el 
)
virtual

Set line color for children of el.

Definition at line 819 of file TEveTrack.cxx.

void TEveTrackList::SetLineStyle ( Style_t  s)
virtual

Set line style for the list and the elements.

Reimplemented from TAttLine.

Definition at line 867 of file TEveTrack.cxx.

Referenced by SetLineStyle().

void TEveTrackList::SetLineStyle ( Style_t  s,
TEveElement el 
)
virtual

Set line style for children of el.

Definition at line 883 of file TEveTrack.cxx.

void TEveTrackList::SetLineWidth ( Width_t  w)
virtual

Set line width for the list and the elements.

Reimplemented from TAttLine.

Definition at line 835 of file TEveTrack.cxx.

Referenced by SetLineWidth().

void TEveTrackList::SetLineWidth ( Width_t  w,
TEveElement el 
)
virtual

Set line width for children of el.

Definition at line 851 of file TEveTrack.cxx.

void TEveTrackList::SetMainColor ( Color_t  c)
virtual

Set main (line) color for the list and the elements.

Reimplemented from TEveElement.

Definition at line 803 of file TEveTrack.cxx.

Referenced by SetLineColor().

void TEveTrackList::SetMarkerColor ( Color_t  c)
virtual

Set marker color for the list and the elements.

Reimplemented from TAttMarker.

Definition at line 931 of file TEveTrack.cxx.

Referenced by SetMarkerColor().

void TEveTrackList::SetMarkerColor ( Color_t  c,
TEveElement el 
)
virtual

Set marker color for children of el.

Definition at line 947 of file TEveTrack.cxx.

void TEveTrackList::SetMarkerSize ( Size_t  s)
virtual

Set marker size for the list and the elements.

Reimplemented from TAttMarker.

Definition at line 963 of file TEveTrack.cxx.

Referenced by SetMarkerSize().

void TEveTrackList::SetMarkerSize ( Size_t  s,
TEveElement el 
)
virtual

Set marker size for children of el.

Definition at line 979 of file TEveTrack.cxx.

void TEveTrackList::SetMarkerStyle ( Style_t  s)
virtual

Set marker style for the list and the elements.

Reimplemented from TAttMarker.

Definition at line 899 of file TEveTrack.cxx.

Referenced by SetMarkerStyle().

void TEveTrackList::SetMarkerStyle ( Style_t  s,
TEveElement el 
)
virtual

Set marker style for children of el.

Definition at line 915 of file TEveTrack.cxx.

void TEveTrackList::SetPropagator ( TEveTrackPropagator prop)

Set default propagator for tracks.

This is not enforced onto the tracks themselves but this is the propagator that is shown in the TEveTrackListEditor.

Definition at line 625 of file TEveTrack.cxx.

Referenced by TEveTrackListProjected::SetProjection(), TEveTrackList(), and ~TEveTrackList().

void TEveTrackList::SetRecurse ( Bool_t  x)
inline

Definition at line 178 of file TEveTrack.h.

void TEveTrackList::SetRnrLine ( Bool_t  rnr)

Set rendering of track as line for the list and the elements.

Definition at line 738 of file TEveTrack.cxx.

Referenced by TEveTrackListEditor::DoRnrLine(), and SetRnrLine().

void TEveTrackList::SetRnrLine ( Bool_t  rnr,
TEveElement el 
)

Set rendering of track as line for children of el.

Definition at line 754 of file TEveTrack.cxx.

void TEveTrackList::SetRnrPoints ( Bool_t  r)

Set rendering of track as points for the list and the elements.

Definition at line 770 of file TEveTrack.cxx.

Referenced by TEveTrackListEditor::DoRnrPoints(), and SetRnrPoints().

void TEveTrackList::SetRnrPoints ( Bool_t  r,
TEveElement el 
)

Set rendering of track as points for children of el.

Definition at line 786 of file TEveTrack.cxx.

void TEveTrackList::WriteVizParams ( std::ostream &  out,
const TString var 
)
virtual

Write visualization parameters.

Reimplemented from TEveElement.

Definition at line 1155 of file TEveTrack.cxx.

Friends And Related Function Documentation

friend class TEveTrackListEditor
friend

Definition at line 141 of file TEveTrack.h.

Member Data Documentation

Double_t TEveTrackList::fLimP
protected
Double_t TEveTrackList::fLimPt
protected
Double_t TEveTrackList::fMaxP
protected
Double_t TEveTrackList::fMaxPt
protected
Double_t TEveTrackList::fMinP
protected
Double_t TEveTrackList::fMinPt
protected
TEveTrackPropagator* TEveTrackList::fPropagator
protected

Definition at line 148 of file TEveTrack.h.

Referenced by GetPropagator(), and SetPropagator().

Bool_t TEveTrackList::fRecurse
protected
Bool_t TEveTrackList::fRnrLine
protected

Definition at line 152 of file TEveTrack.h.

Referenced by CopyVizParams(), GetRnrLine(), SetRnrLine(), and WriteVizParams().

Bool_t TEveTrackList::fRnrPoints
protected

Definition at line 153 of file TEveTrack.h.

Referenced by CopyVizParams(), GetRnrPoints(), SetRnrPoints(), and WriteVizParams().


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