Logo ROOT  
Reference Guide
ROOT::Experimental::REveCalo3D Class Reference

Definition at line 155 of file REveCalo.hxx.

Public Member Functions

 REveCalo3D (REveCaloData *d=0, const char *n="REveCalo3D", const char *t="")
 Constructor. More...
 
virtual ~REveCalo3D ()
  More...
 
void BuildRenderData () override
 Crates 3D point array for rendering. More...
 
void ComputeBBox () override
 Fill bounding-box information of the base-class TAttBBox (virtual method). More...
 
Char_t GetFrameTransparency () const
  More...
 
Float_t GetFrameWidth () const
  More...
 
Bool_t GetRnrBarrelFrame () const
  More...
 
Bool_t GetRnrEndCapFrame () const
  More...
 
void GetRnrFrame (Bool_t &e, Bool_t &b) const
  More...
 
void NewTowerPicked (Int_t tower, Int_t slice, Int_t selectionId, Bool_t multi)
 Client selection callback. More...
 
void SetFrameTransparency (Char_t x)
  More...
 
void SetFrameWidth (Float_t w)
  More...
 
void SetRnrBarrelFrame (Bool_t r)
  More...
 
void SetRnrEndCapFrame (Bool_t r)
  More...
 
void SetRnrFrame (Bool_t e, Bool_t b)
  More...
 
Int_t WriteCoreJson (nlohmann::json &j, Int_t rnr_offset) override
 Fill core part of JSON representation. More...
 
void WriteCoreJsonSelection (nlohmann::json &j, REveCaloData::vCellId_t) override
 Fill core part of JSON representation for selection. More...
 
- Public Member Functions inherited from ROOT::Experimental::REveCaloViz
 REveCaloViz (REveCaloData *data=0, const char *n="REveCaloViz", const char *t="")
  More...
 
virtual ~REveCaloViz ()
 Destructor. More...
 
Bool_t AssertCellIdCache () const
 Assert cell id cache is ok. More...
 
REveRGBAPaletteAssertPalette ()
 Make sure the REveRGBAPalette pointer is not null. More...
 
Bool_t CellInEtaPhiRng (REveCaloData::CellData_t &) const
 Returns true if given cell is in the ceta phi range. More...
 
void DataChanged ()
 Update setting and cache on data changed. More...
 
virtual REveElementForwardEdit ()
 Management of selection state and ownership of selected cell list is done in REveCaloData. More...
 
virtual REveElementForwardSelection ()
 Management of selection state and ownership of selected cell list is done in REveCaloData. More...
 
Bool_t GetAutoRange () const
  More...
 
Float_t GetBackwardEndCapPos () const
  More...
 
Float_t GetBarrelRadius () const
  More...
 
REveCaloDataGetData () const
  More...
 
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
  More...
 
Float_t GetEta () const
  More...
 
Float_t GetEtaMax () const
  More...
 
Float_t GetEtaMin () const
  More...
 
Float_t GetEtaRng () const
  More...
 
Float_t GetForwardEndCapPos () const
  More...
 
Float_t GetMaxTowerH () const
  More...
 
Float_t GetMaxVal () const
  More...
 
Float_t GetMaxValAbs () const
  More...
 
REveRGBAPaletteGetPalette () const
  More...
 
Float_t GetPhi () const
  More...
 
Float_t GetPhiMax () const
  More...
 
Float_t GetPhiMin () const
  More...
 
Float_t GetPhiRng () const
  More...
 
Bool_t GetPlotEt () const
  More...
 
Bool_t GetScaleAbs () const
  More...
 
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
  More...
 
void InvalidateCellIdCache ()
  More...
 
TClassProjectedClass (const REveProjection *p) const override
 Virtual from REveProjectable, returns REveCalo2D class. More...
 
void SetAutoRange (Bool_t x)
  More...
 
void SetBackwardEndCapPos (Float_t z)
  More...
 
void SetBarrelRadius (Float_t r)
  More...
 
void SetData (REveCaloData *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)
  More...
 
void SetEta (Float_t l, Float_t u)
 Set eta range. More...
 
void SetForwardEndCapPos (Float_t z)
  More...
 
void SetMaxTowerH (Float_t x)
  More...
 
void SetMaxValAbs (Float_t x)
  More...
 
void SetPalette (REveRGBAPalette *p)
 Set REveRGBAPalette object pointer. More...
 
void SetPhi (Float_t phi)
  More...
 
