206 typedef std::vector<TEveCaloData::vCellId_t*>::iterator
vBinCells_i;
229 TEveCalo2D(
const char*
n=
"TEveCalo2D",
const char* t=
"");
#define ClassDef(name, id)
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.
virtual void SetProjection(TEveProjectionManager *proj, TEveProjectable *model)
Set projection manager and model object.
virtual void CellSelectionChanged()
Sort selected cells in eta or phi bins for selection and highlight.
virtual void SetScaleAbs(Bool_t)
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
virtual void SetDepthLocal(Float_t x)
Base-class implementation – just sets fDepth.
TEveCalo2D & operator=(const TEveCalo2D &)
std::vector< TEveCaloData::vCellId_t * > vBinCells_t
virtual void ComputeBBox()
Fill bounding-box information of the base-class TAttBBox (virtual method).
virtual void BuildCellIdCache()
Build lists of drawn cell IDs. See TEveCalo2DGL::DirecDraw().
virtual Float_t GetValToHeight() const
Virtual function of TEveCaloViz.
std::vector< TEveCaloData::vCellId_t * > fCellLists
TEveCalo2D(const TEveCalo2D &)
TEveProjection::EPType_e fOldProjectionType
const TEveCalo2D::vBinCells_t & GetBinLists() const
virtual ~TEveCalo2D()
Destructor.
std::vector< TEveCaloData::vCellId_t * > fCellListsSelected
virtual void UpdateProjection()
This is virtual method from base-class TEveProjected.
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
virtual void BuildCellIdCache()
Build list of drawn cell IDs. See TEveCalo3DGL::DirectDraw().
Float_t GetFrameWidth() const
void SetRnrEndCapFrame(Bool_t r)
TEveCalo3D(const TEveCalo3D &)
virtual void ComputeBBox()
Fill bounding-box information of the base-class TAttBBox (virtual method).
void GetRnrFrame(Bool_t &e, Bool_t &b) const
Char_t GetFrameTransparency() const
Char_t fFrameTransparency
void SetRnrFrame(Bool_t e, Bool_t b)
void SetRnrBarrelFrame(Bool_t r)
TEveCalo3D & operator=(const TEveCalo3D &)
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
EProjection_e fProjection
void Set2DMode(E2DMode_e p)
Char_t fPlaneTransparency
Int_t GetPixelsPerBin() const
Color_t GetFontColor() const
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
virtual void BuildCellIdCache()
Build list of drawn cell IDs. For more information see TEveCaloLegoGL:DirectDraw().
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
TEveCaloLego(const TEveCaloLego &)
Int_t GetCellPixelFontSize()
void SetDrawHPlane(Bool_t s)
Color_t GetGridColor() const
void SetPlaneTransparency(Char_t t)
Float_t fFixedHeightValIn2DMode
Float_t GetHPlaneVal() const
TEveCaloLego & operator=(const TEveCaloLego &)
bool GetHasFixedHeightIn2DMode() const
virtual void ComputeBBox()
Fill bounding-box information of the base-class TAttBBox (virtual method).
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.
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
TEveCaloViz & operator=(const TEveCaloViz &)
virtual void BuildCellIdCache()=0
void SetPhiWithRng(Float_t x, Float_t r)
Set phi range.
virtual TEveElement * ForwardEdit()
Management of selection state and ownership of selected cell list is done in TEveCaloData.
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 ~TEveCaloViz()
Destructor.
virtual void Paint(Option_t *option="")
Paint this object. Only direct rendering is supported.
virtual void CellSelectionChanged()
virtual void SetScaleAbs(Bool_t x)
TEveRGBAPalette * AssertPalette()
Make sure the TEveRGBAPalette pointer is not null.
void SetEndCapPos(Float_t z)
void InvalidateCellIdCache()
void SetForwardEndCapPos(Float_t z)
TEveCaloViz(const TEveCaloViz &)
void SetMaxTowerH(Float_t x)
Float_t GetMaxValAbs() const
virtual TClass * ProjectedClass(const TEveProjection *p) const
Virtual from TEveProjectable, returns TEveCalo2D class.
virtual TEveElement * ForwardSelection()
Management of selection state and ownership of selected cell list is done in TEveCaloData.
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)
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.
Float_t GetPhiMax() const
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.
static constexpr double s
Cell data inner structure.