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

Visualization of calorimeter data as eta/phi histogram.

Definition at line 250 of file TEveCalo.h.

Public Types

enum  E2DMode_e { kValColor , kValSize , kValSizeOutline }
 
enum  EBoxMode_e { kNone , kFrontBack , kBack }
 
enum  EProjection_e { kAuto , k3D , k2D }
 
- 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

 TEveCaloLego (TEveCaloData *data=0, const char *n="TEveCaloLego", const char *t="")
 Constructor.
 
virtual ~TEveCaloLego ()
 
virtual void ComputeBBox ()
 Fill bounding-box information of the base-class TAttBBox (virtual method).
 
E2DMode_e Get2DMode ()
 
Bool_t GetAutoRebin () const
 
EBoxMode_e GetBoxMode ()
 
Int_t GetCellPixelFontSize ()
 
Bool_t GetDrawHPlane () const
 
Int_t GetDrawNumberCellPixels ()
 
float GetFixedHeightValIn2DMode () const
 
Color_t GetFontColor () const
 
Color_t GetGridColor () const
 
bool GetHasFixedHeightIn2DMode () const
 
Float_t GetHPlaneVal () const
 
Bool_t GetNormalizeRebin () const
 
Int_t GetNZSteps () const
 
Int_t GetPixelsPerBin () const
 
Color_t GetPlaneColor () const
 
Char_t GetPlaneTransparency () const
 
EProjection_e GetProjection () const
 
void Set2DMode (E2DMode_e p)
 
void SetAutoRebin (Bool_t s)
 
void SetBoxMode (EBoxMode_e p)
 
void SetCellPixelFontSize (Int_t x)
 
virtual void SetData (TEveCaloData *d)
 
void SetDrawHPlane (Bool_t s)
 
void SetDrawNumberCellPixels (Int_t x)
 
void SetFixedHeightValIn2DMode (float x)
 
void SetFontColor (Color_t ci)
 
void SetGridColor (Color_t ci)
 
void SetHasFixedHeightIn2DMode (bool x)
 
void SetHPlaneVal (Float_t s)
 
void SetNormalizeRebin (Bool_t s)
 
void SetNZSteps (Int_t s)
 
void SetPixelsPerBin (Int_t bw)
 
void SetPlaneColor (Color_t ci)
 
void SetPlaneTransparency (Char_t t)
 
void SetProjection (EProjection_e p)
 
- Public Member Functions inherited from TEveCaloViz
 TEveCaloViz (TEveCaloData *data=0, const char *n="TEveCaloViz", const char *t="")
 
virtual ~TEveCaloViz ()
 Destructor.
 
Bool_t AssertCellIdCache () const
 Assert cell id cache is ok.
 
TEveRGBAPaletteAssertPalette ()
 Make sure the TEveRGBAPalette pointer is not null.
 
Bool_t CellInEtaPhiRng (TEveCaloData::CellData_t &) const
 Returns true if given cell is in the ceta phi range.
 
virtual void CellSelectionChanged ()
 
void DataChanged ()
 Update setting and cache on data changed.
 
virtual TEveElementForwardEdit ()
 Management of selection state and ownership of selected cell list is done in TEveCaloData.
 
virtual TEveElementForwardSelection ()
 Management of selection state and ownership of selected cell list is done in TEveCaloData.
 
Bool_t GetAutoRange () const
 
Float_t GetBackwardEndCapPos () const
 
Float_t GetBarrelRadius () const
 
TEveCaloDataGetData () const
 
Color_t GetDataSliceColor (Int_t slice) const
 Get slice color from data.
 
Float_t GetDataSliceThreshold (Int_t slice) const
 Get threshold for given slice.
 
Float_t GetEndCapPos () const
 
Float_t GetEta () const
 
Float_t GetEtaMax () const
 
Float_t GetEtaMin () const
 
Float_t GetEtaRng () const
 
Float_t GetForwardEndCapPos () const
 
Float_t GetMaxTowerH () const
 
Float_t GetMaxVal () const
 
Float_t GetMaxValAbs () const
 
TEveRGBAPaletteGetPalette () const
 
Float_t GetPhi () const
 
Float_t GetPhiMax () const
 
Float_t GetPhiMin () const
 
Float_t GetPhiRng () const
 
Bool_t GetPlotEt () const
 
Bool_t GetScaleAbs () const
 
Float_t GetTransitionEta () const
 Get transition eta between barrel and end-cap cells, assuming fEndCapPosF = -fEndCapPosB.
 
Float_t GetTransitionEtaBackward () const
 Get transition eta between barrel and backward end-cap cells.
 
Float_t GetTransitionEtaForward () const
 Get transition eta between barrel and forward end-cap cells.
 
Float_t GetTransitionTheta () const
 Get transition angle between barrel and end-cap cells, assuming fEndCapPosF = -fEndCapPosB.
 
