ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
CaloTopoSplitterClusterCell Class Reference

#include <CaloTopoSplitterClusterCell.h>

Inheritance diagram for CaloTopoSplitterClusterCell:
Collaboration diagram for CaloTopoSplitterClusterCell:

Public Member Functions

 CaloTopoSplitterClusterCell (const IdentifierHash &idHash, const CaloCell_ID::SUBCALO subDet, xAOD::CaloCluster::cell_iterator &itrCell, const size_t &iCell, const float &signedRatio, const xAOD::CaloCluster *pClus, const size_t caloClusterIndex, const bool isSecondary=false)
 
const xAOD::CaloClustergetParentCluster () const
 
const xAOD::CaloCluster::cell_iteratorgetCellIterator () const
 
size_t getParentClusterIndex () const
 
bool getShared () const
 
void setSecondCaloTopoTmpHashCluster (CaloTopoSplitterHashCluster *cluster)
 
CaloTopoSplitterHashClustergetSecondCaloTopoTmpHashCluster ()
 
void setShared ()
 
void setSharedWeight (const float &weight)
 
const float & getSharedWeight ()
 
void setUnshared ()
 
const CaloTopoSplitterHashClustergetCaloTopoTmpHashCluster () const
 
CaloTopoSplitterHashClustergetCaloTopoTmpHashCluster ()
 
void setCaloTopoTmpHashCluster (CaloTopoSplitterHashCluster *cluster)
 
bool getSecondary () const
 
const IdentifierHashgetID () const
 
const size_t & getCaloCell () const
 
CaloCell_ID::SUBCALO getSubDet () const
 
const float & getSignedRatio () const
 
void setSignedRatio (const float &signedRatio)
 
bool getUsed () const
 
void setUsed ()
 
void setUnused ()
 

Private Attributes

CaloTopoSplitterHashClusterm_cluster
 
const xAOD::CaloClusterm_parentCluster
 
xAOD::CaloCluster::cell_iterator m_itrCell
 
size_t m_parentClusterIndex
 
CaloTopoSplitterHashClusterm_secondCluster
 
bool m_shared
 
float m_weight
 
bool m_secondary
 
size_t m_iCell
 
CaloCell_ID::SUBCALO m_subDet
 
IdentifierHash m_idHash
 Global calorimeter hash. More...
 
float m_signedRatio
 
bool m_used
 

Detailed Description

Definition at line 28 of file CaloTopoSplitterClusterCell.h.

Constructor & Destructor Documentation

◆ CaloTopoSplitterClusterCell()

CaloTopoSplitterClusterCell::CaloTopoSplitterClusterCell ( const IdentifierHash idHash,
const CaloCell_ID::SUBCALO  subDet,
xAOD::CaloCluster::cell_iterator itrCell,
const size_t &  iCell,
const float &  signedRatio,
const xAOD::CaloCluster pClus,
const size_t  caloClusterIndex,
const bool  isSecondary = false 
)
inline

Definition at line 50 of file CaloTopoSplitterClusterCell.h.

58  : CaloTopoTmpClusterCellBase(idHash,subDet,iCell,signedRatio),
59  m_cluster(0),
60  m_parentCluster(pClus),
61  m_itrCell(itrCell),
62  m_parentClusterIndex(caloClusterIndex),
64  {
65  m_shared = false;
66  m_secondCluster = 0;
67  m_weight=1.;
68  }

Member Function Documentation

◆ getCaloCell()

const size_t& CaloTopoTmpClusterCellBase::getCaloCell ( ) const
inlineinherited

Definition at line 67 of file CaloTopoTmpClusterCellBase.h.

68  {
69  return m_iCell;
70  }

◆ getCaloTopoTmpHashCluster() [1/2]

CaloTopoSplitterHashCluster* CaloTopoSplitterClusterCell::getCaloTopoTmpHashCluster ( )
inline

Definition at line 126 of file CaloTopoSplitterClusterCell.h.

127  {
128  return m_cluster;
129  }

◆ getCaloTopoTmpHashCluster() [2/2]

const CaloTopoSplitterHashCluster* CaloTopoSplitterClusterCell::getCaloTopoTmpHashCluster ( ) const
inline

Definition at line 121 of file CaloTopoSplitterClusterCell.h.

122  {
123  return m_cluster;
124  }

◆ getCellIterator()

const xAOD::CaloCluster::cell_iterator& CaloTopoSplitterClusterCell::getCellIterator ( ) const
inline

Definition at line 75 of file CaloTopoSplitterClusterCell.h.

76  {
77  return m_itrCell;
78  }

◆ getID()

const IdentifierHash& CaloTopoTmpClusterCellBase::getID ( ) const
inlineinherited

Definition at line 61 of file CaloTopoTmpClusterCellBase.h.

