TEveCalo2D Class Reference

#include <TEveCalo.h>

Inheritance diagram for TEveCalo2D:

TEveCaloViz TEveProjected TEveCaloViz TEveProjected TEveProjectable TAttBBox TAtt3D TNamed TEveElement TEveProjectable TAttBBox TAtt3D TNamed TEveElement TEveProjectable TAttBBox TAtt3D TNamed TEveElement TEveProjectable TAttBBox TAtt3D TNamed TEveElement List of all members.

Public Member Functions

 TEveCalo2D (const char *n="TEveCalo2D", const char *t="")
virtual ~TEveCalo2D ()
virtual void SetProjection (TEveProjectionManager *proj, TEveProjectable *model)
virtual void UpdateProjection ()
virtual void ComputeBBox ()
virtual void CellSelectionChanged ()
virtual void SetScaleAbs (Bool_t)
virtual Float_t GetValToHeight () const
 ClassDef (TEveCalo2D, 0)
 TEveCalo2D (const char *n="TEveCalo2D", const char *t="")
virtual ~TEveCalo2D ()
virtual void SetProjection (TEveProjectionManager *proj, TEveProjectable *model)
virtual void UpdateProjection ()
virtual void ComputeBBox ()
virtual void CellSelectionChanged ()
virtual void SetScaleAbs (Bool_t)
virtual Float_t GetValToHeight () const
 ClassDef (TEveCalo2D, 0)

Protected Member Functions

virtual void BuildCellIdCache ()
virtual void SetDepthLocal (Float_t x)
virtual void BuildCellIdCache ()
virtual void SetDepthLocal (Float_t x)

Protected Attributes

std::vector< TEveCaloData::vCellId_t * > fCellLists
std::vector< TEveCaloData::vCellId_t * > fCellListsSelected
std::vector< TEveCaloData::vCellId_t * > fCellListsHighlighted
Float_t fMaxESumBin
Float_t fMaxEtSumBin
std::vector< TEveCaloData::vCellId_t * > fCellLists
std::vector< TEveCaloData::vCellId_t * > fCellListsSelected
std::vector< TEveCaloData::vCellId_t * > fCellListsHighlighted

Private Types

typedef std::vector< TEveCaloData::vCellId_t * > vBinCells_t
typedef std::vector< TEveCaloData::vCellId_t
* >::iterator 
vBinCells_i
typedef std::vector< TEveCaloData::vCellId_t * > vBinCells_t
typedef std::vector< TEveCaloData::vCellId_t
* >::iterator 
vBinCells_i

Private Member Functions

 TEveCalo2D (const TEveCalo2D &)
TEveCalo2Doperator= (const TEveCalo2D &)
void CellSelectionChangedInternal (TEveCaloData::vCellId_t &cells, std::vector< TEveCaloData::vCellId_t * > &cellLists)
 TEveCalo2D (const TEveCalo2D &)
TEveCalo2Doperator= (const TEveCalo2D &)
void CellSelectionChangedInternal (TEveCaloData::vCellId_t &cells, std::vector< TEveCaloData::vCellId_t * > &cellLists)

Private Attributes

TEveProjection::EPType_e fOldProjectionType

Friends

class TEveCalo2DGL

Detailed Description

Definition at line 190 of file TEveCalo.h.


Member Typedef Documentation

typedef std::vector<TEveCaloData::vCellId_t*> TEveCalo2D::vBinCells_t [private]

Definition at line 195 of file TEveCalo.h.

typedef std::vector<TEveCaloData::vCellId_t*>::iterator TEveCalo2D::vBinCells_i [private]

Definition at line 196 of file TEveCalo.h.

typedef std::vector<TEveCaloData::vCellId_t*> TEveCalo2D::vBinCells_t [private]

Definition at line 195 of file TEveCalo.h.

typedef std::vector<TEveCaloData::vCellId_t*>::iterator TEveCalo2D::vBinCells_i [private]

Definition at line 196 of file TEveCalo.h.


Constructor & Destructor Documentation

TEveCalo2D::TEveCalo2D ( const TEveCalo2D  )  [private]

TEveCalo2D::TEveCalo2D ( const char *  n = "TEveCalo2D",
const char *  t = "" 
)

Definition at line 464 of file TEveCalo.cxx.

TEveCalo2D::~TEveCalo2D (  )  [virtual]