Float_t GetTransitionThetaBackward () const
 Get transition angle between barrel and backward end-cap cells.
 
Float_t GetTransitionThetaForward () const
 Get transition angle between barrel and forward end-cap cells.
 
virtual Float_t GetValToHeight () const
 Get transformation factor from E/Et to height.
 
Bool_t GetValueIsColor () const
 
void InvalidateCellIdCache ()
 
virtual void Paint (Option_t *option="")
 Paint this object. Only direct rendering is supported.
 
virtual TClassProjectedClass (const TEveProjection *p) const
 Virtual from TEveProjectable, returns TEveCalo2D class.
 
void SetAutoRange (Bool_t x)
 
void SetBackwardEndCapPos (Float_t z)
 
void SetBarrelRadius (Float_t r)
 
void SetData (TEveCaloData *d)
 Set calorimeter event data.
 
void SetDataSliceColor (Int_t slice, Color_t col)
 Set slice color in data.
 
void SetDataSliceThreshold (Int_t slice, Float_t val)
 Set threshold for given slice.
 
void SetEndCapPos (Float_t z)
 
void SetEta (Float_t l, Float_t u)
 Set eta range.
 
void SetForwardEndCapPos (Float_t z)
 
void SetMaxTowerH (Float_t x)
 
void SetMaxValAbs (Float_t x)
 
void SetPalette (TEveRGBAPalette *p)
 Set TEveRGBAPalette object pointer.
 
void SetPhi (Float_t phi)
 
void SetPhiRng (Float_t rng)
 
void SetPhiWithRng (Float_t x, Float_t r)
 Set phi range.
 
void SetPlotEt (Bool_t x)
 Set E/Et plot.
 
virtual void SetScaleAbs (Bool_t x)
 
void SetValueIsColor (Bool_t x)
 
- Public Member Functions inherited from TEveElement
 TEveElement ()
 Default constructor.
 
 TEveElement (Color_t &main_color)
 Constructor.
 
 TEveElement (const TEveElement &e)
 Copy constructor.
 
virtual ~TEveElement ()
 Destructor.
 
virtual Bool_t AcceptElement (TEveElement *el)
 Check if el can be added to this element.
 
virtual void AddElement (TEveElement *el)
 Add el to the list of children.
 
virtual TGListTreeItemAddIntoListTree (TGListTree *ltree, TEveElement *parent)
 Add this render element into ltree to all items belonging to parent.
 
virtual TGListTreeItemAddIntoListTree (TGListTree *ltree, TGListTreeItem *parent_lti)
 Add this element into ltree to an already existing item parent_lti.
 
virtual TGListTreeItemAddIntoListTrees (TEveElement *parent)
 Add this render element into all list-trees and all items belonging to parent.
 
virtual void AddParent (TEveElement *re)
 Add re into the list parents.
 
virtual void AddStamp (UChar_t bits)
 Add (bitwise or) given stamps to fChangeBits.
 
virtual void Annihilate ()
 Optimized destruction without check of reference-count.
 
virtual void AnnihilateElements ()
 Annihilate elements.
 
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.
 
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 CheckReferenceCount (const TEveException &eh="TEveElement::CheckReferenceCount ")
 Check external references to this and eventually auto-destruct the render-element.
 
virtual void ClearStamps ()
 
virtual void CloneChildrenRecurse (TEveElement *dest, Int_t level=0) const
 Clone children and attach them to the dest element.
 
virtual TEveElementCloneElement () const
 Clone the element via copy constructor.
 
virtual TEveElementCloneElementRecurse (Int_t level=0) const
 Clone elements and recurse 'level' deep over children.
 
virtual void CollectSceneParents (List_t &scenes)
 Collect all parents of class TEveScene.
 
virtual void CollectSceneParentsFromChildren (List_t &scenes, TEveElement *parent)
 Collect scene-parents from all children.
 
virtual void CopyVizParams (const TEveElement *el)
 Copy visualization parameters from element el.
 
virtual void CopyVizParamsFromDB ()
 Copy visualization parameters from the model-element fVizModel.
 
void CSCApplyMainColorToAllChildren ()
 
void CSCApplyMainColorToMatchingChildren ()
 
void CSCApplyMainTransparencyToAllChildren ()
 
void CSCApplyMainTransparencyToMatchingChildren ()
 
void CSCImplySelectAllChildren ()
 
void CSCTakeAnyParentAsMaster ()
 
void DecDenyDestroy ()
 Decreases the deny-destroy count of the element.
 
virtual void DecImpliedHighlighted ()
 Decrease element's implied-highlight count. Stamp appropriately.
 
virtual void DecImpliedSelected ()
 Decrease element's implied-selection count. Stamp appropriately.
 
void DecParentIgnoreCnt ()
 Decrease number of parents ignored in reference-counting.
 
virtual void Destroy ()
 Destroy this element.
 