62  {
63  return m_idHash;
64  }

◆ getParentCluster()

const xAOD::CaloCluster* CaloTopoSplitterClusterCell::getParentCluster ( ) const
inline

Definition at line 70 of file CaloTopoSplitterClusterCell.h.

71  {
72  return m_parentCluster;
73  }

◆ getParentClusterIndex()

size_t CaloTopoSplitterClusterCell::getParentClusterIndex ( ) const
inline

Definition at line 80 of file CaloTopoSplitterClusterCell.h.

81  {
82  return m_parentClusterIndex;
83  }

◆ getSecondary()

bool CaloTopoSplitterClusterCell::getSecondary ( ) const
inline

Definition at line 136 of file CaloTopoSplitterClusterCell.h.

137  {
138  return m_secondary;
139  }

◆ getSecondCaloTopoTmpHashCluster()

CaloTopoSplitterHashCluster* CaloTopoSplitterClusterCell::getSecondCaloTopoTmpHashCluster ( )
inline

Definition at line 96 of file CaloTopoSplitterClusterCell.h.

97  {
98  return m_secondCluster;
99  }

◆ getShared()

bool CaloTopoSplitterClusterCell::getShared ( ) const
inline

Definition at line 85 of file CaloTopoSplitterClusterCell.h.

86  {
87  return m_shared;
88  }

◆ getSharedWeight()

const float& CaloTopoSplitterClusterCell::getSharedWeight ( )
inline

Definition at line 111 of file CaloTopoSplitterClusterCell.h.

112  {
113  return m_weight;
114  }

◆ getSignedRatio()

const float& CaloTopoTmpClusterCellBase::getSignedRatio ( ) const
inlineinherited

Definition at line 77 of file CaloTopoTmpClusterCellBase.h.

78  {
79  return m_signedRatio;
80  }

◆ getSubDet()

CaloCell_ID::SUBCALO CaloTopoTmpClusterCellBase::getSubDet ( ) const
inlineinherited

Definition at line 72 of file CaloTopoTmpClusterCellBase.h.

73  {
74  return m_subDet;
75  }

◆ getUsed()

bool CaloTopoTmpClusterCellBase::getUsed ( ) const
inlineinherited

Definition at line 87 of file CaloTopoTmpClusterCellBase.h.

88  {
89  return m_used;
90  }

◆ setCaloTopoTmpHashCluster()

void CaloTopoSplitterClusterCell::setCaloTopoTmpHashCluster ( CaloTopoSplitterHashCluster cluster)
inline

Definition at line 131 of file CaloTopoSplitterClusterCell.h.

132  {
133  m_cluster = cluster;
134  }

◆ setSecondCaloTopoTmpHashCluster()

void CaloTopoSplitterClusterCell::setSecondCaloTopoTmpHashCluster ( CaloTopoSplitterHashCluster cluster)
inline

Definition at line 91 of file CaloTopoSplitterClusterCell.h.

92  {
93  m_secondCluster = cluster;
94  }

◆ setShared()

void CaloTopoSplitterClusterCell::setShared ( )
inline

Definition at line 101 of file CaloTopoSplitterClusterCell.h.

102  {
103  m_shared = true;
104  }

◆ setSharedWeight()

void CaloTopoSplitterClusterCell::setSharedWeight ( const float &  weight)
inline

Definition at line 106 of file CaloTopoSplitterClusterCell.h.

107  {
108  m_weight = weight;
109  }

◆ setSignedRatio()

void CaloTopoTmpClusterCellBase::setSignedRatio ( const float &  signedRatio)
inlineinherited

Definition at line 82 of file CaloTopoTmpClusterCellBase.h.

83  {
84  m_signedRatio = signedRatio;
85  }

◆ setUnshared()

void CaloTopoSplitterClusterCell::setUnshared ( )
inline

Definition at line 116 of file CaloTopoSplitterClusterCell.h.

117  {
118  m_shared = false;
119  }

◆ setUnused()

void CaloTopoTmpClusterCellBase::setUnused ( )
inlineinherited

Definition at line 97 of file CaloTopoTmpClusterCellBase.h.

98  {
99  m_used = false;
100  }

◆ setUsed()

void CaloTopoTmpClusterCellBase::setUsed ( )
inlineinherited

Definition at line 92 of file CaloTopoTmpClusterCellBase.h.

93  {
94  m_used = true;
95  }

Member Data Documentation

◆ m_cluster

CaloTopoSplitterHashCluster* CaloTopoSplitterClusterCell::m_cluster
private

Definition at line 37 of file CaloTopoSplitterClusterCell.h.

◆ m_iCell

size_t CaloTopoTmpClusterCellBase::m_iCell
privateinherited