Definition at line 475 of file TEveCalo.cxx.

References fCellLists, fCellListsSelected, i, and n.

TEveCalo2D::TEveCalo2D ( const TEveCalo2D  )  [private]

TEveCalo2D::TEveCalo2D ( const char *  n = "TEveCalo2D",
const char *  t = "" 
)

virtual TEveCalo2D::~TEveCalo2D (  )  [virtual]


Member Function Documentation

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

void TEveCalo2D::CellSelectionChangedInternal ( TEveCaloData::vCellId_t cells,
std::vector< TEveCaloData::vCellId_t * > &  cellLists 
) [private]

Definition at line 629 of file TEveCalo.cxx.

References axis, b, fCellLists, TEveCaloViz::fData, TEveProjected::fManager, TEveCaloData::GetEtaBins(), TEveCaloData::GetPhiBins(), TEveProjectionManager::GetProjection(), TEveProjection::GetType(), i, j, and TEveProjection::kPT_RPhi.

Referenced by CellSelectionChanged().

void TEveCalo2D::BuildCellIdCache (  )  [protected, virtual]

Implements TEveCaloViz.

Definition at line 527 of file TEveCalo.cxx.

References axis, ComputeBBox(), TEveCaloViz::fCellIdCacheOK, fCellLists, TEveCaloViz::fData, TEveProjected::fManager, fMaxESumBin, fMaxEtSumBin, TEveCaloViz::fPhi, TEveCaloViz::fScaleAbs, TEveCaloData::GetCellData(), TEveCaloData::GetCellList(), TEveCaloData::GetEps(), TEveCaloViz::GetEta(), TEveCaloData::GetEtaBins(), TEveCaloViz::GetEtaMax(), TEveCaloViz::GetEtaMin(), TEveCaloViz::GetEtaRng(), TEveCaloData::GetPhiBins(), TEveCaloViz::GetPhiMax(), TEveCaloViz::GetPhiMin(), TEveCaloViz::GetPhiRng(), TEveProjectionManager::GetProjection(), TEveProjection::GetType(), TEveUtil::IsU1IntervalOverlappingByMinMax(), kFALSE, TEveProjection::kPT_RPhi, kTRUE, low, max, TMath::Max(), min, and TEveCaloData::CellData_t::Value().

Referenced by TEveCalo2DGL::DirectDraw(), and SetScaleAbs().

virtual void TEveCalo2D::SetDepthLocal ( Float_t  x  )  [inline, protected, virtual]

Reimplemented from TEveProjected.

Definition at line 216 of file TEveCalo.h.

References TEveProjected::fDepth.

void TEveCalo2D::SetProjection ( TEveProjectionManager proj,
TEveProjectable model 
) [virtual]

Reimplemented from TEveProjected.

Definition at line 517 of file TEveCalo.cxx.

References TEveCaloViz::AssignCaloVizParameters(), model, and TEveProjected::SetProjection().

void TEveCalo2D::UpdateProjection (  )  [virtual]

Implements TEveProjected.

Definition at line 504 of file TEveCalo.cxx.

References ComputeBBox(), TEveCaloViz::fCellIdCacheOK, TEveProjected::fManager, fOldProjectionType, TEveProjectionManager::GetProjection(), TEveProjection::GetType(), and kFALSE.

void TEveCalo2D::ComputeBBox (  )  [virtual]

Implements TAttBBox.

Definition at line 707 of file TEveCalo.cxx.

References TAttBBox::BBoxCheckPoint(), TAttBBox::BBoxZero(), TEveCaloViz::fBarrelRadius, TEveProjected::fDepth, TEveCaloViz::fEndCapPos, TEveProjected::fManager, TEveCaloViz::fMaxTowerH, TEveProjectionManager::GetProjection(), TEveProjection::ProjectPoint(), x, and y.

Referenced by BuildCellIdCache(), and UpdateProjection().

void TEveCalo2D::CellSelectionChanged (  )  [virtual]

Reimplemented from TEveCaloViz.

Definition at line 620 of file TEveCalo.cxx.

References CellSelectionChangedInternal(), fCellListsHighlighted, fCellListsSelected, TEveCaloViz::fData, TEveCaloData::GetCellsHighlighted(), and TEveCaloData::GetCellsSelected().

void TEveCalo2D::SetScaleAbs ( Bool_t   )  [virtual]

