12#ifndef ROOT_TEveCalo2DGL
13#define ROOT_TEveCalo2DGL
#define ClassDef(name, id)
OpenGL renderer class for TEveCalo2D.
virtual Bool_t AlwaysSecondarySelect() const
TEveCalo2DGL & operator=(const TEveCalo2DGL &)
void DrawRPhi(TGLRnrCtx &rnrCtx, TEveCalo2D::vBinCells_t &) const
Draw calorimeter cells in RPhi projection.
void MakeRPhiCell(Float_t phiMin, Float_t phiMax, Float_t towerH, Float_t offset) const
Calculate vertices for the calorimeter cell in RPhi projection.
void DrawRhoZ(TGLRnrCtx &rnrCtx, TEveCalo2D::vBinCells_t &) const
Draw calorimeter in RhoZ projection.
Bool_t IsRPhi() const
Is current projection type RPhi.
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model object.
void DrawRPhiHighlighted(std::vector< TEveCaloData::vCellId_t * > &cellLists) const
Draw selected calorimeter cells in RPhi projection.
void DrawRhoZHighlighted(std::vector< TEveCaloData::vCellId_t * > &cellLists) const
Draw selected calorimeter cells in RhoZ projection.
virtual Bool_t SupportsSecondarySelect() const
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Render with OpenGL.
virtual void ProcessSelection(TGLRnrCtx &rnrCtx, TGLSelectRecord &rec)
Processes tower selection in eta bin or phi bin.
TEveCalo2DGL(const TEveCalo2DGL &)
void MakeRhoZCell(Float_t thetaMin, Float_t thetaMax, Float_t &offset, Bool_t isBarrel, Bool_t phiPlus, Float_t towerH) const
Draw cell in RhoZ projection.
TEveCalo2DGL()
Constructor.
virtual void SetBBox()
Set bounding box.
virtual void DrawHighlight(TGLRnrCtx &rnrCtx, const TGLPhysicalShape *ps, Int_t lvl=-1) const
Draw towers in highlight mode.
Visualization of a calorimeter event data in 2D.
std::vector< TEveCaloData::vCellId_t * > vBinCells_t
Base-class for non-linear projections.
Base-class for direct OpenGL renderers.
Concrete physical shape - a GL drawable.
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
TGLScene provides management and rendering of ROOT's default 3D /object representation as logical and...
Standard selection record including information about containing scene and details ob out selected ob...
Base GL viewer object - used by both standalone and embedded (in pad) GL.
Mother of all ROOT objects.
static constexpr double ps