ATLAS Offline Software
CaloTopoTmpClusterCell.h
Go to the documentation of this file.
1 // Yo emacs, this is -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 //-----------------------------------------------------------------------
8 // File and Version Information:
9 //
10 // Description: ClusterCell Container for the topological cluster maker
11 //
12 // Environment:
13 // Software developed for the ATLAS Detector at the CERN LHC
14 //
15 // Author List:
16 // Sven Menke
17 //
18 //-----------------------------------------------------------------------
19 
20 #ifndef CALOTOPOTMPCLUSTERCELL_H
21 #define CALOTOPOTMPCLUSTERCELL_H
22 
25 
27 {
28 
29 private:
30 
31  // Friends
32 
33  // Data members
34 
36  float m_signedEt;
37 
38 public:
39 
40  // Constructors
41 
42  CaloTopoTmpClusterCell(const IdentifierHash & idHash, const CaloCell_ID::SUBCALO subDet, const size_t & iCell, const float & signedRatio, const float & signedEt)
43  : CaloTopoTmpClusterCellBase(idHash,subDet,iCell,signedRatio),
44  m_cluster (0),
45  m_signedEt(signedEt)
46  {
47  }
48 
49  inline const float & getSignedEt() const
50  {
51  return m_signedEt;
52  }
53 
55  {
56  return m_cluster;
57  }
58 
60  {
61  return m_cluster;
62  }
63 
65  {
66  m_cluster = cluster;
67  }
68 
69 };
70 
71 #endif // CALOTOPOTMPCLUSTERCELL_H
72 
CaloTopoTmpClusterCellBase
Definition: CaloTopoTmpClusterCellBase.h:28
CaloTopoTmpClusterCell::getCaloTopoTmpHashCluster
CaloTopoTmpHashCluster * getCaloTopoTmpHashCluster()
Definition: CaloTopoTmpClusterCell.h:59
CaloTopoTmpHashCluster
Definition: CaloTopoTmpHashCluster.h:29
CaloTopoTmpClusterCell::m_signedEt
float m_signedEt
Definition: CaloTopoTmpClusterCell.h:36
CaloTopoTmpClusterCell
Definition: CaloTopoTmpClusterCell.h:27
CaloTopoTmpClusterCell::setCaloTopoTmpHashCluster
void setCaloTopoTmpHashCluster(CaloTopoTmpHashCluster *cluster)
Definition: CaloTopoTmpClusterCell.h:64
CaloTopoTmpClusterCell::getSignedEt
const float & getSignedEt() const
Definition: CaloTopoTmpClusterCell.h:49
CaloTopoTmpClusterCell::CaloTopoTmpClusterCell
CaloTopoTmpClusterCell(const IdentifierHash &idHash, const CaloCell_ID::SUBCALO subDet, const size_t &iCell, const float &signedRatio, const float &signedEt)
Definition: CaloTopoTmpClusterCell.h:42
CaloTopoTmpClusterCell::m_cluster
CaloTopoTmpHashCluster * m_cluster
Definition: CaloTopoTmpClusterCell.h:35
CaloCell_Base_ID::SUBCALO
SUBCALO
enumeration of sub calorimeters
Definition: CaloCell_Base_ID.h:46
IdentifierHash
Definition: IdentifierHash.h:38
CaloTopoTmpClusterCell::getCaloTopoTmpHashCluster
const CaloTopoTmpHashCluster * getCaloTopoTmpHashCluster() const
Definition: CaloTopoTmpClusterCell.h:54
CaloTopoTmpClusterCellBase.h