ATLAS Offline Software
Loading...
Searching...
No Matches
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
29private:
30
31 // Friends
32
33 // Data members
34
37
38public:
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
63
65 {
66 m_cluster = cluster;
67 }
68
69};
70
71#endif // CALOTOPOTMPCLUSTERCELL_H
72
CaloCell_Base_ID::SUBCALO SUBCALO
Definition CaloCell_ID.h:50
CaloTopoTmpClusterCellBase(const IdentifierHash &idHash, const CaloCell_ID::SUBCALO subDet, const size_t &iCell, const float &signedRatio)
void setCaloTopoTmpHashCluster(CaloTopoTmpHashCluster *cluster)
CaloTopoTmpHashCluster * m_cluster
CaloTopoTmpHashCluster * getCaloTopoTmpHashCluster()
const float & getSignedEt() const
const CaloTopoTmpHashCluster * getCaloTopoTmpHashCluster() const
CaloTopoTmpClusterCell(const IdentifierHash &idHash, const CaloCell_ID::SUBCALO subDet, const size_t &iCell, const float &signedRatio, const float &signedEt)
This is a "hash" representation of an Identifier.