26namespace Experimental {
209 typedef std::vector<REveCaloData::vCellId_t*>::iterator
vBinCells_i;
242 REveCalo2D(
const char*
n=
"REveCalo2D",
const char* t=
"");
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 Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
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
A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range t...
void BuildRenderData() override
Creates 2D point array for rendering.
std::vector< REveCaloData::vCellId_t * > vBinCells_t
void SetProjection(REveProjectionManager *proj, REveProjectable *model) override
Set projection manager and model object.
void MakeRhoZCell(Float_t thetaMin, Float_t thetaMax, Float_t &offset, Bool_t isBarrel, Bool_t phiPlus, Float_t towerH, float *pntsOut) const
Get cell vertices in RhoZ projection.
void BuildRenderDataRPhi()
Creates 2D point array in RPhi() projection.
void SetDepthLocal(Float_t x) override
Base-class implementation – just sets fDepth.
bool IsRPhi() const
Is current projection type RPhi.
void WriteCoreJsonSelection(nlohmann::json &j, REveCaloData::vCellId_t) override
Fill core part of JSON representation for selection.
void ComputeBBox() override
Fill bounding-box information of the base-class TAttBBox (virtual method).
~REveCalo2D() override
Destructor.
std::vector< REveCaloData::vCellId_t * >::iterator vBinCells_i
void NewBinPicked(Int_t bin, Int_t slice, Int_t selectionId, Bool_t multi)
Client callback.
void CellSelectionChangedInternal(REveCaloData::vCellId_t &cells, std::vector< REveCaloData::vCellId_t * > &cellLists)
s////////////////////////////////// Sort selected cells in eta or phi bins.
REveProjection::EPType_e fOldProjectionType
void UpdateProjection() override
This is virtual method from base-class REveProjected.
Int_t WriteCoreJson(nlohmann::json &j, Int_t rnr_offset) override
Fill core part of JSON representation.
std::vector< REveCaloData::vCellId_t * > fCellLists
std::vector< REveCaloData::vCellId_t * > fCellListsHighlighted
std::vector< REveCaloData::vCellId_t * > fCellListsSelected
const REveCalo2D::vBinCells_t & GetBinLists() const
void BuildCellIdCache() override
Build lists of drawn cell IDs. See REveCalo2DGL::DirecDraw().
void BuildRenderDataRhoZ()
Creates 2D point array in RhoZ projection.
REveCalo2D & operator=(const REveCalo2D &)=delete
Float_t GetValToHeight() const override
Virtual function of REveCaloViz.
void MakeRPhiCell(Float_t phiMin, Float_t phiMax, Float_t towerH, Float_t offset, float *pntsOut) const
Calculate vertices for the calorimeter cell in RPhi projection.
void SetScaleAbs(Bool_t) override
Set absolute scale in projected calorimeter.
Int_t WriteCoreJson(nlohmann::json &j, Int_t rnr_offset) override
Fill core part of JSON representation.
void SetRnrEndCapFrame(Bool_t r)
void ComputeBBox() override
Fill bounding-box information of the base-class TAttBBox (virtual method).
Char_t GetFrameTransparency() const
void MakeBarrelCell(const REveCaloData::CellGeom_t &cellData, float towerH, Float_t &offset, float *pnts) const
Make endcap cell.
void SetRnrFrame(Bool_t e, Bool_t b)
void MakeEndCapCell(const REveCaloData::CellGeom_t &cellData, float towerH, Float_t &offset, float *pnts) const
Make endcap cell.
void SetFrameWidth(Float_t w)
Bool_t GetRnrEndCapFrame() const
void WriteCoreJsonSelection(nlohmann::json &j, REveCaloData::vCellId_t) override
Fill core part of JSON representation for selection.
void BuildRenderData() override
Crates 3D point array for rendering.
void BuildCellIdCache() override
Build list of drawn cell IDs. See REveCalo3DGL::DirectDraw().
void NewTowerPicked(Int_t tower, Int_t slice, Int_t selectionId, Bool_t multi)
Client selection callback.
void SetFrameTransparency(Char_t x)
REveCalo3D & operator=(const REveCalo3D &)=delete
REveCaloData::vCellId_t fCellList
void GetRnrFrame(Bool_t &e, Bool_t &b) const
void SetRnrBarrelFrame(Bool_t r)
Bool_t GetRnrBarrelFrame() const
Char_t fFrameTransparency
Float_t GetFrameWidth() const
std::vector< CellId_t > vCellId_t
Char_t GetPlaneTransparency() const
void SetHasFixedHeightIn2DMode(bool x)
void BuildCellIdCache() override
Build list of drawn cell IDs. For more information see REveCaloLegoGL:DirectDraw().
float GetFixedHeightValIn2DMode() const
void Set2DMode(E2DMode_e p)
void SetPixelsPerBin(Int_t bw)
EProjection_e fProjection
void SetDrawNumberCellPixels(Int_t x)
Bool_t GetDrawHPlane() const
void SetBoxMode(EBoxMode_e p)
Char_t fPlaneTransparency
Color_t GetPlaneColor() const
Bool_t GetNormalizeRebin() const
void SetFixedHeightValIn2DMode(float x)
Float_t GetHPlaneVal() const
virtual void SetData(REveCaloData *d)
void SetGridColor(Color_t ci)
void SetDrawHPlane(Bool_t s)
Color_t GetFontColor() const
void ComputeBBox() override
Fill bounding-box information of the base-class TAttBBox (virtual method).
REveCaloData::vCellId_t fCellList
Int_t GetPixelsPerBin() const
bool GetHasFixedHeightIn2DMode() const
REveCaloLego & operator=(const REveCaloLego &)=delete
void SetPlaneColor(Color_t ci)
Color_t GetGridColor() const
Bool_t fHasFixedHeightIn2DMode
void SetAutoRebin(Bool_t s)
void SetCellPixelFontSize(Int_t x)
Int_t GetDrawNumberCellPixels()
Bool_t GetAutoRebin() const
void SetPlaneTransparency(Char_t t)
void SetFontColor(Color_t ci)
void SetProjection(EProjection_e p)
void SetNormalizeRebin(Bool_t s)
void SetHPlaneVal(Float_t s)
EProjection_e GetProjection() const
Int_t fDrawNumberCellPixels
Float_t fFixedHeightValIn2DMode
Int_t GetCellPixelFontSize()
Float_t GetPhiMax() const
bool RequiresExtraSelectionData() const override
Int_t WriteCoreJson(nlohmann::json &j, Int_t rnr_offset) override
Fill core part of JSON representation.
virtual REveElement * ForwardSelection()
Management of selection state and ownership of selected cell list is done in REveCaloData.
Float_t GetMaxTowerH() const
Float_t GetPhiRng() const
Float_t GetBarrelRadius() const
Float_t GetEtaMin() const
Float_t GetMaxVal() const
Float_t GetEtaMax() const
Float_t GetBackwardEndCapPos() const
void SetPlotEt(Bool_t x)
Set E/Et plot.
void SetMaxTowerH(Float_t x)
void SetValueIsColor(Bool_t x)
void SetPhiRng(Float_t rng)
Float_t GetTransitionTheta() const
Get transition angle between barrel and end-cap cells, assuming fEndCapPosF = -fEndCapPosB.
Float_t GetEndCapPos() const
virtual void BuildCellIdCache()=0
void SetPalette(REveRGBAPalette *p)
Set REveRGBAPalette object pointer.
Float_t GetPhiMin() const
virtual void SetScaleAbs(Bool_t x)
Float_t GetTransitionEtaForward() const
Get transition eta between barrel and forward end-cap cells.
Bool_t GetScaleAbs() const
void DataChanged()
Update setting and cache on data changed.
void SetMaxValAbs(Float_t x)
void SetAutoRange(Bool_t x)
void SetDataSliceColor(Int_t slice, Color_t col)
Set slice color in data.
REveCaloViz & operator=(const REveCaloViz &)=delete
REveCaloData * GetData() const
Float_t GetTransitionEta() const
Get transition eta between barrel and end-cap cells, assuming fEndCapPosF = -fEndCapPosB.
Color_t GetDataSliceColor(Int_t slice) const
Get slice color from data.
virtual void WriteCoreJsonSelection(nlohmann::json &j, REveCaloData::vCellId_t)=0
Float_t GetMaxValAbs() const
Float_t GetTransitionEtaBackward() const
Get transition eta between barrel and backward end-cap cells.
Bool_t AssertCellIdCache() const
Assert cell id cache is ok.
void SetBackwardEndCapPos(Float_t z)
void SetPhiWithRng(Float_t x, Float_t r)
Set phi range.
~REveCaloViz() override
Destructor.
virtual Float_t GetValToHeight() const
Get transformation factor from E/Et to height.
REveRGBAPalette * GetPalette() const
Bool_t GetValueIsColor() const
TClass * ProjectedClass(const REveProjection *p) const override
Virtual from REveProjectable, returns REveCalo2D class.
void SetBarrelRadius(Float_t r)
Float_t GetDataSliceThreshold(Int_t slice) const
Get threshold for given slice.
Float_t GetForwardEndCapPos() const
Bool_t CellInEtaPhiRng(REveCaloData::CellData_t &) const
Returns true if given cell is in the ceta phi range.
Bool_t GetAutoRange() const
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.
Float_t GetEtaRng() const
void SetForwardEndCapPos(Float_t z)
Float_t GetTransitionThetaForward() const
Get transition angle between barrel and forward end-cap cells.
void SetData(REveCaloData *d)
Set calorimeter event data.
void InvalidateCellIdCache()
Float_t GetTransitionThetaBackward() const
Get transition angle between barrel and backward end-cap cells.
void SetEndCapPos(Float_t z)
void AssignCaloVizParameters(REveCaloViz *cv)
Assign parameters from given model.
virtual REveElement * ForwardEdit()
Management of selection state and ownership of selected cell list is done in REveCaloData.
void SetDataSliceThreshold(Int_t slice, Float_t val)
Set threshold for given slice.
REveRGBAPalette * fPalette
REveRGBAPalette * AssertPalette()
Make sure the REveRGBAPalette pointer is not null.
void SetEta(Float_t l, Float_t u)
Set eta range.
REveProjectionManager Manager class for steering of projections and managing projected objects.
REveProjection Base for specific classes that implement non-linear projections.
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.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...