ATLAS Offline Software
Loading...
Searching...
No Matches
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
21template <class T>
23
24private:
25
26 // Friends
27
28 // Data members
29
31
32public:
33
34 // Constructors
35
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
const T * getCaloTopoTmpClusterCell() const
CaloTopoTmpHashCell & operator=(const CaloTopoTmpHashCell &other)=default
CaloTopoTmpHashCell(T *clusterCell)
bool operator==(const CaloTopoTmpHashCell &other) const
CaloTopoTmpHashCell(const CaloTopoTmpHashCell &other)=default