virtual void DestroyElements ()
 Destroy all children of this element.
 
virtual void DestroyListSubTree (TGListTree *ltree, TGListTreeItem *parent)
 Destroy sub-tree under item 'parent' in list-tree 'ltree'.
 
virtual void DestroyMainTrans ()
 Destroy the main transformation matrix, it will always be taken as identity.
 
virtual void DestroyOrWarn ()
 Destroy this element. Prints a warning if deny-destroy is in force.
 
void DisableListElements (Bool_t rnr_self=kFALSE, Bool_t rnr_children=kFALSE)
 Disable rendering of children and their list contents.
 
void DumpSourceObject () const
 Call Dump() on source object.
 
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.
 
void EnableListElements (Bool_t rnr_self=kTRUE, Bool_t rnr_children=kTRUE)
 Enable rendering of children and their list contents.
 
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.
 
void ExportSourceObjectToCINT (char *var_name) const
 Export source object to CINT with given name for the variable.
 
virtual void ExportToCINT (char *var_name)
 Export render-element to CINT with variable name var_name.
 
virtual void FillImpliedSelectedSet (Set_t &impSelSet)
 Populate set impSelSet with derived / dependant elements.
 
TEveElementFindChild (const TString &name, const TClass *cls=0)
 Find the first child with given name.
 
TEveElementFindChild (TPRegexp &regexp, const TClass *cls=0)
 Find the first child whose name matches regexp.
 
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.
 
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.
 
virtual sLTI_i FindItem (TGListTree *ltree)
 Find any list-tree-item of this element in list-tree 'ltree'.
 
virtual sLTI_i FindItem (TGListTree *ltree, TGListTreeItem *parent_lti)
 Find list-tree-item of this element with given parent list-tree-item.
 
virtual TGListTreeItemFindListTreeItem (TGListTree *ltree)
 Find any list-tree-item of this element in list-tree 'ltree'.
 
virtual TGListTreeItemFindListTreeItem (TGListTree *ltree, TGListTreeItem *parent_lti)
 Find list-tree-item of this element with given parent list-tree-item.
 
Bool_t FindVizModel ()
 Find model element in VizDB that corresponds to previously assigned fVizTag and set fVizModel accordingly.
 
TEveElementFirstChild () const
 Returns the first child element or 0 if the list is empty.
 
UChar_t GetChangeBits () const
 
TEveCompoundGetCompound ()
 
Int_t GetDenyDestroy () const
 Returns the number of times deny-destroy has been requested on the element.
 
Bool_t GetDestroyOnZeroRefCnt () const
 Returns state of flag determining if the element will be destroyed when reference count reaches zero.
 
virtual TObjectGetEditorObject (const TEveException &eh) const
 
virtual const char * GetElementName () const
 Virtual function for retrieving name of the element.
 
virtual const char * GetElementTitle () const
 Virtual function for retrieving title of the render-element.
 
virtual TString GetHighlightTooltip ()
 
virtual const TGPictureGetListTreeCheckBoxIcon ()
 Returns list-tree-item check-box picture appropriate for given rendering state.
 
virtual const TGPictureGetListTreeIcon (Bool_t open=kFALSE)
 Returns pointer to first listtreeicon.
 
virtual Color_t GetMainColor () const
 
Color_tGetMainColorPtr () const
 
virtual Char_t GetMainTransparency () const
 
TEveElementGetMaster ()
 Returns the master element - that is:
 
virtual Int_t GetNItems () const
 
virtual TObjectGetObject (const TEveException &eh) const
 Get a TObject associated with this render-element.
 
Int_t GetParentIgnoreCnt () const
 Get number of parents that should be ignored in doing reference-counting.
 
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.
 
TRefGetSource ()
 
TObjectGetSourceObject () const
 
voidGetUserData () const
 
TEveElementGetVizModel () const
 
const TStringGetVizTag () const
 
virtual Bool_t HandleElementPaste (TEveElement *el)
 React to element being pasted or dnd-ed.
 
Bool_t HasChild (TEveElement *el)
 Check if element el is a child of this element.
 
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.
 
void IncDenyDestroy ()
 Increases the deny-destroy count of the element.
 
virtual void IncImpliedHighlighted ()
 Increase element's implied-highlight count. Stamp appropriately.
 
virtual void IncImpliedSelected ()
 Increase element's implied-selection count. Stamp appropriately.
 
void IncParentIgnoreCnt ()
 Increase number of parents ignored in reference-counting.
 
virtual void InitMainTrans (Bool_t can_edit=kTRUE)
 Initialize the main transformation to identity matrix.
 
Bool_t IsPickable () const
 
TEveElementLastChild () const
 Returns the last child element or 0 if the list is empty.
 
virtual void NameTitleChanged ()
 Virtual function called when a name or title of the element has been changed.
 
Int_t NumChildren () const
 
