ROOT logo
ROOT » GRAF3D » EVE » TEveCaloData

class TEveCaloData: public TEveRefBackPtr


  A central manager for calorimeter event data. It provides a list of
  cells within requested phi and eta range.

Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~TEveCaloData()
static TClass*Class()
static TClass*TEveRefBackPtr::Class()
static TClass*TEveRefCnt::Class()
virtual voidDataChanged()
voidTEveRefCnt::DecRefCount()
virtual voidTEveRefBackPtr::DecRefCount(TEveElement* re)
Bool_tEmpty() const
static Float_tEtaToTheta(Float_t eta)
virtual voidGetCellData(const TEveCaloData::CellId_t& id, TEveCaloData::CellData_t& data) const
virtual voidGetCellList(Float_t etaMin, Float_t etaMax, Float_t phi, Float_t phiRng, TEveCaloData::vCellId_t& out) const
virtual Float_tGetEps() const
virtual TAxis*GetEtaBins() const
virtual voidGetEtaLimits(Double_t& min, Double_t& max) const
virtual Float_tGetMaxVal(Bool_t et) const
Int_tGetNSlices() const
virtual TAxis*GetPhiBins() const
virtual voidGetPhiLimits(Double_t& min, Double_t& max) const
Color_tGetSliceColor(Int_t slice) const
Float_tGetSliceThreshold(Int_t slice) const
Bool_tGetWrapTwoPi() const
voidTEveRefCnt::IncRefCount()
virtual voidTEveRefBackPtr::IncRefCount(TEveElement* re)
virtual voidInvalidateUsersCellIdCache()
virtual TClass*IsA() const
virtual TClass*TEveRefBackPtr::IsA() const
virtual TClass*TEveRefCnt::IsA() const
virtual voidTEveRefCnt::OnZeroRefCount()
TEveRefBackPtr&TEveRefBackPtr::operator=(const TEveRefBackPtr&)
TEveRefCnt&TEveRefCnt::operator=(const TEveRefCnt&)
virtual voidRebin(TAxis* ax, TAxis* ay, TEveCaloData::vCellId_t& in, Bool_t et, TEveCaloData::RebinData_t& out) const
TEveCaloData::SliceInfo_t&RefSliceInfo(Int_t s)
virtual voidSetEps(Float_t eps)
virtual voidSetEtaBins(TAxis* ax)
virtual voidSetPhiBins(TAxis* ax)
voidSetSliceColor(Int_t slice, Color_t col)
voidSetSliceThreshold(Int_t slice, Float_t threshold)
voidSetWrapTwoPi(Bool_t w)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidTEveRefBackPtr::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTEveRefCnt::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTEveRefBackPtr::StampBackPtrElements(UChar_t stamps)
virtual voidStreamer(TBuffer& b)
virtual voidTEveRefBackPtr::Streamer(TBuffer& b)
virtual voidTEveRefCnt::Streamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

protected:
list<TEveElement*>TEveRefBackPtr::fBackRefs
Float_tfEps
TAxis*fEtaAxis
Float_tfMaxValEcached
Float_tfMaxValEtcached
TAxis*fPhiAxis
Int_tTEveRefCnt::fRefCount
vector<TEveCaloData::SliceInfo_t,allocator<TEveCaloData::SliceInfo_t> >fSliceInfos
Bool_tfWrapTwoPi

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void SetSliceThreshold(Int_t slice, Float_t threshold)
 Set threshold for given slice.
Float_t GetSliceThreshold(Int_t slice) const
 Get threshold for given slice.
void SetSliceColor(Int_t slice, Color_t col)
 Set color for given slice.
Color_t GetSliceColor(Int_t slice) const
 Get color for given slice.
void InvalidateUsersCellIdCache()
 Invalidate cell ids cache on back ptr references.
void DataChanged()
 Tell users (TEveCaloViz instances using this data) that data
 has changed and they should update the limits/scales etc.
 This is done by calling TEveCaloViz::DataChanged().
Float_t EtaToTheta(Float_t eta)
TEveCaloData& operator=(const TEveCaloData& )
virtual ~TEveCaloData()
{}
void GetCellList(Float_t etaMin, Float_t etaMax, Float_t phi, Float_t phiRng, TEveCaloData::vCellId_t& out) const
void GetCellData(const TEveCaloData::CellId_t& id, TEveCaloData::CellData_t& data) const
Int_t GetNSlices() const
{ return fSliceInfos.size(); }
SliceInfo_t& RefSliceInfo(Int_t s)
{ return fSliceInfos[s]; }
void GetEtaLimits(Double_t& min, Double_t& max) const
void GetPhiLimits(Double_t& min, Double_t& max) const
Float_t GetMaxVal(Bool_t et) const
{ return et ? fMaxValEt : fMaxValE; }
Bool_t Empty() const
{ return fMaxValEt < 1e-5; }
TAxis* GetEtaBins() const
{ return fEtaAxis; }
void SetEtaBins(TAxis* ax)
{ fEtaAxis=ax; }
TAxis* GetPhiBins() const
{ return fPhiAxis; }
void SetPhiBins(TAxis* ax)
{ fPhiAxis=ax; }
Float_t GetEps() const
{ return fEps; }
void SetEps(Float_t eps)
{ fEps=eps; }
Bool_t GetWrapTwoPi() const
{ return fWrapTwoPi; }
void SetWrapTwoPi(Bool_t w)
{ fWrapTwoPi=w; }
void Rebin(TAxis* ax, TAxis* ay, TEveCaloData::vCellId_t& in, Bool_t et, TEveCaloData::RebinData_t& out) const