Definition at line 36 of file CaloTopoTmpClusterCellBase.h.

◆ m_idHash

IdentifierHash CaloTopoTmpClusterCellBase::m_idHash
privateinherited

Global calorimeter hash.

Definition at line 40 of file CaloTopoTmpClusterCellBase.h.

◆ m_itrCell

xAOD::CaloCluster::cell_iterator CaloTopoSplitterClusterCell::m_itrCell
private

Definition at line 39 of file CaloTopoSplitterClusterCell.h.

◆ m_parentCluster

const xAOD::CaloCluster* CaloTopoSplitterClusterCell::m_parentCluster
private

Definition at line 38 of file CaloTopoSplitterClusterCell.h.

◆ m_parentClusterIndex

size_t CaloTopoSplitterClusterCell::m_parentClusterIndex
private

Definition at line 40 of file CaloTopoSplitterClusterCell.h.

◆ m_secondary

bool CaloTopoSplitterClusterCell::m_secondary
private

Definition at line 44 of file CaloTopoSplitterClusterCell.h.

◆ m_secondCluster

CaloTopoSplitterHashCluster* CaloTopoSplitterClusterCell::m_secondCluster
private

Definition at line 41 of file CaloTopoSplitterClusterCell.h.

◆ m_shared

bool CaloTopoSplitterClusterCell::m_shared
private

Definition at line 42 of file CaloTopoSplitterClusterCell.h.

◆ m_signedRatio

float CaloTopoTmpClusterCellBase::m_signedRatio
privateinherited

Definition at line 41 of file CaloTopoTmpClusterCellBase.h.

◆ m_subDet

CaloCell_ID::SUBCALO CaloTopoTmpClusterCellBase::m_subDet
privateinherited

Definition at line 37 of file CaloTopoTmpClusterCellBase.h.

◆ m_used

bool CaloTopoTmpClusterCellBase::m_used
privateinherited

Definition at line 42 of file CaloTopoTmpClusterCellBase.h.

◆ m_weight

float CaloTopoSplitterClusterCell::m_weight
private

Definition at line 43 of file CaloTopoSplitterClusterCell.h.


The documentation for this class was generated from the following file:
CaloTopoTmpClusterCellBase::m_signedRatio
float m_signedRatio
Definition: CaloTopoTmpClusterCellBase.h:41
CaloTopoTmpClusterCellBase::m_idHash
IdentifierHash m_idHash
Global calorimeter hash.
Definition: CaloTopoTmpClusterCellBase.h:40
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
CaloTopoSplitterClusterCell::m_itrCell
xAOD::CaloCluster::cell_iterator m_itrCell
Definition: CaloTopoSplitterClusterCell.h:39
CaloTopoSplitterClusterCell::m_parentCluster
const xAOD::CaloCluster * m_parentCluster
Definition: CaloTopoSplitterClusterCell.h:38
CaloTopoSplitterClusterCell::m_secondary
bool m_secondary
Definition: CaloTopoSplitterClusterCell.h:44
CaloTopoSplitterClusterCell::m_secondCluster
CaloTopoSplitterHashCluster * m_secondCluster
Definition: CaloTopoSplitterClusterCell.h:41
CaloTopoSplitterClusterCell::m_cluster
CaloTopoSplitterHashCluster * m_cluster
Definition: CaloTopoSplitterClusterCell.h:37
CaloTopoTmpClusterCellBase::m_used
bool m_used
Definition: CaloTopoTmpClusterCellBase.h:42
CaloTopoTmpClusterCellBase::CaloTopoTmpClusterCellBase
CaloTopoTmpClusterCellBase(const IdentifierHash &idHash, const CaloCell_ID::SUBCALO subDet, const size_t &iCell, const float &signedRatio)
Definition: CaloTopoTmpClusterCellBase.h:48
CaloTopoTmpClusterCellBase::m_subDet
CaloCell_ID::SUBCALO m_subDet
Definition: CaloTopoTmpClusterCellBase.h:37
InDet::TrkOrigin::isSecondary
bool isSecondary(int origin)
from long living particle decays or gamma conversions or hadronic interactions and anything else with...
Definition: InDetTrackTruthOriginDefs.h:104
CaloTopoSplitterClusterCell::m_weight
float m_weight
Definition: CaloTopoSplitterClusterCell.h:43
CaloTopoTmpClusterCellBase::m_iCell
size_t m_iCell
Definition: CaloTopoTmpClusterCellBase.h:36
CaloTopoSplitterClusterCell::m_parentClusterIndex
size_t m_parentClusterIndex
Definition: CaloTopoSplitterClusterCell.h:40
CaloTopoSplitterClusterCell::m_shared
bool m_shared
Definition: CaloTopoSplitterClusterCell.h:42