Int_t NumParents () const
 
virtual void PadPaint (Option_t *option)
 Paint self and/or children into currently active pad.
 
virtual void PaintStandard (TObject *id)
 Paint object – a generic implementation for EVE elements.
 
void PrintSourceObject () const
 Call Print() on source object.
 
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.
 
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.
 
virtual void PropagateMainColorToProjecteds (Color_t color, Color_t old_color)
 Propagate color to projected elements.
 
virtual void PropagateMainTransparencyToProjecteds (Char_t t, Char_t old_t)
 Propagate transparency to projected elements.
 
virtual void PropagateRnrStateToProjecteds ()
 Propagate render state to the projected replicas of this element.
 
virtual void PropagateVizParamsToElements (TEveElement *el=0)
 Propagate visualization parameters from element el (defaulting to this) to all elements (children).
 
virtual void PropagateVizParamsToProjecteds ()
 Propagate visualization parameters to dependent elements.
 
virtual TEveTransPtrMainTrans (Bool_t create=kTRUE)
 Return pointer to main transformation.
 
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.
 
const List_tRefChildren () const
 
virtual TEveTransRefMainTrans ()
 Return reference to main transformation.
 
virtual void RemoveElement (TEveElement *el)
 Remove el from the list of children.
 
virtual void RemoveElementLocal (TEveElement *el)
 Perform additional local removal of el.
 
virtual void RemoveElements ()
 Remove all elements.
 
virtual void RemoveElementsLocal ()
 Perform additional local removal of all elements.
 
virtual Bool_t RemoveFromListTree (TGListTree *ltree, TGListTreeItem *parent_lti)
 Remove element from list-tree 'ltree' where its parent item is 'parent_lti'.
 
virtual Int_t RemoveFromListTrees (TEveElement *parent)
 Remove element from all list-trees where 'parent' is the user-data of the parent list-tree-item.
 
virtual void RemoveParent (TEveElement *re)
 Remove re from the list of parents.
 
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.
 
virtual void SelectElement (Bool_t state)
 Set element's selection state. Stamp appropriately.
 
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.
 
void SetEditMainColor (Bool_t x)
 
void SetEditMainTransparency (Bool_t x)
 
virtual void SetElementName (const char *name)
 Virtual function for setting of name of an element.
 
virtual void SetElementNameTitle (const char *name, const char *title)
 Virtual function for setting of name and title of render element.
 
virtual void SetElementTitle (const char *title)
 Virtual function for setting of title of an element.
 
void SetMainAlpha (Float_t alpha)
 Set main-transparency via float alpha variable.
 
virtual void SetMainColor (Color_t color)
 Set main color of the element.
 
void SetMainColorPixel (Pixel_t pixel)
 Convert pixel to Color_t and call SetMainColor().
 
void SetMainColorPtr (Color_t *color)
 
void SetMainColorRGB (Float_t r, Float_t g, Float_t b)
 Convert RGB values to Color_t and call SetMainColor.
 
void SetMainColorRGB (UChar_t r, UChar_t g, UChar_t b)
 Convert RGB values to Color_t and call SetMainColor.
 
virtual void SetMainTransparency (Char_t t)
 Set main-transparency.
 
void SetPickable (Bool_t p)
 
void SetPickableRecursively (Bool_t p)
 Set pickable state on the element and all its children.
 
virtual Bool_t SetRnrChildren (Bool_t rnr)
 Set render state of this element's children, i.e.
 
virtual Bool_t SetRnrSelf (Bool_t rnr)
 Set render state of this element, i.e.
 
virtual Bool_t SetRnrSelfChildren (Bool_t rnr_self, Bool_t rnr_children)
 Set state for rendering of this element and its children.
 
virtual Bool_t SetRnrState (Bool_t rnr)
 Set render state of this element and of its children to the same value.
 
void SetSourceObject (TObject *o)
 
virtual void SetTransMatrix (const TGeoMatrix &mat)
 Set transformation matrix from TGeo's matrix.
 
virtual void SetTransMatrix (Double_t *carr)
 Set transformation matrix from column-major array.
 
void SetUserData (void *ud)
 
void SetVizModel (TEveElement *model)
 Set visualization-parameter model element.
 
void SetVizTag (const TString &tag)
 
virtual Bool_t SingleRnrState () const
 
void SpawnEditor ()
 Show GUI editor for this object.
 
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.
 
virtual void UnSelected ()
 Virtual function called when both fSelected is false and fImpliedSelected is 0.
 
void VizDB_Apply (const char *tag)
 Set visual parameters for this object for given tag.
 
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.
 
void VizDB_Reapply ()
 Reset visual parameters for this object from VizDB.
 
void VizDB_UpdateModel (Bool_t update=kTRUE)
 Copy visual parameters from this element to viz-db model.
 
virtual void WriteVizParams (std::ostream &out, const TString &var)
 Write-out visual parameters for this object.
 
