Base class for calorimeter data visualization.
See TEveCalo2D and TEveCalo3D for concrete implementations.
Definition at line 26 of file TEveCalo.h.
Public Member Functions | |
TEveCaloViz (TEveCaloData *data=0, const char *n="TEveCaloViz", const char *t="") | |
virtual | ~TEveCaloViz () |
Destructor. More... | |
Bool_t | AssertCellIdCache () const |
Assert cell id cache is ok. More... | |
TEveRGBAPalette * | AssertPalette () |
Make sure the TEveRGBAPalette pointer is not null. More... | |
Bool_t | CellInEtaPhiRng (TEveCaloData::CellData_t &) const |
Returns true if given cell is in the ceta phi range. More... | |
virtual void | CellSelectionChanged () |
void | DataChanged () |
Update setting and cache on data changed. More... | |
virtual TEveElement * | ForwardEdit () |
Management of selection state and ownership of selected cell list is done in TEveCaloData. More... | |
virtual TEveElement * | ForwardSelection () |
Management of selection state and ownership of selected cell list is done in TEveCaloData. More... | |
Bool_t | GetAutoRange () const |
Float_t | GetBackwardEndCapPos () const |
Float_t | GetBarrelRadius () const |
TEveCaloData * | GetData () const |
Color_t | GetDataSliceColor (Int_t slice) const |
Get slice color from data. More... | |
Float_t | GetDataSliceThreshold (Int_t slice) const |
Get threshold for given slice. More... | |
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 |
TEveRGBAPalette * | GetPalette () 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. More... | |
Float_t | GetTransitionEtaBackward () const |
Get transition eta between barrel and backward end-cap cells. More... | |
Float_t | GetTransitionEtaForward () const |
Get transition eta between barrel and forward end-cap cells. More... | |
Float_t | GetTransitionTheta () const |
Get transition angle between barrel and end-cap cells, assuming fEndCapPosF = -fEndCapPosB. More... | |
Float_t | GetTransitionThetaBackward () const |
Get transition angle between barrel and backward end-cap cells. More... | |
Float_t | GetTransitionThetaForward () const |
Get transition angle between barrel and forward end-cap cells. More... | |
virtual Float_t | GetValToHeight () const |
Get transformation factor from E/Et to height. More... | |
Bool_t | GetValueIsColor () const |
void | InvalidateCellIdCache () |
virtual void | Paint (Option_t *option="") |
Paint this object. Only direct rendering is supported. More... | |
virtual TClass * | ProjectedClass (const TEveProjection *p) const |
Virtual from TEveProjectable, returns TEveCalo2D class. More... | |
void | SetAutoRange (Bool_t x) |
void | SetBackwardEndCapPos (Float_t z) |
void | SetBarrelRadius (Float_t r) |
void | SetData (TEveCaloData *d) |
Set calorimeter event data. More... | |
void | SetDataSliceColor (Int_t slice, Color_t col) |
Set slice color in data. More... | |
void | SetDataSliceThreshold (Int_t slice, Float_t val) |
Set threshold for given slice. More... | |
void | SetEndCapPos (Float_t z) |
void | SetEta (Float_t l, Float_t u) |
Set eta range. More... | |
void | SetForwardEndCapPos (Float_t z) |
void | SetMaxTowerH (Float_t x) |
void | SetMaxValAbs (Float_t x) |
void | SetPalette (TEveRGBAPalette *p) |
Set TEveRGBAPalette object pointer. More... | |
void | SetPhi (Float_t phi) |
void | SetPhiRng (Float_t rng) |
void | SetPhiWithRng (Float_t x, Float_t r) |
Set phi range. More... | |
void | SetPlotEt (Bool_t x) |
Set E/Et plot. More... | |
virtual void | SetScaleAbs (Bool_t x) |
void | SetValueIsColor (Bool_t x) |
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 Bool_t | AcceptElement (TEveElement *el) |
Check if el can be added to this element. More... | |
virtual void | AddElement (TEveElement *el) |
Add el to the list of children. More... | |
virtual TGListTreeItem * | AddIntoListTree (TGListTree *ltree, TEveElement *parent) |
Add this render element into ltree to all items belonging to parent. More... | |
virtual TGListTreeItem * | AddIntoListTree (TGListTree *ltree, TGListTreeItem *parent_lti) |
Add this element into ltree to an already existing item parent_lti. More... | |
virtual TGListTreeItem * | AddIntoListTrees (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 | CheckReferenceCount (const TEveException &eh="TEveElement::CheckReferenceCount ") |
Check external references to this and eventually auto-destruct the render-element. More... | |
virtual void | ClearStamps () |
virtual void | CloneChildrenRecurse (TEveElement *dest, Int_t level=0) const |
Clone children and attach them to the dest element. More... | |
virtual TEveElement * | CloneElement () const |
Clone the element via copy constructor. More... | |
virtual TEveElement * | CloneElementRecurse (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... | |
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... | |
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... | |
TEveElement * | FindChild (const TString &name, const TClass *cls=0) |
Find the first child with given name. More... | |
TEveElement * | FindChild (TPRegexp ®exp, 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 ®exp, 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 TGListTreeItem * | FindListTreeItem (TGListTree *ltree) |
Find any list-tree-item of this element in list-tree 'ltree'. More... | |
virtual TGListTreeItem * | FindListTreeItem (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... | |
TEveElement * | FirstChild () const |
Returns the first child element or 0 if the list is empty. More... | |
virtual TEveElement * | ForwardEdit () |
Returns element to be displayed in GUI editor on click. More... | |
virtual TEveElement * | ForwardSelection () |
Returns element to be selected on click. More... | |
UChar_t | GetChangeBits () const |
TEveCompound * | GetCompound () |
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 TObject * | GetEditorObject (const TEveException &eh) 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 TString | GetHighlightTooltip () |
virtual const TGPicture * | GetListTreeCheckBoxIcon () |
Returns list-tree-item check-box picture appropriate for given rendering state. More... | |
virtual const TGPicture * | GetListTreeIcon (Bool_t open=kFALSE) |
Returns pointer to first listtreeicon. More... | |
virtual Color_t | GetMainColor () const |
Color_t * | GetMainColorPtr () const |
virtual Char_t | GetMainTransparency () const |
TEveElement * | GetMaster () |
Returns the master element - that is: More... | |
virtual Int_t | GetNItems () const |
virtual TObject * | GetObject (const TEveException &eh) const |
Get a TObject associated with this render-element. More... | |
Int_t | GetParentIgnoreCnt () const |
Get number of parents that should be ignored in doing reference-counting. More... | |
virtual TObject * | GetRenderObject (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... | |
TRef & | GetSource () |
TObject * | GetSourceObject () const |
void * | GetUserData () const |
TEveElement * | GetVizModel () const |
const TString & | GetVizTag () 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 |
TEveElement * | LastChild () 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 TEveTrans * | PtrMainTrans (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_t & | RefChildren () const |
virtual TEveTrans & | RefMainTrans () |
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) |
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... | |
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 (Float_t r, Float_t g, Float_t b) |
Convert RGB values 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... | |
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 (const TGeoMatrix &mat) |
Set transformation matrix from TGeo's matrix. More... | |
virtual void | SetTransMatrix (Double_t *carr) |
Set transformation matrix from column-major array. 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 TNamed &named) | |
TNamed copy ctor. More... | |
TNamed (const TString &name, const TString &title) | |
virtual | ~TNamed () |
TNamed destructor. More... | |
virtual void | Clear (Option_t *option="") |
Set name and title to empty strings (""). More... | |
virtual TObject * | Clone (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... | |
TNamed & | operator= (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 () |
Check and record whether 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 | Clear (Option_t *="") |
virtual TObject * | Clone (const char *newname="") const |
Make a clone of an object using the Streamer facility. More... | |
virtual Int_t | Compare (const TObject *obj) const |
Compare abstract method. More... | |
virtual void | Copy (TObject &object) const |
Copy this to obj. More... | |
virtual void | Delete (Option_t *option="") |
Delete this object. More... | |
virtual 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 TObject * | DrawClone (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 TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. More... | |
virtual TObject * | FindObject (const TObject *obj) const |
Must be redefined in derived classes. More... | |
virtual Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. More... | |
virtual const char * | GetIconName () const |
Returns mime type name of object. More... | |
virtual const char * | GetName () const |
Returns 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_t * | GetOption () const |
virtual const char * | GetTitle () const |
Returns title of object. More... | |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. More... | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. More... | |
virtual ULong_t | Hash () const |
Return hash value for this object. More... | |
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 |
virtual Bool_t | IsSortable () const |
R__ALWAYS_INLINE Bool_t | IsZombie () const |
virtual void | ls (Option_t *option="") const |
The ls function lists the contents of a class on stdout. More... | |
void | MayNotUse (const char *method) const |
Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More... | |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification. More... | |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
Use this method to declare a method obsolete. More... | |
void | operator delete (void *ptr) |
Operator delete. More... | |
void | operator delete[] (void *ptr) |
Operator delete []. More... | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (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 void | Print (Option_t *option="") const |
This method must be overridden when a class wants to print itself. 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) |
void | SetBit (UInt_t f, Bool_t set) |
Set or unset the user status bits as specified in f. 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 | 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 TAtt3D | |
TAtt3D () | |
virtual | ~TAtt3D () |
virtual void | Sizeof3D () const |
Set total size of this 3D object (used by X3D interface). More... | |
Public Member Functions inherited from TAttBBox | |
TAttBBox () | |
virtual | ~TAttBBox () |
Float_t * | AssertBBox () |
virtual void | ComputeBBox ()=0 |
Float_t * | GetBBox () |
Bool_t | GetBBoxOK () const |
TAttBBox & | operator= (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. 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 TClass * | ProjectedClass (const TEveProjection *p) const =0 |
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) |
Protected Member Functions | |
void | AssignCaloVizParameters (TEveCaloViz *cv) |
Assign parameters from given model. More... | |
virtual void | BuildCellIdCache ()=0 |
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. 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 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. More... | |
void | BBoxCheckPoint (const Float_t *p) |
void | BBoxCheckPoint (Float_t x, Float_t y, Float_t z) |
void | BBoxClear () |
Remove BBox information. More... | |
void | BBoxInit (Float_t infinity=1e6) |
Dynamic Float_t[6] X(min,max), Y(min,max), Z(min,max) More... | |
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). More... | |
Private Member Functions | |
TEveCaloViz (const TEveCaloViz &) | |
TEveCaloViz & | operator= (const TEveCaloViz &) |
Friends | |
class | TEveCaloVizEditor |
Additional Inherited Members | |
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< TEveListTreeInfo > | sLTI_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 |
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 inherited from TEveElement | |
static const TGPicture * | fgListTreeIcons [9] = { 0 } |
static const TGPicture * | fgRnrIcons [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 } |
Static Protected Member Functions inherited from TEveElement | |
static const char * | ToString (Bool_t b) |
Convert Bool_t to string - kTRUE or kFALSE. More... | |
#include <TEveCalo.h>
|
private |
TEveCaloViz::TEveCaloViz | ( | TEveCaloData * | data = 0 , |
const char * | n = "TEveCaloViz" , |
||
const char * | t = "" |
||
) |
Definition at line 39 of file TEveCalo.cxx.
|
virtual |
Destructor.
Definition at line 78 of file TEveCalo.cxx.
Bool_t TEveCaloViz::AssertCellIdCache | ( | ) | const |
Assert cell id cache is ok.
Returns true if the cache has been updated.
Definition at line 293 of file TEveCalo.cxx.
TEveRGBAPalette * TEveCaloViz::AssertPalette | ( | ) |
Make sure the TEveRGBAPalette pointer is not null.
If it is not set, a new one is instantiated and the range is set to current min/max signal values.
Definition at line 378 of file TEveCalo.cxx.
|
protected |
Assign parameters from given model.
Definition at line 321 of file TEveCalo.cxx.
|
protectedpure virtual |
Implemented in TEveCalo3D, TEveCalo2D, and TEveCaloLego.
Bool_t TEveCaloViz::CellInEtaPhiRng | ( | TEveCaloData::CellData_t & | cellData | ) | const |
Returns true if given cell is in the ceta phi range.
Definition at line 307 of file TEveCalo.cxx.
|
inlinevirtual |
Reimplemented in TEveCalo2D.
Definition at line 82 of file TEveCalo.h.
void TEveCaloViz::DataChanged | ( | ) |
Update setting and cache on data changed.
Called from TEvecaloData::BroadcastDataChange()
Definition at line 256 of file TEveCalo.cxx.
|
virtual |
Management of selection state and ownership of selected cell list is done in TEveCaloData.
We still want GUI editor to display concrete calo-viz object.
Reimplemented from TEveElement.
Definition at line 105 of file TEveCalo.cxx.
|
virtual |
Management of selection state and ownership of selected cell list is done in TEveCaloData.
This is a reason selection is forwarded to it.
Reimplemented from TEveElement.
Definition at line 95 of file TEveCalo.cxx.
|
inline |
Definition at line 131 of file TEveCalo.h.
|
inline |
Definition at line 103 of file TEveCalo.h.
|
inline |
Definition at line 99 of file TEveCalo.h.
|
inline |
Definition at line 86 of file TEveCalo.h.
Get slice color from data.
Definition at line 121 of file TEveCalo.cxx.
Get threshold for given slice.
Definition at line 86 of file TEveCalo.cxx.
|
inline |
Definition at line 101 of file TEveCalo.h.
|
inline |
Definition at line 135 of file TEveCalo.h.
|
inline |
Definition at line 137 of file TEveCalo.h.
|
inline |
Definition at line 136 of file TEveCalo.h.
|
inline |
Definition at line 138 of file TEveCalo.h.
|
inline |
Definition at line 102 of file TEveCalo.h.
|
inline |
Definition at line 112 of file TEveCalo.h.
Float_t TEveCaloViz::GetMaxVal | ( | ) | const |
Definition at line 159 of file TEveCalo.cxx.
|
inline |
Definition at line 115 of file TEveCalo.h.
|
inline |
Definition at line 124 of file TEveCalo.h.
|
inline |
Definition at line 143 of file TEveCalo.h.
|
inline |
Definition at line 145 of file TEveCalo.h.
|
inline |
Definition at line 144 of file TEveCalo.h.
|
inline |
Definition at line 146 of file TEveCalo.h.
|
inline |
Definition at line 108 of file TEveCalo.h.
|
inline |
Definition at line 113 of file TEveCalo.h.
Float_t TEveCaloViz::GetTransitionEta | ( | ) | const |
Get transition eta between barrel and end-cap cells, assuming fEndCapPosF = -fEndCapPosB.
Definition at line 191 of file TEveCalo.cxx.
Float_t TEveCaloViz::GetTransitionEtaBackward | ( | ) | const |
Get transition eta between barrel and backward end-cap cells.
Definition at line 227 of file TEveCalo.cxx.
Float_t TEveCaloViz::GetTransitionEtaForward | ( | ) | const |
Get transition eta between barrel and forward end-cap cells.
Definition at line 209 of file TEveCalo.cxx.
Float_t TEveCaloViz::GetTransitionTheta | ( | ) | const |
Get transition angle between barrel and end-cap cells, assuming fEndCapPosF = -fEndCapPosB.
Definition at line 183 of file TEveCalo.cxx.
Float_t TEveCaloViz::GetTransitionThetaBackward | ( | ) | const |
Get transition angle between barrel and backward end-cap cells.
Definition at line 219 of file TEveCalo.cxx.
Float_t TEveCaloViz::GetTransitionThetaForward | ( | ) | const |
Get transition angle between barrel and forward end-cap cells.
Definition at line 201 of file TEveCalo.cxx.
|
virtual |
Get transformation factor from E/Et to height.
Reimplemented in TEveCalo2D.
Definition at line 358 of file TEveCalo.cxx.
|
inline |
Definition at line 128 of file TEveCalo.h.
|
inline |
Definition at line 92 of file TEveCalo.h.
|
private |
Paint this object. Only direct rendering is supported.
Reimplemented from TObject.
Definition at line 396 of file TEveCalo.cxx.
|
virtual |
Virtual from TEveProjectable, returns TEveCalo2D class.
Implements TEveProjectable.
Definition at line 407 of file TEveCalo.cxx.
Definition at line 132 of file TEveCalo.h.
Definition at line 106 of file TEveCalo.h.
Definition at line 100 of file TEveCalo.h.
void TEveCaloViz::SetData | ( | TEveCaloData * | d | ) |
Set calorimeter event data.
Definition at line 239 of file TEveCalo.cxx.
Set slice color in data.
Definition at line 129 of file TEveCalo.cxx.
Set threshold for given slice.
Definition at line 113 of file TEveCalo.cxx.
Definition at line 104 of file TEveCalo.h.
Set eta range.
Definition at line 137 of file TEveCalo.cxx.
Definition at line 105 of file TEveCalo.h.
Definition at line 111 of file TEveCalo.h.
Definition at line 114 of file TEveCalo.h.
void TEveCaloViz::SetPalette | ( | TEveRGBAPalette * | p | ) |
Set TEveRGBAPalette object pointer.
Definition at line 347 of file TEveCalo.cxx.
Definition at line 140 of file TEveCalo.h.
Definition at line 141 of file TEveCalo.h.
Set phi range.
Definition at line 170 of file TEveCalo.cxx.
Set E/Et plot.
Definition at line 148 of file TEveCalo.cxx.
Reimplemented in TEveCalo2D.
Definition at line 84 of file TEveCalo.h.
Set color and height for a given value and slice using slice color or TEveRGBAPalette.
Definition at line 415 of file TEveCalo.cxx.
Definition at line 129 of file TEveCalo.h.
|
friend |
Definition at line 32 of file TEveCalo.h.
|
protected |
Definition at line 48 of file TEveCalo.h.
|
protected |
Definition at line 50 of file TEveCalo.h.
|
protected |
Definition at line 40 of file TEveCalo.h.
|
protected |
Definition at line 39 of file TEveCalo.h.
|
protected |
Definition at line 52 of file TEveCalo.h.
|
protected |
Definition at line 51 of file TEveCalo.h.
|
protected |
Definition at line 43 of file TEveCalo.h.
|
protected |
Definition at line 42 of file TEveCalo.h.
|
protected |
Definition at line 56 of file TEveCalo.h.
|
protected |
Definition at line 58 of file TEveCalo.h.
|
protected |
Definition at line 61 of file TEveCalo.h.
|
protected |
Definition at line 45 of file TEveCalo.h.
|
protected |
Definition at line 46 of file TEveCalo.h.
|
protected |
Definition at line 54 of file TEveCalo.h.
|
protected |
Definition at line 57 of file TEveCalo.h.
|
protected |
Definition at line 60 of file TEveCalo.h.