12#ifndef ROOT_TEveCaloData
13#define ROOT_TEveCaloData
111 virtual void Dump()
const;
124 void Dump()
const override;
#define ClassDef(name, id)
#define ClassDefOverride(name, id)
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 value
Class to manage histogram axis.
A central manager for calorimeter data of an event written in TH2F.
TEveCaloDataHist(const TEveCaloDataHist &)
void Rebin(TAxis *ax, TAxis *ay, vCellId_t &in, Bool_t et, RebinData_t &out) const override
Rebin.
void GetCellList(Float_t etaMin, Float_t etaMax, Float_t phi, Float_t phiRng, vCellId_t &out) const override
Get list of cell IDs in given eta and phi range.
Int_t AddHistogram(TH2F *hist)
Add new slice to calo tower.
TEveCaloDataHist()
Constructor.
void GetEtaLimits(Double_t &min, Double_t &max) const override
Get eta limits.
void GetCellData(const TEveCaloData::CellId_t &id, TEveCaloData::CellData_t &data) const override
Get cell geometry and value from cell ID.
void DataChanged() override
Update limits and notify data users.
TEveCaloDataHist & operator=(const TEveCaloDataHist &)
~TEveCaloDataHist() override
Destructor.
void GetPhiLimits(Double_t &min, Double_t &max) const override
Get phi limits.
Calo data for universal cell geometry.
void Rebin(TAxis *ax, TAxis *ay, vCellId_t &in, Bool_t et, RebinData_t &out) const override
Rebin cells.
Int_t AddSlice()
Add new slice.
void SetAxisFromBins(Double_t epsX=0.001, Double_t epsY=0.001)
Set XY axis from cells geometry.
~TEveCaloDataVec() override
Destructor.
void GetPhiLimits(Double_t &min, Double_t &max) const override
TEveCaloDataVec(const TEveCaloDataVec &)
std::vector< vFloat_t >::iterator vvFloat_i
std::vector< vFloat_t > vvFloat_t
TEveCaloDataVec & operator=(const TEveCaloDataVec &)
std::vector< Float_t > & GetSliceVals(Int_t slice)
void GetEtaLimits(Double_t &min, Double_t &max) const override
void FillSlice(Int_t slice, Float_t value)
Fill given slice in the current tower.
void DataChanged() override
Update limits and notify data users.
Int_t AddTower(Float_t etaMin, Float_t etaMax, Float_t phiMin, Float_t phiMax)
Add tower within eta/phi range.
void GetCellList(Float_t etaMin, Float_t etaMax, Float_t phi, Float_t phiRng, vCellId_t &out) const override
Get list of cell-ids for given eta/phi range.
std::vector< Float_t >::iterator vFloat_i
void GetCellData(const TEveCaloData::CellId_t &id, TEveCaloData::CellData_t &data) const override
Get cell geometry and value from cell ID.
std::vector< Float_t > vFloat_t
std::vector< TEveCaloData::CellGeom_t > & GetCellGeom()
A central manager for calorimeter event data.
TEveCaloData(const TEveCaloData &)
void FillImpliedSelectedSet(Set_t &impSelSet) override
Populate set impSelSet with derived / dependant elements.
void SetWrapTwoPi(Bool_t w)
virtual void GetEtaLimits(Double_t &min, Double_t &max) const =0
std::vector< CellId_t > vCellId_t
static Float_t EtaToTheta(Float_t eta)
void SetSliceColor(Int_t slice, Color_t col)
Set color for given slice.
virtual void SetEps(Float_t eps)
std::vector< CellGeom_t > vCellGeom_t
virtual void GetCellList(Float_t etaMin, Float_t etaMax, Float_t phi, Float_t phiRng, vCellId_t &out) const =0
void ProcessSelection(vCellId_t &sel_cells, TGLSelectRecord &rec)
Process newly selected cells with given select-record.
virtual void GetCellData(const CellId_t &id, CellData_t &data) const =0
Char_t GetSliceTransparency(Int_t slice) const
Get transparency for given slice.
virtual Float_t GetEps() const
virtual TAxis * GetEtaBins() const
std::vector< SliceInfo_t >::iterator vSliceInfo_i
vCellId_t fCellsHighlighted
void UnHighlighted() override
Virtual method TEveElement::UnHighlighted.
TEveCaloData & operator=(const TEveCaloData &)
void SetSliceTransparency(Int_t slice, Char_t t)
Set transparency for given slice.
virtual void SetEtaBins(TAxis *ax)
void SetSliceThreshold(Int_t slice, Float_t threshold)
Set threshold for given slice.
std::vector< SliceInfo_t > vSliceInfo_t
virtual void InvalidateUsersCellIdCache()
Invalidate cell ids cache on back ptr references.
virtual void SetPhiBins(TAxis *ax)
Color_t GetSliceColor(Int_t slice) const
Get color for given slice.
virtual void DataChanged()
Tell users (TEveCaloViz instances using this data) that data has changed and they should update the l...
TString GetHighlightTooltip() override
std::vector< CellGeom_t >::const_iterator vCellGeom_ci
virtual void CellSelectionChanged()
Tell users (TEveCaloViz instances using this data) that cell selection has changed and they should up...
Float_t GetSliceThreshold(Int_t slice) const
Get threshold for given slice.
SliceInfo_t & RefSliceInfo(Int_t s)
Bool_t GetWrapTwoPi() const
vCellId_t & GetCellsHighlighted()
void UnSelected() override
Virtual method TEveElement::UnSelect.
virtual void GetPhiLimits(Double_t &min, Double_t &max) const =0
std::vector< CellGeom_t >::iterator vCellGeom_i
virtual TAxis * GetPhiBins() const
void PrintCellsSelected()
Print selected cells info.
vCellId_t & GetCellsSelected()
virtual void Rebin(TAxis *ax, TAxis *ay, vCellId_t &in, Bool_t et, RebinData_t &out) const =0
virtual Float_t GetMaxVal(Bool_t et) const
std::vector< CellId_t >::iterator vCellId_i
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
std::set< TEveElement * > Set_t
Standard selection record including information about containing scene and details ob out selected ob...
2-D histogram with a float per channel (see TH1 documentation)}
The Histogram stack class.
The TNamed class is the base class for all named ROOT classes.
Cell data inner structure.
void Dump() const override
Print member data.
Cell geometry inner structure.
Bool_t IsUpperRho() const
Float_t ThetaDelta() const
virtual void Dump() const
Print member data.
void Configure(Float_t etaMin, Float_t etaMax, Float_t phiMin, Float_t phiMax)
CellGeom_t(Float_t etaMin, Float_t etaMax, Float_t phiMin, Float_t phiMax)
bool operator<(const CellId_t &o) const
CellId_t(Int_t t, Int_t s, Float_t f=1.0f)
std::vector< Float_t > fSliceData
std::vector< Int_t > fBinData
Float_t * GetSliceVals(Int_t bin)
void Setup(const char *name, Float_t threshold, Color_t col, Char_t transp=101)