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()
virtual voidDataChanged()
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
virtual voidTEveRefBackPtr::IncRefCount(TEveElement* re)
virtual voidInvalidateUsersCellIdCache()
virtual TClass*IsA() const
virtual voidTEveRefCnt::OnZeroRefCount()
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)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidTEveRefBackPtr::StampBackPtrElements(UChar_t stamps)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
private:
TEveCaloData&operator=(const TEveCaloData&)

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

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; }
void Rebin(TAxis* ax, TAxis* ay, TEveCaloData::vCellId_t& in, Bool_t et, TEveCaloData::RebinData_t& out) const

Author: Matevz Tadel 2007
Last change: root/eve:$Id: TEveCaloData.h 26561 2008-12-01 17:35:55Z matevz $
Last generated: 2008-12-02 08:45
Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.