- Public Member Functions inherited from TNamed
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TNamed &named)
 TNamed copy ctor.
 
 TNamed (const TString &name, const TString &title)
 
virtual ~TNamed ()
 TNamed destructor.
 
virtual void Clear (Option_t *option="")
 Set name and title to empty strings ("").
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility.
 
virtual Int_t Compare (const TObject *obj) const
 Compare two TNamed objects.
 
virtual void Copy (TObject &named) const
 Copy this to obj.
 
virtual void FillBuffer (char *&buffer)
 Encode TNamed into output buffer.
 
virtual const char * GetName () const
 Returns name of object.
 
virtual const char * GetTitle () const
 Returns title of object.
 
virtual ULong_t Hash () const
 Return hash value for this object.
 
virtual Bool_t IsSortable () const
 
virtual void ls (Option_t *option="") const
 List TNamed name and title.
 
TNamedoperator= (const TNamed &rhs)
 TNamed assignment operator.
 
virtual void Print (Option_t *option="") const
 Print TNamed name and title.
 
virtual void SetName (const char *name)
 Set the name of the TNamed.
 
virtual void SetNameTitle (const char *name, const char *title)
 Set all the TNamed parameters (name and title).
 
virtual void SetTitle (const char *title="")
 Set the title of the TNamed.
 
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject.
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor.
 
 TObject (const TObject &object)
 TObject copy ctor.
 
virtual ~TObject ()
 TObject destructor.
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract.
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad.
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action.
 
ULong_t CheckedHash ()
 Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs.
 
virtual void Delete (Option_t *option="")
 Delete this object.
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object.
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects.
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs.
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad for instance with: gROOT->SetSelectedPad(gPad).
 
virtual void Dump () const
 Dump contents of object on stdout.
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message.
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g.
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray.
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py).
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message.
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes.
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes.
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object.
 
virtual const char * GetIconName () const
 Returns mime type name of object.
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py).
 
virtual Option_tGetOption () const
 
virtual UInt_t GetUniqueID () const
 Return the unique object id.
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out.
 
Bool_t HasInconsistentHash () const
 Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message.
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname".
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl.
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas.
 
void InvertBit (UInt_t f)
 
Bool_t IsDestructed () const
 IsDestructed.
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory).
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
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).
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification.
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete.
 
void operator delete (void *ptr)
 Operator delete.
 
void operator delete[] (void *ptr)
 Operator delete [].
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator.
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list.
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory.
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list.
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename.
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out".
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f.
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object.
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id.
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message.
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked.
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message.
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory.
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory.
 
- Public Member Functions inherited from TAtt3D
 TAtt3D ()
 
virtual ~TAtt3D ()
 
virtual void Sizeof3D () const
 Set total size of this 3D object (used by X3D interface).
 
- Public Member Functions inherited from TAttBBox
 TAttBBox ()
 
virtual ~TAttBBox ()
 
Float_tAssertBBox ()
 
Float_tGetBBox ()
 
Bool_t GetBBoxOK () const
 
TAttBBoxoperator= (const TAttBBox &tab)
 
void ResetBBox ()
 
void SetupBBoxCube (Float_t extent, Float_t x, Float_t y, Float_t z)
 Setup bounding box as cube with given extent and center position.
 
- Public Member Functions inherited from TEveProjectable
 TEveProjectable ()
 Constructor.
 
virtual ~TEveProjectable ()
 Destructor.
 
virtual void AddProjected (TEveProjected *p)
 
virtual void AddProjectedsToSet (std::set< TEveElement * > &set)
 Add the projected elements to the set, dyn-casting them to TEveElement.
 
virtual void AnnihilateProjecteds ()
 Optimized destroy of projected elements with condition there is only one parent for projected element.
 
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.
 
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.
 
virtual void PropagateRenderState (Bool_t rnr_self, Bool_t rnr_children)
 Set render state of projecteds.
 
virtual void PropagateVizParams (TEveElement *el=0)
 Set visualization parameters of projecteds.
 
virtual void RemoveProjected (TEveProjected *p)
 

Protected Member Functions

virtual void BuildCellIdCache ()
 Build list of drawn cell IDs. For more information see TEveCaloLegoGL:DirectDraw().
 
- Protected Member Functions inherited from TEveCaloViz
void AssignCaloVizParameters (TEveCaloViz *cv)
 Assign parameters from given model.
 
void SetupColorHeight (Float_t value, Int_t slice, Float_t &height) const
 Set color and height for a given value and slice using slice color or TEveRGBAPalette.
 
- Protected Member Functions inherited from TEveElement
virtual void AnnihilateRecursively ()
 Protected member function called from TEveElement::Annihilate().
 
virtual void PreDeleteElement ()
 Externally assigned and controlled user data.
 
