12#ifndef ROOT_TEveCaloData
13#define ROOT_TEveCaloData
111 virtual void Dump()
const;
124 virtual void Dump()
const;
#define ClassDef(name, id)
Class to manage histogram axis.
A central manager for calorimeter data of an event written in TH2F.
virtual void GetEtaLimits(Double_t &min, Double_t &max) const
Get eta limits.
TEveCaloDataHist(const TEveCaloDataHist &)
virtual void Rebin(TAxis *ax, TAxis *ay, vCellId_t &in, Bool_t et, RebinData_t &out) const
Rebin.
Int_t AddHistogram(TH2F *hist)
Add new slice to calo tower.
virtual ~TEveCaloDataHist()
Destructor.
TEveCaloDataHist()
Constructor.
virtual void GetCellList(Float_t etaMin, Float_t etaMax, Float_t phi, Float_t phiRng, vCellId_t &out) const
Get list of cell IDs in given eta and phi range.
virtual void DataChanged()
Update limits and notify data users.
virtual void GetCellData(const TEveCaloData::CellId_t &id, TEveCaloData::CellData_t &data) const
Get cell geometry and value from cell ID.
virtual void GetPhiLimits(Double_t &min, Double_t &max) const
Get phi limits.
TEveCaloDataHist & operator=(const TEveCaloDataHist &)
Calo data for universal cell geometry.
Int_t AddSlice()
Add new slice.
void SetAxisFromBins(Double_t epsX=0.001, Double_t epsY=0.001)
Set XY axis from cells geometry.
virtual void GetCellList(Float_t etaMin, Float_t etaMax, Float_t phi, Float_t phiRng, vCellId_t &out) const
Get list of cell-ids for given eta/phi range.
TEveCaloDataVec(const TEveCaloDataVec &)
std::vector< vFloat_t >::iterator vvFloat_i
virtual void Rebin(TAxis *ax, TAxis *ay, vCellId_t &in, Bool_t et, RebinData_t &out) const
Rebin cells.
std::vector< vFloat_t > vvFloat_t
TEveCaloDataVec & operator=(const TEveCaloDataVec &)
std::vector< Float_t > & GetSliceVals(Int_t slice)
void FillSlice(Int_t slice, Float_t value)
Fill given slice in the current tower.
virtual ~TEveCaloDataVec()
Destructor.
Int_t AddTower(Float_t etaMin, Float_t etaMax, Float_t phiMin, Float_t phiMax)
Add tower within eta/phi range.
virtual void GetCellData(const TEveCaloData::CellId_t &id, TEveCaloData::CellData_t &data) const
Get cell geometry and value from cell ID.
virtual void DataChanged()
Update limits and notify data users.
std::vector< Float_t >::iterator vFloat_i
virtual void GetEtaLimits(Double_t &min, Double_t &max) const
std::vector< Float_t > vFloat_t
std::vector< TEveCaloData::CellGeom_t > & GetCellGeom()
virtual void GetPhiLimits(Double_t &min, Double_t &max) const
A central manager for calorimeter event data.
TEveCaloData(const TEveCaloData &)
void SetWrapTwoPi(Bool_t w)
virtual void GetEtaLimits(Double_t &min, Double_t &max) const =0
virtual TString GetHighlightTooltip()
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 UnHighlighted()
Virtual method TEveElement::UnHighlighted.
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
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...
virtual void UnSelected()
Virtual method TEveElement::UnSelect.
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()
virtual void GetPhiLimits(Double_t &min, Double_t &max) const =0
std::vector< CellGeom_t >::iterator vCellGeom_i
virtual TAxis * GetPhiBins() const
virtual void FillImpliedSelectedSet(Set_t &impSelSet)
Populate set impSelSet with derived / dependant elements.
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.
virtual void Dump() const
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)