ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
HeavyIonRec
HIGlobal
src
CaloClustersCopier.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef HIGLOBAL_CALOTOWERSCOPIER_H
5
#define HIGLOBAL_CALOTOWERSCOPIER_H
6
7
// Framework includes
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "
xAODCaloEvent/CaloClusterContainer.h
"
10
#include "
xAODHIEvent/HIEventShapeContainer.h
"
11
#include "
AthenaKernel/Units.h
"
12
// STL includes
13
#include <string>
14
20
class
CaloClustersCopier
:
public
AthReentrantAlgorithm
{
21
public
:
22
CaloClustersCopier
(
const
std::string& name, ISvcLocator* pSvcLocator);
23
virtual
~CaloClustersCopier
()
override
;
24
25
virtual
StatusCode
initialize
()
override
;
26
virtual
StatusCode
execute
(
const
EventContext& context)
const override
;
27
virtual
StatusCode
finalize
()
override
;
28
29
private
:
30
Gaudi::Property<float>
m_fcalEtCut
{
this
,
"FCalEtCut"
, 60*Athena::Units::GeV,
"Copy clusters only if FCal ET energy is below this value"
};
31
SG::ReadHandleKey<xAOD::HIEventShapeContainer>
m_HIEventShapeKey
{
this
,
"HIEventShapeKey"
,
"HIEventShape"
};
32
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_inputClustersKey
{
this
,
"InputClustersKey"
,
"CaloCalTopoClusters"
};
33
SG::WriteHandleKey<xAOD::CaloClusterContainer>
m_outputClustersKey
{
this
,
"OutputClustersKey"
,
"PeripheralCaloCalTopoClusters"
};
34
35
};
36
37
#endif
// HIGLOBAL_CALOTOWERSCOPIER_H
AthReentrantAlgorithm.h
CaloClusterContainer.h
HIEventShapeContainer.h
Units.h
Wrapper to avoid constant divisions when using units.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
CaloClustersCopier::CaloClustersCopier
CaloClustersCopier(const std::string &name, ISvcLocator *pSvcLocator)
Definition
CaloClustersCopier.cxx:9
CaloClustersCopier::initialize
virtual StatusCode initialize() override
Definition
CaloClustersCopier.cxx:18
CaloClustersCopier::m_HIEventShapeKey
SG::ReadHandleKey< xAOD::HIEventShapeContainer > m_HIEventShapeKey
Definition
CaloClustersCopier.h:31
CaloClustersCopier::execute
virtual StatusCode execute(const EventContext &context) const override
Definition
CaloClustersCopier.cxx:32
CaloClustersCopier::m_fcalEtCut
Gaudi::Property< float > m_fcalEtCut
Definition
CaloClustersCopier.h:30
CaloClustersCopier::finalize
virtual StatusCode finalize() override
Definition
CaloClustersCopier.cxx:27
CaloClustersCopier::~CaloClustersCopier
virtual ~CaloClustersCopier() override
Definition
CaloClustersCopier.cxx:14
CaloClustersCopier::m_outputClustersKey
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_outputClustersKey
Definition
CaloClustersCopier.h:33
CaloClustersCopier::m_inputClustersKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_inputClustersKey
Definition
CaloClustersCopier.h:32
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
Generated on
for ATLAS Offline Software by
1.17.0