ATLAS Offline Software
Loading...
Searching...
No Matches
CaloTopoTmpHashCluster Class Reference

#include <CaloTopoTmpHashCluster.h>

Inheritance diagram for CaloTopoTmpHashCluster:
Collaboration diagram for CaloTopoTmpHashCluster:

Public Types

typedef pointer_list::pool_type pool_type

Public Member Functions

 CaloTopoTmpHashCluster (pool_type &pool)
float getMaxEt () const
void removeAll ()
void add (HashCell &hashCell)
void add (CaloTopoTmpHashCluster &hashCluster)
float getMaxRatio () const
int size () const
iterator begin ()
iterator end ()
void add (CaloTopoTmpHashClusterBase &hashCluster)

Protected Types

typedef CxxUtils::pointer_list pointer_list

Protected Attributes

pointer_list m_members
float m_maxRatio

Private Types

typedef CaloTopoTmpHashClusterBase< CaloTopoTmpClusterCellBase
typedef CaloTopoTmpHashCell< CaloTopoTmpClusterCellHashCell

Private Attributes

float m_maxEt

Detailed Description

Definition at line 27 of file CaloTopoTmpHashCluster.h.

Member Typedef Documentation

◆ Base

◆ HashCell

◆ pointer_list

typedef CxxUtils::pointer_list CaloTopoTmpHashClusterBase< CaloTopoTmpClusterCell >::pointer_list
protectedinherited

Definition at line 32 of file CaloTopoTmpHashClusterBase.h.

◆ pool_type

Constructor & Destructor Documentation

◆ CaloTopoTmpHashCluster()

CaloTopoTmpHashCluster::CaloTopoTmpHashCluster ( pool_type & pool)
inline

Definition at line 44 of file CaloTopoTmpHashCluster.h.

45 : Base (pool)
46 {
47 m_maxEt = 0;
48 }
CaloTopoTmpHashClusterBase< CaloTopoTmpClusterCell > Base

Member Function Documentation

◆ add() [1/3]

void CaloTopoTmpHashCluster::add ( CaloTopoTmpHashCluster & hashCluster)

Definition at line 55 of file CaloTopoTmpHashCluster.cxx.

56{
57 if ( rClus.m_maxRatio > m_maxRatio)
58 m_maxEt = rClus.m_maxEt;
59 Base::add (rClus);
60}

◆ add() [2/3]

void CaloTopoTmpHashCluster::add ( HashCell & hashCell)

Definition at line 44 of file CaloTopoTmpHashCluster.cxx.

45{
46 // take the cell with the largest Signal to Noise and report its E_t as the
47 // relevant maxEt for the cluster - Note that there might be a cell with a
48 // larger E_t ...
49 const CaloTopoTmpClusterCell* pCell = hashCell.getCaloTopoTmpClusterCell();
50 if ( pCell->getSignedRatio() > m_maxRatio )
51 m_maxEt = pCell->getSignedEt();
52 Base::add (hashCell);
53}
const float & getSignedEt() const

◆ add() [3/3]

◆ begin()

iterator CaloTopoTmpHashClusterBase< CaloTopoTmpClusterCell >::begin ( )
inlineinherited

Definition at line 90 of file CaloTopoTmpHashClusterBase.h.

91 {
92 return iterator (m_members.begin());
93 }

◆ end()

iterator CaloTopoTmpHashClusterBase< CaloTopoTmpClusterCell >::end ( )
inlineinherited

Definition at line 95 of file CaloTopoTmpHashClusterBase.h.

96 {
97 return iterator (m_members.end());
98 }

◆ getMaxEt()

float CaloTopoTmpHashCluster::getMaxEt ( ) const
inline

Definition at line 56 of file CaloTopoTmpHashCluster.h.

57 {
58 return m_maxEt;
59 }

◆ getMaxRatio()

float CaloTopoTmpHashClusterBase< CaloTopoTmpClusterCell >::getMaxRatio ( ) const
inlineinherited

Definition at line 80 of file CaloTopoTmpHashClusterBase.h.

81 {
82 return m_maxRatio;
83 }

◆ removeAll()

void CaloTopoTmpHashCluster::removeAll ( )
inline

◆ size()

int CaloTopoTmpHashClusterBase< CaloTopoTmpClusterCell >::size ( ) const
inlineinherited

Definition at line 85 of file CaloTopoTmpHashClusterBase.h.

86 {
87 return m_members.size();
88 }

Member Data Documentation

◆ m_maxEt

float CaloTopoTmpHashCluster::m_maxEt
private

Definition at line 38 of file CaloTopoTmpHashCluster.h.

◆ m_maxRatio

float CaloTopoTmpHashClusterBase< CaloTopoTmpClusterCell >::m_maxRatio
protectedinherited

Definition at line 39 of file CaloTopoTmpHashClusterBase.h.

◆ m_members

Definition at line 38 of file CaloTopoTmpHashClusterBase.h.


The documentation for this class was generated from the following files: