12 #ifndef ROOT_TEveCaloData 13 #define ROOT_TEveCaloData 44 fThreshold = threshold;
46 if (transp <= 100) fTransparency = transp;
84 CellGeom_t(): fPhiMin(0), fPhiMax(0), fEtaMin(0), fEtaMax(0), fThetaMin(0), fThetaMax(0) {}
111 virtual void Dump()
const;
124 virtual void Dump()
const;
186 vCellId_t &out)
const = 0;
275 std::vector<TEveCaloData::CellGeom_t>&
GetCellGeom() {
return fGeomVec; }
vCellId_t & GetCellsSelected()
A central manager for calorimeter event data.
virtual TAxis * GetEtaBins() const
std::vector< CellId_t >::iterator vCellId_i
The Histogram stack class.
SliceInfo_t & RefSliceInfo(Int_t s)
void Setup(const char *name, Float_t threshold, Color_t col, Char_t transp=101)
Bool_t GetWrapTwoPi() const
vCellId_t fCellsHighlighted
std::set< TEveElement * > Set_t
std::vector< Int_t > fBinData
virtual void DataChanged()
Tell users (TEveCaloViz instances using this data) that data has changed and they should update the l...
std::vector< vFloat_t > vvFloat_t
virtual TString GetHighlightTooltip()
std::vector< vFloat_t >::iterator vvFloat_i
Calo data for universal cell geometry.
TEveCaloData(const TEveCaloData &)
T etaMax()
Function providing the maximum possible value of pseudorapidity for a non-zero rho, in the Scalar type with the largest dynamic range.
Char_t GetSliceTransparency(Int_t slice) const
Get transparency for given slice.
virtual void GetPhiLimits(Double_t &min, Double_t &max) const
void SetSliceColor(Int_t slice, Color_t col)
Set color for given slice.
std::vector< Float_t > & GetSliceVals(Int_t slice)
virtual void UnHighlighted()
Virtual method TEveElement::UnHighlighted.
virtual void FillImpliedSelectedSet(Set_t &impSelSet)
Populate set impSelSet with derived / dependant elements.
virtual void GetCellList(Float_t etaMin, Float_t etaMax, Float_t phi, Float_t phiRng, vCellId_t &out) const =0
std::vector< SliceInfo_t >::iterator vSliceInfo_i
#define ClassDef(name, id)
static Float_t EtaToTheta(Float_t eta)
The TNamed class is the base class for all named ROOT classes.
std::vector< CellGeom_t >::iterator vCellGeom_i
virtual void InvalidateUsersCellIdCache()
Invalidate cell ids cache on back ptr references.
std::vector< SliceInfo_t > vSliceInfo_t
std::vector< CellId_t > vCellId_t
virtual void GetPhiLimits(Double_t &min, Double_t &max) const =0
std::vector< Float_t > vFloat_t
virtual void UnSelected()
Virtual method TEveElement::UnSelect.
virtual void SetEps(Float_t eps)
CellId_t(Int_t t, Int_t s, Float_t f=1.0f)
std::vector< CellGeom_t > vCellGeom_t
Bool_t IsUpperRho() const
Float_t ThetaDelta() const
Class to manage histogram axis.
void ProcessSelection(vCellId_t &sel_cells, TGLSelectRecord &rec)
Process newly selected cells with given select-record.
std::vector< Float_t >::iterator vFloat_i
tomato 2-D histogram with a float per channel (see TH1 documentation)}
Standard selection record including information about containing scene and details ob out selected ob...
virtual void GetEtaLimits(Double_t &min, Double_t &max) const
Cell geometry inner structure.
virtual void GetCellData(const CellId_t &id, CellData_t &data) const =0
virtual void CellSelectionChanged()
Tell users (TEveCaloViz instances using this data) that cell selection has changed and they should up...
CellGeom_t(Float_t etaMin, Float_t etaMax, Float_t phiMin, Float_t phiMax)
vCellId_t & GetCellsHighlighted()
std::vector< TEveCaloData::CellGeom_t > & GetCellGeom()
TEveCaloData & operator=(const TEveCaloData &)
void SetWrapTwoPi(Bool_t w)
Color_t GetSliceColor(Int_t slice) const
Get color for given slice.
virtual void Dump() const
Dump contents of object on stdout.
void SetSliceTransparency(Int_t slice, Char_t t)
Set transparency for given slice.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
virtual TAxis * GetPhiBins() const
virtual Float_t GetEps() const
std::vector< Float_t > fSliceData
std::vector< CellGeom_t >::const_iterator vCellGeom_ci
virtual void GetEtaLimits(Double_t &min, Double_t &max) const =0
Float_t GetSliceThreshold(Int_t slice) const
Get threshold for given slice.
Cell data inner structure.
void PrintCellsSelected()
Print selected cells info.
virtual Float_t GetMaxVal(Bool_t et) const
void SetSliceThreshold(Int_t slice, Float_t threshold)
Set threshold for given slice.
bool operator<(const CellId_t &o) const
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
virtual void SetEtaBins(TAxis *ax)
virtual void Rebin(TAxis *ax, TAxis *ay, vCellId_t &in, Bool_t et, RebinData_t &out) const =0
virtual void SetPhiBins(TAxis *ax)
A central manager for calorimeter data of an event written in TH2F.