ATLAS Offline Software
CaloTopoTmpHashCell.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //-----------------------------------------------------------------------
6 // File and Version Information:
7 //
8 // Description: HashCell Container for the topological cluster maker
9 //
10 // Environment:
11 // Software developed for the ATLAS Detector at the CERN LHC
12 //
13 // Author List:
14 // Sven Menke
15 //
16 //-----------------------------------------------------------------------
17 
18 #ifndef CALOTOPOTMPHASHCELL_H
19 #define CALOTOPOTMPHASHCELL_H
20 
21 template <class T>
23 
24 private:
25 
26  // Friends
27 
28  // Data members
29 
31 
32 public:
33 
34  // Constructors
35 
37  {
38  m_clusterCell = 0;
39  }
40 
41 
43 
44 
45  CaloTopoTmpHashCell(T* clusterCell)
46  {
47  m_clusterCell = clusterCell;
48  }
49 
50  // Operators
51 
52  inline bool operator==(const CaloTopoTmpHashCell & other) const
53  {
54  return (m_clusterCell == other.m_clusterCell);
55  }
56 
58 
59  const T * getCaloTopoTmpClusterCell() const
60  {
61  return m_clusterCell;
62  }
63 
65  {
66  return m_clusterCell;
67  }
68 
69 };
70 
71 #endif // CALOTOPOTMPHASHCELL_H
72 
CaloTopoTmpHashCell::getCaloTopoTmpClusterCell
const T * getCaloTopoTmpClusterCell() const
Definition: CaloTopoTmpHashCell.h:59
CaloTopoTmpHashCell
Definition: CaloTopoTmpHashCell.h:22
CaloTopoTmpHashCell::CaloTopoTmpHashCell
CaloTopoTmpHashCell(const CaloTopoTmpHashCell &other)=default
CaloTopoTmpHashCell::CaloTopoTmpHashCell
CaloTopoTmpHashCell(T *clusterCell)
Definition: CaloTopoTmpHashCell.h:45
CaloTopoTmpHashCell::operator=
CaloTopoTmpHashCell & operator=(const CaloTopoTmpHashCell &other)=default
CaloTopoTmpHashCell::CaloTopoTmpHashCell
CaloTopoTmpHashCell()
Definition: CaloTopoTmpHashCell.h:36
CaloTopoTmpHashCell::operator==
bool operator==(const CaloTopoTmpHashCell &other) const
Definition: CaloTopoTmpHashCell.h:52
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
CaloTopoTmpHashCell::m_clusterCell
T * m_clusterCell
Definition: CaloTopoTmpHashCell.h:30
CaloTopoTmpHashCell::getCaloTopoTmpClusterCell
T * getCaloTopoTmpClusterCell()
Definition: CaloTopoTmpHashCell.h:64
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35