TEveCaloViz Class Reference

#include <TEveCalo.h>

Inheritance diagram for TEveCaloViz:

TEveProjectable TAttBBox TAtt3D TNamed TEveElement TEveProjectable TAttBBox TAtt3D TNamed TEveElement TEveCalo2D TEveCalo2D TEveCalo3D TEveCalo3D TEveCaloLego TEveCaloLego List of all members.

Public Member Functions

 TEveCaloViz (TEveCaloData *data=0, const char *n="TEveCaloViz", const char *t="")
virtual ~TEveCaloViz ()
virtual TEveElementForwardSelection ()
virtual TEveElementForwardEdit ()
virtual void Paint (Option_t *option="")
virtual TClassProjectedClass (const TEveProjection *p) const
virtual Float_t GetValToHeight () const
virtual void CellSelectionChanged ()
virtual void SetScaleAbs (Bool_t x)
TEveCaloDataGetData () const
void SetData (TEveCaloData *d)
void DataChanged ()
Float_t GetMaxVal () const
Bool_t AssertCellIdCache () const
void InvalidateCellIdCache ()
Float_t GetDataSliceThreshold (Int_t slice) const
void SetDataSliceThreshold (Int_t slice, Float_t val)
Color_t GetDataSliceColor (Int_t slice) const
void SetDataSliceColor (Int_t slice, Color_t col)
Float_t GetBarrelRadius () const
void SetBarrelRadius (Float_t r)
Float_t GetEndCapPos () const
void SetEndCapPos (Float_t z)
Bool_t GetPlotEt () const
void SetPlotEt (Bool_t x)
void SetMaxTowerH (Float_t x)
Float_t GetMaxTowerH () const
Bool_t GetScaleAbs () const
void SetMaxValAbs (Float_t x)
Float_t GetMaxValAbs () const
Float_t GetTransitionEta () const
Float_t GetTransitionTheta () const
TEveRGBAPaletteGetPalette () const
void SetPalette (TEveRGBAPalette *p)
TEveRGBAPaletteAssertPalette ()
Bool_t GetValueIsColor () const
void SetValueIsColor (Bool_t x)
Bool_t GetAutoRange () const
void SetAutoRange (Bool_t x)
void SetEta (Float_t l, Float_t u)
Float_t GetEta () const
Float_t GetEtaMin () const
Float_t GetEtaMax () const
Float_t GetEtaRng () const
void SetPhi (Float_t phi)
void SetPhiRng (Float_t rng)
void SetPhiWithRng (Float_t x, Float_t r)
Float_t GetPhi () const
Float_t GetPhiMin () const
Float_t GetPhiMax () const
Float_t GetPhiRng () const
Bool_t CellInEtaPhiRng (TEveCaloData::CellData_t &) const
 ClassDef (TEveCaloViz, 0)
 TEveCaloViz (TEveCaloData *data=0, const char *n="TEveCaloViz", const char *t="")
virtual ~TEveCaloViz ()
virtual TEveElementForwardSelection ()
virtual TEveElementForwardEdit ()
virtual void Paint (Option_t *option="")
virtual TClassProjectedClass (const TEveProjection *p) const
virtual Float_t GetValToHeight () const
virtual void CellSelectionChanged ()
virtual void SetScaleAbs (Bool_t x)
TEveCaloDataGetData () const
void SetData (TEveCaloData *d)
void DataChanged ()
Float_t GetMaxVal () const
Bool_t AssertCellIdCache () const
void InvalidateCellIdCache ()
Float_t GetDataSliceThreshold (Int_t slice) const
void SetDataSliceThreshold (Int_t slice, Float_t val)
Color_t GetDataSliceColor (Int_t slice) const
void SetDataSliceColor (Int_t slice, Color_t col)
Float_t GetBarrelRadius () const
void SetBarrelRadius (Float_t r)
Float_t GetEndCapPos () const
void SetEndCapPos (Float_t z)
Bool_t GetPlotEt () const
void SetPlotEt (Bool_t x)
void SetMaxTowerH (Float_t x)
Float_t GetMaxTowerH () const
Bool_t GetScaleAbs () const
void SetMaxValAbs (Float_t x)
Float_t GetMaxValAbs () const
Float_t GetTransitionEta () const
Float_t GetTransitionTheta () const
TEveRGBAPaletteGetPalette () const
void SetPalette (TEveRGBAPalette *p)
TEveRGBAPaletteAssertPalette ()
Bool_t GetValueIsColor () const
void SetValueIsColor (Bool_t x)
Bool_t GetAutoRange () const
void SetAutoRange (Bool_t x)
void SetEta (Float_t l, Float_t u)
Float_t GetEta () const
Float_t GetEtaMin () const
Float_t GetEtaMax () const
Float_t GetEtaRng () const
void SetPhi (Float_t phi)
void SetPhiRng (Float_t rng)
void SetPhiWithRng (Float_t x, Float_t r)
Float_t GetPhi () const
Float_t GetPhiMin () const
Float_t GetPhiMax () const
Float_t GetPhiRng () const
Bool_t CellInEtaPhiRng (TEveCaloData::CellData_t &) const
 ClassDef (TEveCaloViz, 0)