virtual void RemoveElementsInternal ()
 Remove all elements.
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected).
 
void MakeZombie ()
 
- Protected Member Functions inherited from TAttBBox
 TAttBBox (const TAttBBox &tab)
 
void AssertBBoxExtents (Float_t epsilon=0.005)
 Assert extents of all sides of the bounding-box are at least epsilon.
 
void BBoxCheckPoint (const Float_t *p)
 
void BBoxCheckPoint (Float_t x, Float_t y, Float_t z)
 
void BBoxClear ()
 Remove BBox information.
 
void BBoxInit (Float_t infinity=1e6)
 Dynamic Float_t[6] X(min,max), Y(min,max), Z(min,max)
 
void BBoxZero (Float_t epsilon=0, Float_t x=0, Float_t y=0, Float_t z=0)
 Create cube of volume (2*epsilon)^3 at (x,y,z).
 

Protected Attributes

E2DMode_e f2DMode
 
Bool_t fAutoRebin
 
EBoxMode_e fBoxMode
 
TEveCaloData::vCellId_t fCellList
 
Int_t fCellPixelFontSize
 
Bool_t fDrawHPlane
 
Int_t fDrawNumberCellPixels
 
Float_t fFixedHeightValIn2DMode
 
Color_t fFontColor
 
Color_t fGridColor
 
Bool_t fHasFixedHeightIn2DMode
 
Float_t fHPlaneVal
 
Bool_t fNormalizeRebin
 
Int_t fNZSteps
 
Int_t fPixelsPerBin
 
Color_t fPlaneColor
 
Char_t fPlaneTransparency
 
EProjection_e fProjection
 
Float_t fZAxisStep
 
- Protected Attributes inherited from TEveCaloViz
Bool_t fAutoRange
 
Float_t fBarrelRadius
 
Bool_t fCellIdCacheOK
 
TEveCaloDatafData
 
Float_t fEndCapPosB
 
Float_t fEndCapPosF
 
Double_t fEtaMax
 
Double_t fEtaMin
 
Float_t fMaxTowerH
 
Float_t fMaxValAbs
 
TEveRGBAPalettefPalette
 
Double_t fPhi
 
Double_t fPhiOffset
 
Float_t fPlotEt
 
Bool_t fScaleAbs
 
Bool_t fValueIsColor
 
- 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.
 
Bool_t fDestroyOnZeroRefCnt
 Deny-destroy count.
 
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.
 
Int_t fTopItemCnt
 Counter for parents that are ignored in ref-counting.
 
voidfUserData
 
TEveElementfVizModel
 
TString fVizTag
 Element used as model from VizDB.
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 
- Protected Attributes inherited from TAttBBox
Float_tfBBox
 
- Protected Attributes inherited from TEveProjectable
ProjList_t fProjectedList
 

Private Member Functions

 TEveCaloLego (const TEveCaloLego &)=delete
 
TEveCaloLegooperator= (const TEveCaloLego &)=delete
 

Friends

class TEveCaloLegoGL
 
class TEveCaloLegoOverlay
 

Additional Inherited Members

- Static Public Member Functions inherited from TObject
static Longptr_t GetDtorOnly ()
 Return destructor only flag.
 
static Bool_t GetObjectStat ()
 Get status of object stat flag.
 
static void SetDtorOnly (void *obj)
 Set destructor only flag.
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable.
 
- Static Public Attributes inherited from TEveElement
static const TGPicturefgListTreeIcons [9] = { 0 }
 
static const TGPicturefgRnrIcons [4] = { 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 }
 
- Protected Types inherited from TObject
enum  { kOnlyPrepStep = BIT(3) }
 
- Static Protected Member Functions inherited from TEveElement
static const char * ToString (Bool_t b)
 Convert Bool_t to string - kTRUE or kFALSE.
 

#include <TEveCalo.h>

Inheritance diagram for TEveCaloLego:
[legend]

Member Enumeration Documentation

◆ E2DMode_e

Enumerator
kValColor 
kValSize 
kValSizeOutline 

Definition at line 257 of file TEveCalo.h.

◆ EBoxMode_e

Enumerator
kNone 
kFrontBack 
kBack 

Definition at line 258 of file TEveCalo.h.

◆ EProjection_e

Enumerator
kAuto 
k3D 
k2D 

Definition at line 256 of file TEveCalo.h.

Constructor & Destructor Documentation

◆ TEveCaloLego() [1/2]

TEveCaloLego::TEveCaloLego ( const TEveCaloLego )
privatedelete

◆ TEveCaloLego() [2/2]

TEveCaloLego::TEveCaloLego ( TEveCaloData data = 0,
const char *  n = "TEveCaloLego",
const char *  t = "" 
)

Constructor.

Definition at line 781 of file TEveCalo.cxx.

◆ ~TEveCaloLego()

virtual TEveCaloLego::~TEveCaloLego ( )
inlinevirtual

