ATLAS Offline Software
Loading...
Searching...
No Matches
CaloTopoTmpHashCluster.cxx
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: see CaloTopoTmpHashCluster.h
9//
10// Environment:
11// Software developed for the ATLAS Detector at CERN LHC
12//
13// Author List:
14// Sven Menke
15//
16//-----------------------------------------------------------------------
17
18//-----------------------
19// This Class's Header --
20//-----------------------
23
24//----------------------------
25// This Class's Base Header --
26//----------------------------
27
28//---------------
29// C++ Headers --
30//---------------
31
32//---------------
33// C Headers --
34//---------------
35
36//----------------
37// Constructors --
38//----------------
39
40//-----------
41// Methods --
42//-----------
43
45{
46 // take the cell with the largest Signal to Noise and report its E_t as the
47 // relevant maxEt for the cluster - Note that there might be a cell with a
48 // larger E_t ...
49 const CaloTopoTmpClusterCell* pCell = hashCell.getCaloTopoTmpClusterCell();
50 if ( pCell->getSignedRatio() > m_maxRatio )
51 m_maxEt = pCell->getSignedEt();
52 Base::add (hashCell);
53}
54
56{
57 if ( rClus.m_maxRatio > m_maxRatio)
58 m_maxEt = rClus.m_maxEt;
59 Base::add (rClus);
60}
const float & getSignedEt() const
const T * getCaloTopoTmpClusterCell() const
CaloTopoTmpHashCell< CaloTopoTmpClusterCell > HashCell
CaloTopoTmpHashCluster(pool_type &pool)
void add(HashCell &hashCell)