Protected Member Functions

void AssignCaloVizParameters (TEveCaloViz *cv)
void SetupColorHeight (Float_t value, Int_t slice, Float_t &height) const
virtual void BuildCellIdCache ()=0
void AssignCaloVizParameters (TEveCaloViz *cv)
void SetupColorHeight (Float_t value, Int_t slice, Float_t &height) const
virtual void BuildCellIdCache ()=0

Protected Attributes

TEveCaloDatafData
Bool_t fCellIdCacheOK
Double_t fEtaMin
Double_t fEtaMax
Double_t fPhi
Double_t fPhiOffset
Bool_t fAutoRange
Float_t fBarrelRadius
Float_t fEndCapPos
Float_t fPlotEt
Float_t fMaxTowerH
Bool_t fScaleAbs
Float_t fMaxValAbs
Bool_t fValueIsColor
TEveRGBAPalettefPalette
TEveCaloDatafData
TEveRGBAPalettefPalette

Private Member Functions

 TEveCaloViz (const TEveCaloViz &)
TEveCaloVizoperator= (const TEveCaloViz &)
 TEveCaloViz (const TEveCaloViz &)
TEveCaloVizoperator= (const TEveCaloViz &)

Friends

class TEveCaloVizEditor

Detailed Description

Definition at line 26 of file TEveCalo.h.


Constructor & Destructor Documentation

TEveCaloViz::TEveCaloViz ( const TEveCaloViz  )  [private]

TEveCaloViz::TEveCaloViz ( TEveCaloData data = 0,
const char *  n = "TEveCaloViz",
const char *  t = "" 
)

Definition at line 41 of file TEveCalo.cxx.

References data, TEveElement::fPickable, kTRUE, SetData(), and TEveElement::SetElementNameTitle().

TEveCaloViz::~TEveCaloViz (  )  [virtual]

Definition at line 77 of file TEveCalo.cxx.

References TEveRefCnt::DecRefCount(), and fPalette.

TEveCaloViz::TEveCaloViz ( const TEveCaloViz  )  [private]

TEveCaloViz::TEveCaloViz ( TEveCaloData data = 0,
const char *  n = "TEveCaloViz",
const char *  t = "" 
)

virtual TEveCaloViz::~TEveCaloViz (  )  [virtual]


Member Function Documentation

TEveCaloViz& TEveCaloViz::operator= ( const TEveCaloViz  )  [private]

void TEveCaloViz::AssignCaloVizParameters ( TEveCaloViz cv  )  [protected]

Definition at line 282 of file TEveCalo.cxx.

References TEveRefCnt::DecRefCount(), fBarrelRadius, fEndCapPos, fEtaMax, fEtaMin, fPalette, fPhi, fPhiOffset, TEveRGBAPalette::GetDefaultColor(), TEveRGBAPalette::GetInterpolate(), TEveRGBAPalette::GetMaxVal(), TEveRGBAPalette::GetMinVal(), m, SetData(), and TEveRGBAPalette::SetDefaultColor().

Referenced by TEveCalo2D::SetProjection().

void TEveCaloViz::SetupColorHeight ( Float_t  value,
Int_t  slice,
Float_t height 
) const [protected]

Definition at line 375 of file TEveCalo.cxx.

References c, TGLUtil::Color4ubv(), TEveRGBAPalette::ColorFromValue(), TGLUtil::ColorTransparency(), fData, fPalette, fPlotEt, fValueIsColor, TEveCaloData::GetMaxVal(), TEveCaloData::GetSliceColor(), TEveCaloData::GetSliceTransparency(), and GetValToHeight().

Referenced by TEveCalo3DGL::DirectDraw(), TEveCalo2DGL::DrawRhoZ(), TEveCalo2DGL::DrawRhoZHighlighted(), TEveCalo2DGL::DrawRPhi(), TEveCalo2DGL::DrawRPhiHighlighted(), and TEveCalo3DGL::DrawSelectedCells().

virtual void TEveCaloViz::BuildCellIdCache (  )  [protected, pure virtual]

Referenced by AssertCellIdCache().

TEveElement * TEveCaloViz::ForwardSelection (  )  [virtual]

Reimplemented from TEveElement.

Definition at line 93 of file TEveCalo.cxx.

References fData.

TEveElement * TEveCaloViz::ForwardEdit (  )  [virtual]

Reimplemented from TEveElement.

Definition at line 102 of file TEveCalo.cxx.

void TEveCaloViz::Paint ( Option_t option = ""  )  [virtual]

Reimplemented from TObject.

Definition at line 356 of file TEveCalo.cxx.

References fData, and TEveElement::PaintStandard().

TClass * TEveCaloViz::ProjectedClass ( const TEveProjection p  )  const [virtual]

Implements TEveProjectable.

Definition at line 367 of file TEveCalo.cxx.

References xmlio::Class.

Float_t TEveCaloViz::GetValToHeight (  )  const [virtual]

Definition at line 318 of file TEveCalo.cxx.

References TEveCaloData::Empty(), fData, fMaxTowerH, fMaxValAbs, fPlotEt, fScaleAbs, and TEveCaloData::GetMaxVal().

