207 typedef std::vector<TEveCaloData::vCellId_t*>::iterator
vBinCells_i;
230 TEveCalo2D(
const char*
n=
"TEveCalo2D",
const char* t=
"");
#define ClassDefOverride(name, id)
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Use this attribute class when an object should have 3D capabilities.
Helper for management of bounding-box information.
TClass instances represent classes, structs and namespaces in the ROOT type system.
OpenGL renderer class for TEveCalo2D.
Visualization of a calorimeter event data in 2D.
void UpdateProjection() override
This is virtual method from base-class TEveProjected.
~TEveCalo2D() override
Destructor.
void SetDepthLocal(Float_t x) override
Base-class implementation – just sets fDepth.
void BuildCellIdCache() override
Build lists of drawn cell IDs. See TEveCalo2DGL::DirecDraw().
TEveCalo2D(const TEveCalo2D &)=delete
void CellSelectionChanged() override
Sort selected cells in eta or phi bins for selection and highlight.
void ComputeBBox() override
Fill bounding-box information of the base-class TAttBBox (virtual method).
void SetScaleAbs(Bool_t) override
Set absolute scale in projected calorimeter.
std::vector< TEveCaloData::vCellId_t * > fCellListsHighlighted
void CellSelectionChangedInternal(TEveCaloData::vCellId_t &cells, std::vector< TEveCaloData::vCellId_t * > &cellLists)
Sort selected cells in eta or phi bins.
std::vector< TEveCaloData::vCellId_t * >::iterator vBinCells_i
std::vector< TEveCaloData::vCellId_t * > vBinCells_t
Float_t GetValToHeight() const override
Virtual function of TEveCaloViz.
std::vector< TEveCaloData::vCellId_t * > fCellLists
TEveProjection::EPType_e fOldProjectionType
const TEveCalo2D::vBinCells_t & GetBinLists() const
void SetProjection(TEveProjectionManager *proj, TEveProjectable *model) override
Set projection manager and model object.
std::vector< TEveCaloData::vCellId_t * > fCellListsSelected
TEveCalo2D & operator=(const TEveCalo2D &)=delete
OpenGL renderer class for TEveCalo3D.
Visualization of a calorimeter event data in 3D.
void SetFrameTransparency(Char_t x)
TEveCaloData::vCellId_t fCellList
Bool_t GetRnrBarrelFrame() const
TEveCalo3D & operator=(const TEveCalo3D &)=delete
Float_t GetFrameWidth() const
void SetRnrEndCapFrame(Bool_t r)
void ComputeBBox() override
Fill bounding-box information of the base-class TAttBBox (virtual method).
void GetRnrFrame(Bool_t &e, Bool_t &b) const
Char_t GetFrameTransparency() const
void BuildCellIdCache() override
Build list of drawn cell IDs. See TEveCalo3DGL::DirectDraw().
Char_t fFrameTransparency
void SetRnrFrame(Bool_t e, Bool_t b)
void SetRnrBarrelFrame(Bool_t r)
TEveCalo3D(const TEveCalo3D &)=delete
Bool_t GetRnrEndCapFrame() const
void SetFrameWidth(Float_t w)
A central manager for calorimeter event data.
std::vector< CellId_t > vCellId_t
OpenGL renderer class for TEveCaloLego.
GL-overlay control GUI for TEveCaloLego.
Visualization of calorimeter data as eta/phi histogram.
Bool_t GetNormalizeRebin() const
TEveCaloLego(const TEveCaloLego &)=delete
EProjection_e fProjection
void Set2DMode(E2DMode_e p)
Char_t fPlaneTransparency
Int_t GetPixelsPerBin() const
Color_t GetFontColor() const
TEveCaloLego & operator=(const TEveCaloLego &)=delete
void SetProjection(EProjection_e p)
void SetFontColor(Color_t ci)
void SetHPlaneVal(Float_t s)
void SetAutoRebin(Bool_t s)
void SetDrawNumberCellPixels(Int_t x)
virtual void SetData(TEveCaloData *d)
void SetPlaneColor(Color_t ci)
void SetBoxMode(EBoxMode_e p)
void SetPixelsPerBin(Int_t bw)
void SetNormalizeRebin(Bool_t s)
Int_t fDrawNumberCellPixels
Color_t GetPlaneColor() const
EProjection_e GetProjection() const
Char_t GetPlaneTransparency() const
void SetCellPixelFontSize(Int_t x)
Int_t GetDrawNumberCellPixels()
float GetFixedHeightValIn2DMode() const
void SetGridColor(Color_t ci)
Bool_t GetDrawHPlane() const
TEveCaloData::vCellId_t fCellList
void SetHasFixedHeightIn2DMode(bool x)
Bool_t GetAutoRebin() const
Bool_t fHasFixedHeightIn2DMode
Int_t GetCellPixelFontSize()
void SetDrawHPlane(Bool_t s)
Color_t GetGridColor() const
void BuildCellIdCache() override
Build list of drawn cell IDs. For more information see TEveCaloLegoGL:DirectDraw().
void SetPlaneTransparency(Char_t t)
Float_t fFixedHeightValIn2DMode
Float_t GetHPlaneVal() const
void ComputeBBox() override
Fill bounding-box information of the base-class TAttBBox (virtual method).
bool GetHasFixedHeightIn2DMode() const
void SetFixedHeightValIn2DMode(float x)
GUI editor for TEveCaloEditor.
Base class for calorimeter data visualization.
void SetDataSliceColor(Int_t slice, Color_t col)
Set slice color in data.
void SetBarrelRadius(Float_t r)
void SetValueIsColor(Bool_t x)
Color_t GetDataSliceColor(Int_t slice) const
Get slice color from data.
~TEveCaloViz() override
Destructor.
Float_t GetEtaMin() const
Bool_t AssertCellIdCache() const
Assert cell id cache is ok.
TEveRGBAPalette * GetPalette() const
void SetDataSliceThreshold(Int_t slice, Float_t val)
Set threshold for given slice.
Float_t GetDataSliceThreshold(Int_t slice) const
Get threshold for given slice.
Float_t GetMaxTowerH() const
Float_t GetPhiRng() const
Float_t GetTransitionEtaBackward() const
Get transition eta between barrel and backward end-cap cells.
Float_t GetEndCapPos() const
void SetPlotEt(Bool_t x)
Set E/Et plot.
TEveRGBAPalette * fPalette
virtual void BuildCellIdCache()=0
void SetPhiWithRng(Float_t x, Float_t r)
Set phi range.
Float_t GetTransitionThetaBackward() const
Get transition angle between barrel and backward end-cap cells.
Float_t GetBarrelRadius() const
Float_t GetTransitionEta() const
Get transition eta between barrel and end-cap cells, assuming fEndCapPosF = -fEndCapPosB.
Float_t GetBackwardEndCapPos() const
Float_t GetMaxVal() const
void SetPhiRng(Float_t rng)
Float_t GetForwardEndCapPos() const
TEveCaloData * GetData() const
void SetBackwardEndCapPos(Float_t z)
void SetEta(Float_t l, Float_t u)
Set eta range.
virtual void CellSelectionChanged()
virtual void SetScaleAbs(Bool_t x)
TEveRGBAPalette * AssertPalette()
Make sure the TEveRGBAPalette pointer is not null.
TEveCaloViz(const TEveCaloViz &)=delete
void SetEndCapPos(Float_t z)
TEveElement * ForwardEdit() override
Management of selection state and ownership of selected cell list is done in TEveCaloData.
void InvalidateCellIdCache()
void SetForwardEndCapPos(Float_t z)
TClass * ProjectedClass(const TEveProjection *p) const override
Virtual from TEveProjectable, returns TEveCalo2D class.
void SetMaxTowerH(Float_t x)
Float_t GetMaxValAbs() const
void SetPalette(TEveRGBAPalette *p)
Set TEveRGBAPalette object pointer.
Float_t GetEtaMax() const
Float_t GetTransitionThetaForward() const
Get transition angle between barrel and forward end-cap cells.
void SetMaxValAbs(Float_t x)
TEveCaloViz & operator=(const TEveCaloViz &)=delete
Float_t GetTransitionEtaForward() const
Get transition eta between barrel and forward end-cap cells.
Bool_t GetAutoRange() const
void SetAutoRange(Bool_t x)
Float_t GetTransitionTheta() const
Get transition angle between barrel and end-cap cells, assuming fEndCapPosF = -fEndCapPosB.
void AssignCaloVizParameters(TEveCaloViz *cv)
Assign parameters from given model.
void Paint(Option_t *option="") override
Paint this object. Only direct rendering is supported.
Float_t GetPhiMax() const
TEveElement * ForwardSelection() override
Management of selection state and ownership of selected cell list is done in TEveCaloData.
virtual Float_t GetValToHeight() const
Get transformation factor from E/Et to height.
void SetData(TEveCaloData *d)
Set calorimeter event data.
Float_t GetEtaRng() const
void DataChanged()
Update setting and cache on data changed.
Bool_t CellInEtaPhiRng(TEveCaloData::CellData_t &) const
Returns true if given cell is in the ceta phi range.
Bool_t GetValueIsColor() const
Bool_t GetScaleAbs() const
Float_t GetPhiMin() const
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.
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
Abstract base-class for non-linear projectable objects.
Abstract base class for classes that hold results of a non-linear projection transformation.
Manager class for steering of projections and managing projected objects.
Base-class for non-linear projections.
A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range t...
The TNamed class is the base class for all named ROOT classes.
Cell data inner structure.