Definition at line 296 of file TEveCalo.h.

Member Function Documentation

◆ BuildCellIdCache()

void TEveCaloLego::BuildCellIdCache ( )
protectedvirtual

Build list of drawn cell IDs. For more information see TEveCaloLegoGL:DirectDraw().

Implements TEveCaloViz.

Definition at line 825 of file TEveCalo.cxx.

◆ ComputeBBox()

void TEveCaloLego::ComputeBBox ( )
virtual

Fill bounding-box information of the base-class TAttBBox (virtual method).

If member 'TEveFrameBox* fFrame' is set, frame's corners are used as bbox.

Implements TAttBBox.

Definition at line 837 of file TEveCalo.cxx.

◆ Get2DMode()

E2DMode_e TEveCaloLego::Get2DMode ( )
inline

Definition at line 329 of file TEveCalo.h.

◆ GetAutoRebin()

Bool_t TEveCaloLego::GetAutoRebin ( ) const
inline

Definition at line 319 of file TEveCalo.h.

◆ GetBoxMode()

EBoxMode_e TEveCaloLego::GetBoxMode ( )
inline

Definition at line 338 of file TEveCalo.h.

◆ GetCellPixelFontSize()

Int_t TEveCaloLego::GetCellPixelFontSize ( )
inline

Definition at line 348 of file TEveCalo.h.

◆ GetDrawHPlane()

Bool_t TEveCaloLego::GetDrawHPlane ( ) const
inline

Definition at line 340 of file TEveCalo.h.

◆ GetDrawNumberCellPixels()

Int_t TEveCaloLego::GetDrawNumberCellPixels ( )
inline

Definition at line 346 of file TEveCalo.h.

◆ GetFixedHeightValIn2DMode()

float TEveCaloLego::GetFixedHeightValIn2DMode ( ) const
inline

Definition at line 334 of file TEveCalo.h.

◆ GetFontColor()

Color_t TEveCaloLego::GetFontColor ( ) const
inline

Definition at line 301 of file TEveCalo.h.

◆ GetGridColor()

Color_t TEveCaloLego::GetGridColor ( ) const
inline

Definition at line 304 of file TEveCalo.h.

◆ GetHasFixedHeightIn2DMode()

bool TEveCaloLego::GetHasFixedHeightIn2DMode ( ) const
inline

Definition at line 331 of file TEveCalo.h.

◆ GetHPlaneVal()

Float_t TEveCaloLego::GetHPlaneVal ( ) const
inline

Definition at line 343 of file TEveCalo.h.

◆ GetNormalizeRebin()

Bool_t TEveCaloLego::GetNormalizeRebin ( ) const
inline

Definition at line 322 of file TEveCalo.h.

◆ GetNZSteps()

Int_t TEveCaloLego::GetNZSteps ( ) const
inline

Definition at line 313 of file TEveCalo.h.

◆ GetPixelsPerBin()

Int_t TEveCaloLego::GetPixelsPerBin ( ) const
inline

Definition at line 316 of file TEveCalo.h.

◆ GetPlaneColor()

Color_t TEveCaloLego::GetPlaneColor ( ) const
inline

Definition at line 307 of file TEveCalo.h.

◆ GetPlaneTransparency()

Char_t TEveCaloLego::GetPlaneTransparency ( ) const
inline

Definition at line 310 of file TEveCalo.h.

◆ GetProjection()

EProjection_e TEveCaloLego::GetProjection ( ) const
inline

Definition at line 325 of file TEveCalo.h.

◆ operator=()

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

◆ Set2DMode()

void TEveCaloLego::Set2DMode ( E2DMode_e  p)
inline

Definition at line 328 of file TEveCalo.h.

◆ SetAutoRebin()

void TEveCaloLego::SetAutoRebin ( Bool_t  s)
inline

Definition at line 320 of file TEveCalo.h.

◆ SetBoxMode()

void TEveCaloLego::SetBoxMode ( EBoxMode_e  p)
inline

Definition at line 337 of file TEveCalo.h.

◆ SetCellPixelFontSize()

void TEveCaloLego::SetCellPixelFontSize ( Int_t  x)
inline

Definition at line 349 of file TEveCalo.h.

◆ SetData()

void TEveCaloLego::SetData ( TEveCaloData d)
virtual

Definition at line 817 of file TEveCalo.cxx.

◆ SetDrawHPlane()

void TEveCaloLego::SetDrawHPlane ( Bool_t  s)
inline

Definition at line 341 of file TEveCalo.h.

◆ SetDrawNumberCellPixels()

void TEveCaloLego::SetDrawNumberCellPixels ( Int_t  x)
inline

Definition at line 347 of file TEveCalo.h.

◆ SetFixedHeightValIn2DMode()

void TEveCaloLego::SetFixedHeightValIn2DMode ( float  x)
inline