Reimplemented from TEveCaloViz.

Definition at line 674 of file TEveCalo.cxx.

References BuildCellIdCache(), and TEveCaloViz::SetScaleAbs().

Float_t TEveCalo2D::GetValToHeight (  )  const [virtual]

Reimplemented from TEveCaloViz.

Definition at line 683 of file TEveCalo.cxx.

References TEveCaloViz::AssertCellIdCache(), TEveCaloData::Empty(), TEveCaloViz::fData, fMaxESumBin, fMaxEtSumBin, TEveCaloViz::fMaxTowerH, TEveCaloViz::fMaxValAbs, TEveCaloViz::fPlotEt, and TEveCaloViz::fScaleAbs.

TEveCalo2D::ClassDef ( TEveCalo2D  ,
 
)

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

void TEveCalo2D::CellSelectionChangedInternal ( TEveCaloData::vCellId_t cells,
std::vector< TEveCaloData::vCellId_t * > &  cellLists 
) [private]

virtual void TEveCalo2D::BuildCellIdCache (  )  [protected, virtual]

Implements TEveCaloViz.

virtual void TEveCalo2D::SetDepthLocal ( Float_t  x  )  [inline, protected, virtual]

Reimplemented from TEveProjected.

Definition at line 216 of file TEveCalo.h.

References TEveProjected::fDepth.

virtual void TEveCalo2D::SetProjection ( TEveProjectionManager proj,
TEveProjectable model 
) [virtual]

Reimplemented from TEveProjected.

virtual void TEveCalo2D::UpdateProjection (  )  [virtual]

Implements TEveProjected.

virtual void TEveCalo2D::ComputeBBox (  )  [virtual]

Implements TAttBBox.

virtual void TEveCalo2D::CellSelectionChanged (  )  [virtual]

Reimplemented from TEveCaloViz.

virtual void TEveCalo2D::SetScaleAbs ( Bool_t   )  [virtual]

Reimplemented from TEveCaloViz.

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

Reimplemented from TEveCaloViz.

TEveCalo2D::ClassDef ( TEveCalo2D  ,
 
)


Friends And Related Function Documentation

TEveCalo2DGL [friend]

Definition at line 193 of file TEveCalo.h.


Member Data Documentation

TEveProjection::EPType_e TEveCalo2D::fOldProjectionType [private]

Definition at line 202 of file TEveCalo.h.

Referenced by UpdateProjection().

std::vector<TEveCaloData::vCellId_t*> TEveCalo2D::fCellLists [protected]

Definition at line 206 of file TEveCalo.h.

Referenced by BuildCellIdCache(), CellSelectionChangedInternal(), TEveCalo2DGL::DirectDraw(), TEveCalo2DGL::DrawRhoZ(), TEveCalo2DGL::DrawRhoZHighlighted(), TEveCalo2DGL::DrawRPhiHighlighted(), TEveCalo2DGL::ProcessSelection(), and ~TEveCalo2D().

std::vector<TEveCaloData::vCellId_t*> TEveCalo2D::fCellListsSelected [protected]

Definition at line 208 of file TEveCalo.h.

Referenced by CellSelectionChanged(), TEveCalo2DGL::DrawHighlight(), and ~TEveCalo2D().

std::vector<TEveCaloData::vCellId_t*> TEveCalo2D::fCellListsHighlighted [protected]

Definition at line 209 of file TEveCalo.h.

Referenced by CellSelectionChanged(), and TEveCalo2DGL::DrawHighlight().

Float_t TEveCalo2D::fMaxESumBin [protected]

Definition at line 211 of file TEveCalo.h.

Referenced by BuildCellIdCache(), and GetValToHeight().

Float_t TEveCalo2D::fMaxEtSumBin [protected]

Definition at line 212 of file TEveCalo.h.

Referenced by BuildCellIdCache(), and GetValToHeight().

std::vector<TEveCaloData::vCellId_t*> TEveCalo2D::fCellLists [protected]

Definition at line 206 of file TEveCalo.h.

std::vector<TEveCaloData::vCellId_t*> TEveCalo2D::fCellListsSelected [protected]

Definition at line 208 of file TEveCalo.h.

std::vector<TEveCaloData::vCellId_t*> TEveCalo2D::fCellListsHighlighted [protected]

Definition at line 209 of file TEveCalo.h.


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