Referenced by TEveCaloLego::ComputeBBox(), TEveCalo3D::ComputeBBox(), and SetupColorHeight().

virtual void TEveCaloViz::CellSelectionChanged (  )  [inline, virtual]

Definition at line 81 of file TEveCalo.h.

Referenced by TEveCaloData::CellSelectionChanged().

virtual void TEveCaloViz::SetScaleAbs ( Bool_t  x  )  [inline, virtual]

Definition at line 83 of file TEveCalo.h.

References fScaleAbs.

Referenced by TEveCaloVizEditor::DoScaleAbs(), and TEveCalo2D::SetScaleAbs().

TEveCaloData* TEveCaloViz::GetData (  )  const [inline]

Definition at line 85 of file TEveCalo.h.

References fData.

Referenced by TEveCaloVizEditor::DoSliceTransparency(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TEveCaloLegoGL::DrawCells2D(), TEveCaloLegoGL::DrawCells3D(), TEveCalo2DGL::DrawRhoZ(), TEveCalo2DGL::DrawRhoZHighlighted(), TEveCalo2DGL::DrawRPhi(), TEveCaloLegoGL::GetGridStep(), TEveCaloVizEditor::MakeSliceInfo(), TEveCaloLegoOverlay::Render(), TEveCalo3DGL::RenderGridBarrel(), TEveCalo3DGL::RenderGridEndCap(), TEveCaloVizEditor::SetModel(), and TEveCaloLegoGL::WrapTwoPi().

void TEveCaloViz::SetData ( TEveCaloData d  ) 

Definition at line 200 of file TEveCalo.cxx.

References TEveElement::AddElement(), data, DataChanged(), fData, and TEveElement::RemoveElement().

Referenced by AssignCaloVizParameters(), TEveCaloLego::SetData(), and TEveCaloViz().

void TEveCaloViz::DataChanged (  ) 

Definition at line 216 of file TEveCalo.cxx.

References TMath::CeilNint(), fAutoRange, fData, fEtaMax, fEtaMin, fPalette, fPhi, fPhiOffset, TEveCaloData::GetEtaLimits(), GetMaxVal(), TEveCaloData::GetPhiLimits(), hlimit, InvalidateCellIdCache(), max, min, TEveRGBAPalette::SetLimits(), TEveRGBAPalette::SetMax(), and TEveRGBAPalette::SetMin().

Referenced by TEveCaloData::DataChanged(), and SetData().

Float_t TEveCaloViz::GetMaxVal (  )  const

Definition at line 159 of file TEveCalo.cxx.

References fData, fPlotEt, and TEveCaloData::GetMaxVal().

Referenced by AssertPalette(), TEveCaloLego::ComputeBBox(), DataChanged(), TEveCaloLegoGL::DirectDraw(), TEveCaloLegoOverlay::RenderLogaritmicScales(), TEveCaloLegoOverlay::RenderPaletteScales(), TEveCaloLegoOverlay::RenderPlaneInterface(), and SetPlotEt().

Bool_t TEveCaloViz::AssertCellIdCache (  )  const

Definition at line 253 of file TEveCalo.cxx.

References BuildCellIdCache(), fCellIdCacheOK, kFALSE, and kTRUE.

Referenced by TEveCaloLegoGL::DirectDraw(), and TEveCalo2D::GetValToHeight().

void TEveCaloViz::InvalidateCellIdCache (  )  [inline]

Definition at line 91 of file TEveCalo.h.

References fCellIdCacheOK, kFALSE, and TAttBBox::ResetBBox().

Referenced by DataChanged(), TEveCaloData::InvalidateUsersCellIdCache(), SetEta(), SetPhiWithRng(), and SetPlotEt().

Float_t TEveCaloViz::GetDataSliceThreshold ( Int_t  slice  )  const

Definition at line 85 of file TEveCalo.cxx.

References fData, and TEveCaloData::RefSliceInfo().

Referenced by TEveCaloLegoGL::PrepareCell2DDataRebin().

void TEveCaloViz::SetDataSliceThreshold ( Int_t  slice,
Float_t  val 
)

Definition at line 112 of file TEveCalo.cxx.

References fData, and TEveCaloData::SetSliceThreshold().

Referenced by TEveCaloVizEditor::DoSliceThreshold().

Color_t TEveCaloViz::GetDataSliceColor ( Int_t  slice  )  const

Definition at line 120 of file TEveCalo.cxx.

References fData, and TEveCaloData::RefSliceInfo().

Referenced by TEveCaloLegoGL::DrawCells3D().

void TEveCaloViz::SetDataSliceColor ( Int_t  slice,
Color_t  col 
)

Definition at line 128 of file TEveCalo.cxx.

References fData, and TEveCaloData::SetSliceColor().

Referenced by TEveCaloVizEditor::DoSliceColor().

Float_t TEveCaloViz::GetBarrelRadius (  )  const [inline]

Definition at line 98 of file TEveCalo.h.

References fBarrelRadius.

Referenced by TEveCalo3DGL::RenderBarrelCell(), TEveCalo3DGL::RenderGridBarrel(), and TEveCalo3DGL::RenderGridEndCap().

void TEveCaloViz::SetBarrelRadius ( Float_t  r  )  [inline]

Definition at line 99 of file TEveCalo.h.

References fBarrelRadius, and TAttBBox::ResetBBox().

Referenced by MakeCalo3D().

Float_t TEveCaloViz::GetEndCapPos (  )  const [inline]

Definition at line 100 of file TEveCalo.h.

References fEndCapPos.

Referenced by TEveCalo2DGL::MakeRhoZCell(), TEveCalo3DGL::RenderGridBarrel(), and TEveCalo3DGL::RenderGridEndCap().

void TEveCaloViz::SetEndCapPos ( Float_t  z  )  [inline]

Definition at line 101 of file TEveCalo.h.

References fEndCapPos, and TAttBBox::ResetBBox().

Referenced by MakeCalo3D().

Bool_t TEveCaloViz::GetPlotEt (  )  const [inline]

Definition at line 103 of file TEveCalo.h.

References fPlotEt.

Referenced by TEveCaloLegoGL::DrawAxis3D(), and TEveCaloVizEditor::SetModel().

void TEveCaloViz::SetPlotEt ( Bool_t  x  ) 

Definition at line 147 of file TEveCalo.cxx.

References TMath::CeilNint(), fPalette, fPlotEt, GetMaxVal(), InvalidateCellIdCache(), and TEveRGBAPalette::SetLimits().

Referenced by TEveCaloVizEditor::DoPlot().

void TEveCaloViz::SetMaxTowerH ( Float_t  x  )  [inline]

Definition at line 106 of file TEveCalo.h.

References fMaxTowerH.

Referenced by calo_detail(), and TEveCaloVizEditor::DoMaxTowerH().

Float_t TEveCaloViz::GetMaxTowerH (  )  const [inline]

Definition at line 107 of file TEveCalo.h.

References fMaxTowerH.

Referenced by TEveCaloLegoGL::GetScaleForMatrix(), and TEveCaloVizEditor::SetModel().

Bool_t TEveCaloViz::GetScaleAbs (  )  const [inline]

Definition at line 108 of file TEveCalo.h.

References fScaleAbs.

Referenced by TEveCaloVizEditor::SetModel().

void TEveCaloViz::SetMaxValAbs ( Float_t  x  )  [inline]

Definition at line 109 of file TEveCalo.h.

References fMaxValAbs.

Referenced by TEveCaloVizEditor::DoMaxValAbs().

Float_t TEveCaloViz::GetMaxValAbs (  )  const [inline]

Definition at line 110 of file TEveCalo.h.

References fMaxValAbs.

Referenced by TEveCaloVizEditor::SetModel().

Float_t TEveCaloViz::GetTransitionEta (  )  const

Definition at line 190 of file TEveCalo.cxx.

References GetTransitionTheta(), TMath::Log(), t, and TMath::Tan().

Referenced by TEveCalo3DGL::DirectDraw(), TEveCalo2DGL::DrawRhoZ(), TEveCalo2DGL::DrawRhoZHighlighted(), TEveCalo3DGL::DrawSelectedCells(), TEveCalo3DGL::RenderGrid(), TEveCalo3DGL::RenderGridBarrel(), and TEveCalo3DGL::RenderGridEndCap().

Float_t TEveCaloViz::GetTransitionTheta (  )  const

Definition at line 182 of file TEveCalo.cxx.

References TMath::ATan(), fBarrelRadius, and fEndCapPos.

Referenced by GetTransitionEta().

TEveRGBAPalette* TEveCaloViz::GetPalette (  )  const [inline]

Definition at line 115 of file TEveCalo.h.

References fPalette.

Referenced by TEveCaloLegoOverlay::Render(), and TEveCaloLegoOverlay::RenderPaletteScales().

void TEveCaloViz::SetPalette ( TEveRGBAPalette p  ) 

Definition at line 307 of file TEveCalo.cxx.

References TEveRefCnt::DecRefCount(), fPalette, TEveRefCnt::IncRefCount(), and p.

TEveRGBAPalette * TEveCaloViz::AssertPalette (  ) 

Definition at line 336 of file TEveCalo.cxx.

References TMath::CeilNint(), fPalette, GetMaxVal(), hlimit, TEveRGBAPalette::SetDefaultColor(), TEveRGBAPalette::SetLimits(), TEveRGBAPalette::SetMax(), and TEveRGBAPalette::SetMin().

Referenced by TEveCalo3DGL::DirectDraw(), TEveCalo2DGL::DirectDraw(), and TEveCaloLegoGL::DrawCells2D().

Bool_t TEveCaloViz::GetValueIsColor (  )  const [inline]

Definition at line 119 of file TEveCalo.h.

References fValueIsColor.

Referenced by TEveCalo3DGL::DirectDraw().

void TEveCaloViz::SetValueIsColor ( Bool_t  x  )  [inline]

Definition at line 120 of file TEveCalo.h.

References fValueIsColor.

Bool_t TEveCaloViz::GetAutoRange (  )  const [inline]

Definition at line 122 of file TEveCalo.h.

References fAutoRange.

void TEveCaloViz::SetAutoRange ( Bool_t  x  )  [inline]

Definition at line 123 of file TEveCalo.h.

References fAutoRange.

void TEveCaloViz::SetEta ( Float_t  l,
Float_t  u 
)

Definition at line 136 of file TEveCalo.cxx.

References fEtaMax, fEtaMin, and InvalidateCellIdCache().

Referenced by TEveCaloVizEditor::DoEtaRange().

Float_t TEveCaloViz::GetEta (  )  const [inline]

Definition at line 126 of file TEveCalo.h.

References fEtaMax, and fEtaMin.

Referenced by TEveCalo2D::BuildCellIdCache(), TEveCalo3D::BuildCellIdCache(), TEveCaloLego::BuildCellIdCache(), and TEveCaloLegoGL::DrawHighlight().

Float_t TEveCaloViz::GetEtaMin (  )  const [inline]

Definition at line 127 of file TEveCalo.h.

References fEtaMin.

Referenced by TEveCalo2D::BuildCellIdCache(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TEveCaloLegoGL::GetGridStep(), TEveCaloLegoGL::MakeQuad(), TEveCaloLegoOverlay::Render(), TEveCalo3DGL::RenderGrid(), TEveCalo3DGL::RenderGridBarrel(), and TEveCalo3DGL::RenderGridEndCap().

Float_t TEveCaloViz::GetEtaMax (  )  const [inline]

Definition at line 128 of file TEveCalo.h.

References fEtaMax.

Referenced by TEveCalo2D::BuildCellIdCache(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TEveCaloLegoGL::GetGridStep(), TEveCaloLegoGL::MakeQuad(), TEveCaloLegoOverlay::Render(), TEveCalo3DGL::RenderGrid(), TEveCalo3DGL::RenderGridBarrel(), and TEveCalo3DGL::RenderGridEndCap().

Float_t TEveCaloViz::GetEtaRng (  )  const [inline]

Definition at line 129 of file TEveCalo.h.

References fEtaMax, and fEtaMin.

Referenced by TEveCalo2D::BuildCellIdCache(), TEveCalo3D::BuildCellIdCache(), TEveCaloLego::BuildCellIdCache(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TEveCaloLegoGL::GetScaleForMatrix(), and TEveCaloLegoOverlay::Render().

void TEveCaloViz::SetPhi ( Float_t  phi  )  [inline]

Definition at line 131 of file TEveCalo.h.

References fPhiOffset, and SetPhiWithRng().

void TEveCaloViz::SetPhiRng ( Float_t  rng  )  [inline]

Definition at line 132 of file TEveCalo.h.

References fPhi, and SetPhiWithRng().

void TEveCaloViz::SetPhiWithRng ( Float_t  x,
Float_t  r 
)

Definition at line 169 of file TEveCalo.cxx.

References fPhi, fPhiOffset, and InvalidateCellIdCache().

Referenced by TEveCaloVizEditor::DoPhi(), SetPhi(), and SetPhiRng().

Float_t TEveCaloViz::GetPhi (  )  const [inline]

Definition at line 134 of file TEveCalo.h.

References fPhi.

Referenced by TEveCalo3D::BuildCellIdCache(), and TEveCaloLego::BuildCellIdCache().

Float_t TEveCaloViz::GetPhiMin (  )  const [inline]

Definition at line 135 of file TEveCalo.h.

References fPhi, and fPhiOffset.

Referenced by TEveCalo2D::BuildCellIdCache(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TEveCaloLegoGL::DrawHistBase(), TEveCaloLegoGL::GetGridStep(), TEveCaloLegoGL::MakeQuad(), TEveCaloLegoOverlay::Render(), TEveCalo3DGL::RenderGridBarrel(), TEveCalo3DGL::RenderGridEndCap(), and TEveCaloLegoGL::WrapTwoPi().

Float_t TEveCaloViz::GetPhiMax (  )  const [inline]

Definition at line 136 of file TEveCalo.h.

References fPhi, and fPhiOffset.

Referenced by TEveCalo2D::BuildCellIdCache(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TEveCaloLegoGL::DrawHistBase(), TEveCaloLegoGL::GetGridStep(), TEveCaloLegoGL::MakeQuad(), TEveCaloLegoOverlay::Render(), TEveCalo3DGL::RenderGridBarrel(), TEveCalo3DGL::RenderGridEndCap(), and TEveCaloLegoGL::WrapTwoPi().

Float_t TEveCaloViz::GetPhiRng (  )  const [inline]

Definition at line 137 of file TEveCalo.h.

References fPhiOffset.

Referenced by TEveCalo2D::BuildCellIdCache(), TEveCalo3D::BuildCellIdCache(), TEveCaloLego::BuildCellIdCache(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TEveCaloLegoGL::GetScaleForMatrix(), and TEveCaloLegoOverlay::Render().

Bool_t TEveCaloViz::CellInEtaPhiRng ( TEveCaloData::CellData_t  )  const

Definition at line 268 of file TEveCalo.cxx.

References TEveCaloData::CellGeom_t::EtaMax(), TEveCaloData::CellGeom_t::EtaMin(), fEtaMax, fEtaMin, fPhi, fPhiOffset, TEveUtil::IsU1IntervalContainedByMinMax(), kFALSE, kTRUE, TEveCaloData::CellGeom_t::PhiMax(), and TEveCaloData::CellGeom_t::PhiMin().

Referenced by TEveCaloLegoGL::DrawSelectedCells(), and TEveCalo3DGL::DrawSelectedCells().

TEveCaloViz::ClassDef ( TEveCaloViz  ,
 
)

TEveCaloViz& TEveCaloViz::operator= ( const TEveCaloViz  )  [private]

void TEveCaloViz::AssignCaloVizParameters ( TEveCaloViz cv  )  [protected]

void TEveCaloViz::SetupColorHeight ( Float_t  value,
Int_t  slice,
Float_t height 
) const [protected]

virtual void TEveCaloViz::BuildCellIdCache (  )  [protected, pure virtual]

virtual TEveElement* TEveCaloViz::ForwardSelection (  )  [virtual]

Reimplemented from TEveElement.

virtual TEveElement* TEveCaloViz::ForwardEdit (  )  [virtual]

Reimplemented from TEveElement.

virtual void TEveCaloViz::Paint ( Option_t option = ""  )  [virtual]

Reimplemented from TObject.

virtual TClass* TEveCaloViz::ProjectedClass ( const TEveProjection p  )  const [virtual]

Implements TEveProjectable.

virtual Float_t TEveCaloViz::GetValToHeight (  )  const [virtual]

virtual void TEveCaloViz::CellSelectionChanged (  )  [inline, virtual]

Definition at line 81 of file TEveCalo.h.

virtual void TEveCaloViz::SetScaleAbs ( Bool_t  x  )  [inline, virtual]

Definition at line 83 of file TEveCalo.h.

References fScaleAbs.

TEveCaloData* TEveCaloViz::GetData (  )  const [inline]

Definition at line 85 of file TEveCalo.h.

References fData.

void TEveCaloViz::SetData ( TEveCaloData d  ) 

void TEveCaloViz::DataChanged (  ) 

Float_t TEveCaloViz::GetMaxVal (  )  const

Bool_t TEveCaloViz::AssertCellIdCache (  )  const

void TEveCaloViz::InvalidateCellIdCache (  )  [inline]

Definition at line 91 of file TEveCalo.h.

References fCellIdCacheOK, kFALSE, and TAttBBox::ResetBBox().

Float_t TEveCaloViz::GetDataSliceThreshold ( Int_t  slice  )  const

void TEveCaloViz::SetDataSliceThreshold ( Int_t  slice,
Float_t  val 
)

Color_t TEveCaloViz::GetDataSliceColor ( Int_t  slice  )  const

void TEveCaloViz::SetDataSliceColor ( Int_t  slice,
Color_t  col 
)

Float_t TEveCaloViz::GetBarrelRadius (  )  const [inline]

Definition at line 98 of file TEveCalo.h.

References fBarrelRadius.

void TEveCaloViz::SetBarrelRadius ( Float_t  r  )  [inline]

Definition at line 99 of file TEveCalo.h.

References fBarrelRadius, and TAttBBox::ResetBBox().

Float_t TEveCaloViz::GetEndCapPos (  )  const [inline]

Definition at line 100 of file TEveCalo.h.

References fEndCapPos.

void TEveCaloViz::SetEndCapPos ( Float_t  z  )  [inline]

Definition at line 101 of file TEveCalo.h.

References fEndCapPos, and TAttBBox::ResetBBox().

Bool_t TEveCaloViz::GetPlotEt (  )  const [inline]

Definition at line 103 of file TEveCalo.h.

References fPlotEt.

void TEveCaloViz::SetPlotEt ( Bool_t  x  ) 

void TEveCaloViz::SetMaxTowerH ( Float_t  x  )  [inline]

Definition at line 106 of file TEveCalo.h.

References fMaxTowerH.

Float_t TEveCaloViz::GetMaxTowerH (  )  const [inline]

Definition at line 107 of file TEveCalo.h.

References fMaxTowerH.

Bool_t TEveCaloViz::GetScaleAbs (  )  const [inline]

Definition at line 108 of file TEveCalo.h.

References fScaleAbs.

void TEveCaloViz::SetMaxValAbs ( Float_t  x  )  [inline]

Definition at line 109 of file TEveCalo.h.

References fMaxValAbs.

Float_t TEveCaloViz::GetMaxValAbs (  )  const [inline]

Definition at line 110 of file TEveCalo.h.

References fMaxValAbs.

Float_t TEveCaloViz::GetTransitionEta (  )  const

Float_t TEveCaloViz::GetTransitionTheta (  )  const

TEveRGBAPalette* TEveCaloViz::GetPalette (  )  const [inline]

Definition at line 115 of file TEveCalo.h.

References fPalette.

void TEveCaloViz::SetPalette ( TEveRGBAPalette p  ) 

TEveRGBAPalette* TEveCaloViz::AssertPalette (  ) 

Bool_t TEveCaloViz::GetValueIsColor (  )  const [inline]

Definition at line 119 of file TEveCalo.h.

References fValueIsColor.

void TEveCaloViz::SetValueIsColor ( Bool_t  x  )  [inline]

Definition at line 120 of file TEveCalo.h.

References fValueIsColor.

Bool_t TEveCaloViz::GetAutoRange (  )  const [inline]

Definition at line 122 of file TEveCalo.h.

References fAutoRange.

void TEveCaloViz::SetAutoRange ( Bool_t  x  )  [inline]

Definition at line 123 of file TEveCalo.h.

References fAutoRange.

void TEveCaloViz::SetEta ( Float_t  l,
Float_t  u 
)

Float_t TEveCaloViz::GetEta (  )  const [inline]

Definition at line 126 of file TEveCalo.h.

References fEtaMax, and fEtaMin.

Float_t TEveCaloViz::GetEtaMin (  )  const [inline]

Definition at line 127 of file TEveCalo.h.

References fEtaMin.

Float_t TEveCaloViz::GetEtaMax (  )  const [inline]

Definition at line 128 of file TEveCalo.h.

References fEtaMax.

Float_t TEveCaloViz::GetEtaRng (  )  const [inline]

Definition at line 129 of file TEveCalo.h.

References fEtaMax, and fEtaMin.

void TEveCaloViz::SetPhi ( Float_t  phi  )  [inline]

Definition at line 131 of file TEveCalo.h.

References fPhiOffset, and SetPhiWithRng().

void TEveCaloViz::SetPhiRng ( Float_t  rng  )  [inline]

Definition at line 132 of file TEveCalo.h.

References fPhi, and SetPhiWithRng().

void TEveCaloViz::SetPhiWithRng ( Float_t  x,
Float_t  r 
)

Float_t TEveCaloViz::GetPhi (  )  const [inline]

Definition at line 134 of file TEveCalo.h.

References fPhi.

Float_t TEveCaloViz::GetPhiMin (  )  const [inline]

Definition at line 135 of file TEveCalo.h.

References fPhi, and fPhiOffset.

Float_t TEveCaloViz::GetPhiMax (  )  const [inline]

Definition at line 136 of file TEveCalo.h.

References fPhi, and fPhiOffset.

Float_t TEveCaloViz::GetPhiRng (  )  const [inline]

Definition at line 137 of file TEveCalo.h.

References fPhiOffset.

Bool_t TEveCaloViz::CellInEtaPhiRng ( TEveCaloData::CellData_t  )  const

TEveCaloViz::ClassDef ( TEveCaloViz  ,
 
)


Friends And Related Function Documentation

TEveCaloVizEditor [friend]

Definition at line 32 of file TEveCalo.h.


Member Data Documentation

TEveCaloData* TEveCaloViz::fData [protected]

Definition at line 39 of file TEveCalo.h.

Referenced by TEveCalo2D::BuildCellIdCache(), TEveCalo3D::BuildCellIdCache(), TEveCaloLego::BuildCellIdCache(), TEveCalo2D::CellSelectionChanged(), TEveCalo2D::CellSelectionChangedInternal(), TEveCaloLego::ComputeBBox(), TEveCalo3D::ComputeBBox(), DataChanged(), TEveCaloLegoGL::DirectDraw(), TEveCalo3DGL::DirectDraw(), TEveCaloLegoGL::DrawAxis3D(), TEveCaloLegoGL::DrawCells2D(), TEveCalo3DGL::DrawHighlight(), TEveCalo2DGL::DrawHighlight(), TEveCaloLegoGL::DrawHighlight(), TEveCalo2DGL::DrawRPhiHighlighted(), TEveCalo3DGL::DrawSelectedCells(), TEveCaloLegoGL::DrawSelectedCells(), ForwardSelection(), GetData(), GetDataSliceColor(), GetDataSliceThreshold(), TEveCaloLegoGL::GetGridStep(), GetMaxVal(), TEveCaloLegoGL::GetScaleForMatrix(), GetValToHeight(), TEveCalo2D::GetValToHeight(), TEveCaloLegoGL::Make3DDisplayList(), TEveCaloLegoGL::Make3DDisplayListRebin(), Paint(), TEveCaloLegoGL::PrepareCell2DData(), TEveCaloLegoGL::PrepareCell2DDataRebin(), TEveCalo3DGL::ProcessSelection(), TEveCalo2DGL::ProcessSelection(), TEveCaloLegoGL::ProcessSelection(), TEveCaloLegoOverlay::Render(), SetData(), SetDataSliceColor(), SetDataSliceThreshold(), TEveCaloVizEditor::SetModel(), and SetupColorHeight().

Bool_t TEveCaloViz::fCellIdCacheOK [protected]

Definition at line 40 of file TEveCalo.h.

Referenced by AssertCellIdCache(), TEveCalo2D::BuildCellIdCache(), TEveCalo3D::BuildCellIdCache(), TEveCaloLego::BuildCellIdCache(), TEveCalo3DGL::DirectDraw(), TEveCalo2DGL::DirectDraw(), InvalidateCellIdCache(), TEveCaloLego::SetNormalizeRebin(), and TEveCalo2D::UpdateProjection().

Double_t TEveCaloViz::fEtaMin [protected]

Definition at line 42 of file TEveCalo.h.

Referenced by AssignCaloVizParameters(), CellInEtaPhiRng(), DataChanged(), TEveCaloLegoGL::DrawHistBase(), GetEta(), GetEtaMin(), GetEtaRng(), SetEta(), and TEveCaloVizEditor::SetModel().

Double_t TEveCaloViz::fEtaMax [protected]

Definition at line 43 of file TEveCalo.h.

Referenced by AssignCaloVizParameters(), CellInEtaPhiRng(), DataChanged(), TEveCaloLegoGL::DrawHistBase(), GetEta(), GetEtaMax(), GetEtaRng(), SetEta(), and TEveCaloVizEditor::SetModel().

Double_t TEveCaloViz::fPhi [protected]

Definition at line 45 of file TEveCalo.h.

Referenced by AssignCaloVizParameters(), TEveCalo2D::BuildCellIdCache(), CellInEtaPhiRng(), DataChanged(), TEveCaloLegoGL::DrawHighlight(), GetPhi(), GetPhiMax(), GetPhiMin(), TEveCaloVizEditor::SetModel(), SetPhiRng(), and SetPhiWithRng().

Double_t TEveCaloViz::fPhiOffset [protected]

Definition at line 46 of file TEveCalo.h.

Referenced by AssignCaloVizParameters(), CellInEtaPhiRng(), DataChanged(), GetPhiMax(), GetPhiMin(), GetPhiRng(), TEveCaloVizEditor::SetModel(), SetPhi(), and SetPhiWithRng().

Bool_t TEveCaloViz::fAutoRange [protected]

Definition at line 48 of file TEveCalo.h.

Referenced by DataChanged(), GetAutoRange(), and SetAutoRange().

Float_t TEveCaloViz::fBarrelRadius [protected]

Definition at line 50 of file TEveCalo.h.

Referenced by AssignCaloVizParameters(), TEveCalo3D::ComputeBBox(), TEveCalo2D::ComputeBBox(), GetBarrelRadius(), GetTransitionTheta(), TEveCalo2DGL::MakeRhoZCell(), TEveCalo2DGL::MakeRPhiCell(), and SetBarrelRadius().

Float_t TEveCaloViz::fEndCapPos [protected]

Definition at line 51 of file TEveCalo.h.

Referenced by AssignCaloVizParameters(), TEveCalo3D::ComputeBBox(), TEveCalo2D::ComputeBBox(), GetEndCapPos(), GetTransitionTheta(), TEveCalo3DGL::RenderEndCapCell(), and SetEndCapPos().

Float_t TEveCaloViz::fPlotEt [protected]

Definition at line 53 of file TEveCalo.h.

Referenced by TEveCalo3D::ComputeBBox(), TEveCaloLegoGL::DirectDraw(), TEveCalo3DGL::DirectDraw(), TEveCalo2DGL::DrawRhoZ(), TEveCalo2DGL::DrawRhoZHighlighted(), TEveCalo2DGL::DrawRPhi(), TEveCalo2DGL::DrawRPhiHighlighted(), TEveCalo3DGL::DrawSelectedCells(), TEveCaloLegoGL::DrawSelectedCells(), GetMaxVal(), GetPlotEt(), GetValToHeight(), TEveCalo2D::GetValToHeight(), TEveCaloLegoGL::Make3DDisplayList(), TEveCaloLegoGL::PrepareCell2DData(), SetPlotEt(), and SetupColorHeight().

Float_t TEveCaloViz::fMaxTowerH [protected]

Definition at line 55 of file TEveCalo.h.

Referenced by TEveCaloLego::ComputeBBox(), TEveCalo2D::ComputeBBox(), GetMaxTowerH(), GetValToHeight(), TEveCalo2D::GetValToHeight(), SetMaxTowerH(), and TEveCaloLego::TEveCaloLego().

Bool_t TEveCaloViz::fScaleAbs [protected]

Definition at line 56 of file TEveCalo.h.

Referenced by TEveCalo2D::BuildCellIdCache(), TEveCaloLego::ComputeBBox(), GetScaleAbs(), TEveCaloLegoGL::GetScaleForMatrix(), GetValToHeight(), TEveCalo2D::GetValToHeight(), and SetScaleAbs().

Float_t TEveCaloViz::fMaxValAbs [protected]

Definition at line 57 of file TEveCalo.h.

Referenced by GetMaxValAbs(), TEveCaloLegoGL::GetScaleForMatrix(), GetValToHeight(), TEveCalo2D::GetValToHeight(), and SetMaxValAbs().

Bool_t TEveCaloViz::fValueIsColor [protected]

Definition at line 59 of file TEveCalo.h.

Referenced by GetValueIsColor(), SetupColorHeight(), and SetValueIsColor().

TEveRGBAPalette* TEveCaloViz::fPalette [protected]

Definition at line 60 of file TEveCalo.h.

Referenced by AssertPalette(), AssignCaloVizParameters(), DataChanged(), TEveCaloLegoGL::DrawCells2D(), GetPalette(), SetPalette(), SetPlotEt(), SetupColorHeight(), and ~TEveCaloViz().

TEveCaloData* TEveCaloViz::fData [protected]

Definition at line 39 of file TEveCalo.h.

TEveRGBAPalette* TEveCaloViz::fPalette [protected]

Definition at line 60 of file TEveCalo.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:36:43 2011 for ROOT_528-00b_version by  doxygen 1.5.1