Definition at line 335 of file TEveCalo.h.

◆ SetFontColor()

void TEveCaloLego::SetFontColor ( Color_t  ci)
inline

Definition at line 302 of file TEveCalo.h.

◆ SetGridColor()

void TEveCaloLego::SetGridColor ( Color_t  ci)
inline

Definition at line 305 of file TEveCalo.h.

◆ SetHasFixedHeightIn2DMode()

void TEveCaloLego::SetHasFixedHeightIn2DMode ( bool  x)
inline

Definition at line 332 of file TEveCalo.h.

◆ SetHPlaneVal()

void TEveCaloLego::SetHPlaneVal ( Float_t  s)
inline

Definition at line 344 of file TEveCalo.h.

◆ SetNormalizeRebin()

void TEveCaloLego::SetNormalizeRebin ( Bool_t  s)
inline

Definition at line 323 of file TEveCalo.h.

◆ SetNZSteps()

void TEveCaloLego::SetNZSteps ( Int_t  s)
inline

Definition at line 314 of file TEveCalo.h.

◆ SetPixelsPerBin()

void TEveCaloLego::SetPixelsPerBin ( Int_t  bw)
inline

Definition at line 317 of file TEveCalo.h.

◆ SetPlaneColor()

void TEveCaloLego::SetPlaneColor ( Color_t  ci)
inline

Definition at line 308 of file TEveCalo.h.

◆ SetPlaneTransparency()

void TEveCaloLego::SetPlaneTransparency ( Char_t  t)
inline

Definition at line 311 of file TEveCalo.h.

◆ SetProjection()

void TEveCaloLego::SetProjection ( EProjection_e  p)
inline

Definition at line 326 of file TEveCalo.h.

Friends And Related Symbol Documentation

◆ TEveCaloLegoGL

friend class TEveCaloLegoGL
friend

Definition at line 252 of file TEveCalo.h.

◆ TEveCaloLegoOverlay

friend class TEveCaloLegoOverlay
friend

Definition at line 253 of file TEveCalo.h.

Member Data Documentation

◆ f2DMode

E2DMode_e TEveCaloLego::f2DMode
protected

Definition at line 280 of file TEveCalo.h.

◆ fAutoRebin

Bool_t TEveCaloLego::fAutoRebin
protected

Definition at line 275 of file TEveCalo.h.

◆ fBoxMode

EBoxMode_e TEveCaloLego::fBoxMode
protected

Definition at line 281 of file TEveCalo.h.

◆ fCellList

TEveCaloData::vCellId_t TEveCaloLego::fCellList
protected

Definition at line 265 of file TEveCalo.h.

◆ fCellPixelFontSize

Int_t TEveCaloLego::fCellPixelFontSize
protected

Definition at line 290 of file TEveCalo.h.

◆ fDrawHPlane

Bool_t TEveCaloLego::fDrawHPlane
protected

Definition at line 283 of file TEveCalo.h.

◆ fDrawNumberCellPixels

Int_t TEveCaloLego::fDrawNumberCellPixels
protected

Definition at line 289 of file TEveCalo.h.

◆ fFixedHeightValIn2DMode

Float_t TEveCaloLego::fFixedHeightValIn2DMode
protected

Definition at line 287 of file TEveCalo.h.

◆ fFontColor

Color_t TEveCaloLego::fFontColor
protected

Definition at line 267 of file TEveCalo.h.

◆ fGridColor

Color_t TEveCaloLego::fGridColor
protected

Definition at line 268 of file TEveCalo.h.

◆ fHasFixedHeightIn2DMode

Bool_t TEveCaloLego::fHasFixedHeightIn2DMode
protected

Definition at line 286 of file TEveCalo.h.

◆ fHPlaneVal

Float_t TEveCaloLego::fHPlaneVal
protected

Definition at line 284 of file TEveCalo.h.

◆ fNormalizeRebin

Bool_t TEveCaloLego::fNormalizeRebin
protected

Definition at line 277 of file TEveCalo.h.

◆ fNZSteps

Int_t TEveCaloLego::fNZSteps
protected

Definition at line 272 of file TEveCalo.h.

◆ fPixelsPerBin

Int_t TEveCaloLego::fPixelsPerBin
protected

Definition at line 276 of file TEveCalo.h.

◆ fPlaneColor

Color_t TEveCaloLego::fPlaneColor
protected

Definition at line 269 of file TEveCalo.h.

◆ fPlaneTransparency

Char_t TEveCaloLego::fPlaneTransparency
protected

Definition at line 270 of file TEveCalo.h.

◆ fProjection

EProjection_e TEveCaloLego::fProjection
protected

Definition at line 279 of file TEveCalo.h.

◆ fZAxisStep

Float_t TEveCaloLego::fZAxisStep
protected

Definition at line 273 of file TEveCalo.h.

Libraries for TEveCaloLego:

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