void SetPhiRng (Float_t rng)
  More...
 
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)
  More...
 
void SetValueIsColor (Bool_t x)
  More...
 
- Public Member Functions inherited from ROOT::Experimental::REveElement
 REveElement (const REveElement &e)
 Copy constructor. More...
 
 REveElement (const std::string &name="", const std::string &title="")
 Default constructor. More...
 
virtual ~REveElement ()
 Destructor. More...
 
virtual Bool_t AcceptElement (REveElement *el)
 Check if el can be added to this element. More...
 
virtual void AddAunt (REveAunt *au)
 Add el into the list aunts. More...
 
virtual void AddElement (REveElement *el)
 Add el to the list of children. 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...
 
virtual Bool_t CanEditElement () const
  More...
 
virtual Bool_t CanEditMainColor () const
  More...
 
virtual Bool_t CanEditMainTrans () const
  More...
 
virtual Bool_t CanEditMainTransparency () const
  More...
 
virtual void CheckReferenceCount (const std::string &from="<unknown>")
 Check external references to this and eventually auto-destruct the render-element. More...
 
virtual void ClearStamps ()
  More...
 
virtual void CloneChildrenRecurse (REveElement *dest, Int_t level=0) const
 Clone children and attach them to the dest element. More...
 
virtual REveElementCloneElement () const
 Clone the element via copy constructor. More...
 
virtual REveElementCloneElementRecurse (Int_t level=0) const
 Clone elements and recurse 'level' deep over children. More...
 
virtual void CopyVizParams (const REveElement *el)
 Copy visualization parameters from element el. More...
 
virtual void CopyVizParamsFromDB ()
 Copy visualization parameters from the model-element fVizModel. More...
 
void CSCApplyMainColorToAllChildren ()
  More...
 
void CSCApplyMainColorToMatchingChildren ()
  More...
 
void CSCApplyMainTransparencyToAllChildren ()
  More...
 
void CSCApplyMainTransparencyToMatchingChildren ()
  More...
 
void CSCImplySelectAllChildren ()
  More...
 
void CSCTakeMotherAsMaster ()
  More...
 
void DecDenyDestroy ()
 Decreases the deny-destroy count of the element. More...
 
void DecImpliedSelected ()
  More...
 
virtual void Destroy ()
 Destroy this element. More...
 
virtual void DestroyElements ()
 Destroy all children of this element. 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 EnableListElements (Bool_t rnr_self=kTRUE, Bool_t rnr_children=kTRUE)
 Enable rendering of children and their list contents. More...
 
virtual void ExportToCINT (const char *var_name)
 Export render-element to CINT with variable name var_name. More...
 
virtual void FillExtraSelectionData (nlohmann::json &, const std::set< int > &) const
  More...
 
virtual void FillImpliedSelectedSet (Set_t &impSelSet)
 Populate set impSelSet with derived / dependant elements. More...
 
REveElementFindChild (const TString &name, const TClass *cls=nullptr)
 Find the first child with given name. More...
 
REveElementFindChild (TPRegexp &regexp, const TClass *cls=nullptr)
 Find the first child whose name matches regexp. More...
 
Int_t FindChildren (List_t &matches, const TString &name, const TClass *cls=nullptr)
 Find all children with given name and append them to matches list. More...
 
Int_t FindChildren (List_t &matches, TPRegexp &regexp, const TClass *cls=nullptr)
 Find all children whose name matches regexp and append them to matches list. More...
 
REveElementFirstChild () const
 Returns the first child element or 0 if the list is empty. More...
 
UChar_t GetChangeBits () const
  More...
 
TClassGetChildClass () const
  More...
 
const char * GetCName () const
  More...
 
REveCompoundGetCompound ()
  More...
 
const char * GetCTitle () const
  More...
 
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...
 
ElementId_t GetElementId () const
  More...
 
virtual std::string GetHighlightTooltip (const std::set< int > &) const
  More...
 
int GetImpliedSelected ()
  More...
 
virtual Color_t GetMainColor () const
  More...
 
Color_tGetMainColorPtr () const
  More...
 
virtual Char_t GetMainTransparency () const
  More...
 
REveElementGetMother ()
  More...
 
const std::string & GetName () const
  More...
 
REveRenderDataGetRenderData () const
  More...
 
virtual Bool_t GetRnrAnything () const
  More...
 
virtual Bool_t GetRnrChildren () const
  More...
 
virtual Bool_t GetRnrSelf () const
  More...
 
virtual Bool_t GetRnrState () const
  More...
 
REveSceneGetScene ()
  More...
 
virtual REveElementGetSelectionMaster ()
 Returns the master element - that is: More...
 
const std::string & GetTitle () const
  More...
 
voidGetUserData () const
  More...
 
REveElementGetVizModel () const
  More...
 
const TStringGetVizTag () const
  More...
 
Bool_t HasAunts () const
  More...
 
Bool_t HasChild (REveElement *el)
 Check if element el is a child of this element. More...
 
Bool_t HasChildren () const
  More...
 
virtual Bool_t HasMainColor () const
  More...
 
virtual Bool_t HasMainTrans () const
  More...
 
bool HasMother ()
  More...
 
bool HasScene ()
  More...
 
void IncDenyDestroy ()
 Increases the deny-destroy count of the element. More...
 
void IncImpliedSelected ()
  More...
 
virtual void InitMainTrans (Bool_t can_edit=kTRUE)
 Initialize the main transformation to identity matrix. More...
 
TClassIsA () const
 Return class for this element. More...
 
Bool_t IsPickable () const
  More...
 
REveElementLastChild () 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 NumAunts () const
  More...
 
Int_t NumChildren () const
  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 (REveElement *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 PropagateVizParamsToChildren (REveElement *el=nullptr)
 Propagate visualization parameters from element el (defaulting to this) to all children. More...
 
virtual void PropagateVizParamsToProjecteds ()
 Propagate visualization parameters to dependent elements. More...
 
virtual REveTransPtrMainTrans (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...
 
AuntList_tRefAunts ()
  More...
 
const AuntList_tRefAunts () const
  More...
 
List_tRefChildren ()
  More...
 
const List_tRefChildren () const
  More...
 
virtual REveTransRefMainTrans ()
 Return reference to main transformation. More...
 
virtual void RemoveAunt (REveAunt *au)
 Remove el from the list of aunts. More...
 
virtual void RemoveElement (REveElement *el)
 Remove el from the list of children. More...
 
virtual void RemoveElementLocal (REveElement *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 RequiresExtraSelectionData () const
  More...
 
void ResetAllCSCBits ()
  More...
 
void ResetCSCBits (UChar_t f)
  More...
 
void SaveVizParams (std::ostream &out, const TString &tag, const TString &var)
 Save visualization parameters for this element with given tag. More...
 
void SetChildClass (TClass *c)
  More...
 
void SetCompound (REveCompound *c)
  More...
 
void SetCSCBits (UChar_t f)
  More...
 
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)
  More...
 
void SetEditMainTransparency (Bool_t x)
  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 *colptr)
  More...
 
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 SetName (const std::string &name)
 Set name of an element. More...
 
void SetNameTitle (const std::string &name, const std::string &title)
 Set name and title of an element. More...
 
void SetPickable (Bool_t p)
  More...
 
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 SetSelectionMaster (REveElement *el)
  More...
 
void SetTitle (const std::string &title)
 Set title of an element. More...
 
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 SetupDefaultColorAndTransparency (Color_t col, Bool_t can_edit_color, Bool_t can_edit_transparency)
 Set up element to use built-in main color and set flags allowing editing of main color and transparency. More...
 
void SetUserData (void *ud)
  More...
 
void SetVizModel (REveElement *model)
 Set visualization-parameter model element. More...
 
Bool_t SetVizModelByTag ()
 Find model element in VizDB that corresponds to previously assigned fVizTag and set fVizModel accordingly. More...
 
void SetVizTag (const TString &tag)
  More...
 
virtual Bool_t SingleRnrState () const
  More...
 
void StampColorSelection ()
  More...
 
void StampElementAdded ()
  More...
 
void StampObjProps ()
  More...
 
void StampObjPropsPreChk ()
  More...
 
void StampTransBBox ()
  More...
 
void StampVisibility ()
  More...
 
Bool_t TestCSCBits (UChar_t f) const
  More...
 
void VizDB_Apply (const std::string &tag)
 Set visual parameters for this object for given tag. More...
 
void VizDB_Insert (const std::string &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 TAtt3D
 TAtt3D ()
  More...
 
virtual ~TAtt3D ()
  More...
 
virtual void Sizeof3D () const
 Set total size of this 3D object (used by X3D interface). More...
 
- Public Member Functions inherited from TAttBBox
 TAttBBox ()
  More...
 
virtual ~TAttBBox ()
  More...
 
Float_tAssertBBox ()
  More...
 
Float_tGetBBox ()
  More...
 
Bool_t GetBBoxOK () const
  More...
 
TAttBBoxoperator= (const TAttBBox &tab)
  More...
 
void ResetBBox ()
  More...
 
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 ROOT::Experimental::REveProjectable
 REveProjectable ()
 Constructor. More...
 
 REveProjectable (const REveProjectable &)
 Copy constructor. Does shallow copy. More...
 
virtual ~REveProjectable ()
 Destructor. More...
 
virtual void AddProjected (REveProjected *p)
  More...
 
virtual void AddProjectedsToSet (std::set< REveElement * > &set)
 Add the projected elements to the set, dyn-casting them to REveElement. More...
 
virtual void AnnihilateProjecteds ()
 Optimized destroy of projected elements with condition there is only one parent for projected element. More...
 
virtual void ClearProjectedList ()
  More...
 
virtual Bool_t HasProjecteds () const
  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...
 
virtual void PropagateRenderState (Bool_t rnr_self, Bool_t rnr_children)
 Set render state of projecteds. More...
 
virtual void PropagateVizParams (REveElement *el=nullptr)
 Set visualization parameters of projecteds. More...
 
ProjList_tRefProjecteds ()
  More...
 
virtual void RemoveProjected (REveProjected *p)
  More...
 

Protected Member Functions

void BuildCellIdCache () override
 Build list of drawn cell IDs. See REveCalo3DGL::DirectDraw(). More...
 
- Protected Member Functions inherited from ROOT::Experimental::REveCaloViz
void AssignCaloVizParameters (REveCaloViz *cv)
 Assign parameters from given model. More...
 
void SetupHeight (Float_t value, Int_t slice, Float_t &height) const
 Set color and height for a given value and slice using slice color or REveRGBAPalette. More...
 
- Protected Member Functions inherited from ROOT::Experimental::REveElement
virtual void AnnihilateRecursively ()
 Protected member function called from REveElement::Annihilate(). More...
 
void assign_element_id_recurisvely ()
  More...
 
void assign_scene_recursively (REveScene *s)
  More...
 
ElementId_t get_mother_id () const
  More...
 
ElementId_t get_scene_id () const
  More...
 
virtual void PreDeleteElement ()
 Vertex / normal / triangle index information for rendering. More...
 
virtual void RemoveElementsInternal ()
 Remove all elements. More...
 
- Protected Member Functions inherited from TAttBBox
 TAttBBox (const TAttBBox &tab)
  More...
 
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)
  More...
 
void BBoxCheckPoint (Float_t x, Float_t y, Float_t z)
  More...
 
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...
 

Protected Attributes

REveCaloData::vCellId_t fCellList
  More...
 
Color_t fFrameColor
  More...
 
Char_t fFrameTransparency
  More...
 
Float_t fFrameWidth
  More...
 
Bool_t fRnrBarrelFrame
  More...
 
Bool_t fRnrEndCapFrame
  More...
 
- Protected Attributes inherited from ROOT::Experimental::REveCaloViz
Bool_t fAutoRange
  More...
 
Float_t fBarrelRadius
  More...
 
Bool_t fCellIdCacheOK
  More...
 
REveCaloDatafData
  More...
 
Float_t fEndCapPosB
  More...
 
Float_t fEndCapPosF
  More...
 
Double_t fEtaMax
  More...
 
Double_t fEtaMin
  More...
 
Float_t fMaxTowerH
  More...
 
Float_t fMaxValAbs
  More...
 
REveRGBAPalettefPalette
  More...
 
Double_t fPhi
  More...
 
Double_t fPhiOffset
  More...
 
Float_t fPlotEt
  More...
 
Bool_t fScaleAbs
  More...
 
Bool_t fValueIsColor
  More...
 
- Protected Attributes inherited from ROOT::Experimental::REveElement
AuntList_t fAunts
  More...
 
Bool_t fCanEditMainColor {kFALSE}
  More...
 
Bool_t fCanEditMainTrans {kFALSE}
  More...
 
Bool_t fCanEditMainTransparency {kFALSE}
  More...
 
UChar_t fChangeBits {0}
  More...
 
TClassfChildClass {nullptr}
  More...
 
List_t fChildren
  More...
 
REveCompoundfCompound {nullptr}
  More...
 
UChar_t fCSCBits {0}
  More...
 
Color_t fDefaultColor {kPink}
  More...
 
Int_t fDenyDestroy {0}
  More...
 
Bool_t fDestroyOnZeroRefCnt {kTRUE}
 Deny-destroy count. More...
 
Char_t fDestructing {kNone}
  More...
 
Short_t fImpliedSelected {0}
  More...
 
Color_tfMainColorPtr {nullptr}
  More...
 
std::unique_ptr< REveTransfMainTrans
  More...
 
Char_t fMainTransparency {0}
  More...
 
REveElementfMother {nullptr}
  More...
 
std::string fName
  More...
 
Bool_t fPickable {0}
  More...
 
std::unique_ptr< REveRenderDatafRenderData
 Externally assigned and controlled user data. More...
 
Bool_t fRnrChildren {kTRUE}
  More...
 
Bool_t fRnrSelf {kTRUE}
  More...
 
REveScenefScene {nullptr}
  More...
 
REveElementfSelectionMaster {nullptr}
  More...
 
std::string fTitle
  More...
 
voidfUserData {nullptr}
  More...
 
REveElementfVizModel {nullptr}
  More...
 
TString fVizTag
 Element used as model from VizDB. More...
 
- Protected Attributes inherited from TAttBBox
Float_tfBBox
  More...
 
- Protected Attributes inherited from ROOT::Experimental::REveProjectable
ProjList_t fProjectedList
  More...
 

Private Member Functions

void MakeBarrelCell (const REveCaloData::CellGeom_t &cellData, float towerH, Float_t &offset, float *pnts) const
 Make endcap cell. More...
 
void MakeEndCapCell (const REveCaloData::CellGeom_t &cellData, float towerH, Float_t &offset, float *pnts) const
 Make endcap cell. More...
 
REveCalo3Doperator= (const REveCalo3D &)=delete
  More...
 

Additional Inherited Members

- Public Types inherited from ROOT::Experimental::REveElement
typedef std::list< REveAunt * > AuntList_t
  More...
 
enum  EChangeBits {
  kCBColorSelection = BIT(0) , kCBTransBBox = BIT(1) , kCBObjProps = BIT(2) , kCBVisibility = BIT(3) ,
  kCBElementAdded = BIT(4)
}
 
typedef std::list< REveElement * > List_t
  More...
 
typedef std::set< REveElement * > Set_t
  More...
 
- Public Types inherited from ROOT::Experimental::REveProjectable
typedef std::list< REveProjected * > ProjList_t
  More...
 
- Protected Types inherited from ROOT::Experimental::REveElement
enum  ECompoundSelectionColorBits {
  kCSCBImplySelectAllChildren = BIT(0) , kCSCBTakeMotherAsMaster = 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 ROOT::Experimental::REveElement
static const std::string & ToString (Bool_t b)
 Convert Bool_t to string - kTRUE or kFALSE. More...
 

#include <ROOT/REveCalo.hxx>

Inheritance diagram for ROOT::Experimental::REveCalo3D:
[legend]

Constructor & Destructor Documentation

◆ REveCalo3D()

REveCalo3D::REveCalo3D ( REveCaloData d = 0,
const char *  n = "REveCalo3D",
const char *  t = "" 
)

Constructor.

Definition at line 452 of file REveCalo.cxx.

◆ ~REveCalo3D()

virtual ROOT::Experimental::REveCalo3D::~REveCalo3D ( )
inlinevirtual

Definition at line 177 of file REveCalo.hxx.

Member Function Documentation

◆ BuildCellIdCache()

void REveCalo3D::BuildCellIdCache ( )
overrideprotectedvirtual

Build list of drawn cell IDs. See REveCalo3DGL::DirectDraw().

Implements ROOT::Experimental::REveCaloViz.

Definition at line 695 of file REveCalo.cxx.

◆ BuildRenderData()

void REveCalo3D::BuildRenderData ( )
overridevirtual

Crates 3D point array for rendering.

Reimplemented from ROOT::Experimental::REveElement.

Definition at line 602 of file REveCalo.cxx.

◆ ComputeBBox()

void REveCalo3D::ComputeBBox ( )
overridevirtual

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

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

Implements TAttBBox.

Definition at line 707 of file REveCalo.cxx.

◆ GetFrameTransparency()

Char_t ROOT::Experimental::REveCalo3D::GetFrameTransparency ( ) const
inline

Definition at line 195 of file REveCalo.hxx.

◆ GetFrameWidth()

Float_t ROOT::Experimental::REveCalo3D::GetFrameWidth ( ) const
inline

Definition at line 185 of file REveCalo.hxx.

◆ GetRnrBarrelFrame()

Bool_t ROOT::Experimental::REveCalo3D::GetRnrBarrelFrame ( ) const
inline

Definition at line 192 of file REveCalo.hxx.

◆ GetRnrEndCapFrame()

Bool_t ROOT::Experimental::REveCalo3D::GetRnrEndCapFrame ( ) const
inline

Definition at line 191 of file REveCalo.hxx.

◆ GetRnrFrame()

void ROOT::Experimental::REveCalo3D::GetRnrFrame ( Bool_t e,
Bool_t b 
) const
inline

Definition at line 188 of file REveCalo.hxx.

◆ MakeBarrelCell()

void REveCalo3D::MakeBarrelCell ( const REveCaloData::CellGeom_t cellData,
float  towerH,
Float_t offset,
float *  pnts 
) const
private

Make endcap cell.

Definition at line 535 of file REveCalo.cxx.

◆ MakeEndCapCell()

void REveCalo3D::MakeEndCapCell ( const REveCaloData::CellGeom_t cellData,
float  towerH,
Float_t offset,
float *  pnts 
) const
private

Make endcap cell.

Definition at line 470 of file REveCalo.cxx.

◆ NewTowerPicked()

void REveCalo3D::NewTowerPicked ( Int_t  tower,
Int_t  slice,
Int_t  selectionId,
Bool_t  multi 
)

Client selection callback.

Definition at line 729 of file REveCalo.cxx.

◆ operator=()

REveCalo3D& ROOT::Experimental::REveCalo3D::operator= ( const REveCalo3D )
privatedelete

◆ SetFrameTransparency()

void ROOT::Experimental::REveCalo3D::SetFrameTransparency ( Char_t  x)
inline

Definition at line 194 of file REveCalo.hxx.

◆ SetFrameWidth()

void ROOT::Experimental::REveCalo3D::SetFrameWidth ( Float_t  w)
inline

Definition at line 184 of file REveCalo.hxx.

◆ SetRnrBarrelFrame()

void ROOT::Experimental::REveCalo3D::SetRnrBarrelFrame ( Bool_t  r)
inline

Definition at line 190 of file REveCalo.hxx.

◆ SetRnrEndCapFrame()

void ROOT::Experimental::REveCalo3D::SetRnrEndCapFrame ( Bool_t  r)
inline

Definition at line 189 of file REveCalo.hxx.

◆ SetRnrFrame()

void ROOT::Experimental::REveCalo3D::SetRnrFrame ( Bool_t  e,
Bool_t  b 
)
inline

Definition at line 187 of file REveCalo.hxx.

◆ WriteCoreJson()

Int_t REveCalo3D::WriteCoreJson ( nlohmann::json &  j,
Int_t  rnr_offset 
)
overridevirtual

Fill core part of JSON representation.

Reimplemented from ROOT::Experimental::REveCaloViz.

Definition at line 658 of file REveCalo.cxx.

◆ WriteCoreJsonSelection()

void REveCalo3D::WriteCoreJsonSelection ( nlohmann::json &  j,
REveCaloData::vCellId_t  cells 
)
overridevirtual

Fill core part of JSON representation for selection.

Implements ROOT::Experimental::REveCaloViz.

Definition at line 666 of file REveCalo.cxx.

Member Data Documentation

◆ fCellList

REveCaloData::vCellId_t ROOT::Experimental::REveCalo3D::fCellList
protected

Definition at line 164 of file REveCalo.hxx.

◆ fFrameColor

Color_t ROOT::Experimental::REveCalo3D::fFrameColor
protected

Definition at line 170 of file REveCalo.hxx.

◆ fFrameTransparency

Char_t ROOT::Experimental::REveCalo3D::fFrameTransparency
protected

Definition at line 171 of file REveCalo.hxx.

◆ fFrameWidth

Float_t ROOT::Experimental::REveCalo3D::fFrameWidth
protected

Definition at line 169 of file REveCalo.hxx.

◆ fRnrBarrelFrame

Bool_t ROOT::Experimental::REveCalo3D::fRnrBarrelFrame
protected

Definition at line 167 of file REveCalo.hxx.

◆ fRnrEndCapFrame

Bool_t ROOT::Experimental::REveCalo3D::fRnrEndCapFrame
protected

Definition at line 166 of file REveCalo.hxx.


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