ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkMuons
src
IDTrackCaloDepositsDecoratorAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef IDTRACKCALODEPOSITSDECORATORALG_H_
5
#define IDTRACKCALODEPOSITSDECORATORALG_H_
6
7
#include <
AthenaBaseComps/AthReentrantAlgorithm.h
>
8
#include "
ICaloTrkMuIdTools/ITrackDepositInCaloTool.h
"
9
#include "
StoreGate/ReadHandleKey.h
"
10
#include "
StoreGate/WriteDecorHandleKey.h
"
11
#include "
StoreGate/ReadDecorHandleKeyArray.h
"
12
#include "
xAODMuon/MuonContainer.h
"
20
21
namespace
DerivationFramework
{
22
23
class
IDTrackCaloDepositsDecoratorAlg
:
public
AthReentrantAlgorithm
{
24
public
:
25
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
26
27
virtual
~IDTrackCaloDepositsDecoratorAlg
() =
default
;
28
StatusCode
initialize
()
override
;
29
30
StatusCode
execute
(
const
EventContext& ctx)
const override
;
31
32
private
:
33
34
ToolHandle<ITrackDepositInCaloTool>
m_trkDepositInCalo
{
this
,
"TrackDepositInCaloTool"
,
"TrackDepositInCaloTool/TrackDepositInCaloTool"
};
35
37
SG::ReadHandleKey<xAOD::IParticleContainer>
m_partKey
{
this
,
"ContainerKey"
,
"RandomParticle"
};
38
39
Gaudi::Property<float>
m_ptMin
{
this
,
"PtMin"
, 2.5 * Gaudi::Units::GeV,
40
"Minimal track pt required to decorate the ID track"
};
41
44
Gaudi::Property<std::vector<std::string>>
m_trkSelDecors
{
this
,
"TrackSelections"
, {},
45
"List of decorator names of which one needs to be true to run the isolation"
};
46
SG::ReadDecorHandleKeyArray<xAOD::IParticleContainer>
m_trkSelKeys
{
this
,
"SelectionKeys"
, {},
47
"Will be overwritten in initialize"
};
48
49
SG::WriteDecorHandleKey<xAOD::IParticleContainer>
m_depositKey
{
this
,
"Calo_Deposit"
,
m_partKey
,
"CaloDeposits"
,
50
"Name of the decorator to store all the energy deposits in the calorimeter"
};
51
SG::WriteDecorHandleKey<xAOD::IParticleContainer>
m_elossKey
{
this
,
"Calo_EnergyLoss"
,
m_partKey
,
"CaloElosses"
,
52
"Name of the decorator to store the energy loss from EMB1."
};
53
SG::WriteDecorHandleKey<xAOD::IParticleContainer>
m_typeKey
{
this
,
"Calo_Type"
,
m_partKey
,
"CaloDepType"
,
54
"Name of the decorator to store the energy deposit from EMB2."
};
55
};
56
57
}
58
59
#endif
AthReentrantAlgorithm.h
MuonContainer.h
ITrackDepositInCaloTool.h
ReadDecorHandleKeyArray.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
DerivationFramework::IDTrackCaloDepositsDecoratorAlg
Definition
IDTrackCaloDepositsDecoratorAlg.h:23
DerivationFramework::IDTrackCaloDepositsDecoratorAlg::m_typeKey
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_typeKey
Definition
IDTrackCaloDepositsDecoratorAlg.h:53
DerivationFramework::IDTrackCaloDepositsDecoratorAlg::m_partKey
SG::ReadHandleKey< xAOD::IParticleContainer > m_partKey
Particle container to decorate the Pivot plane coordinates to.
Definition
IDTrackCaloDepositsDecoratorAlg.h:37
DerivationFramework::IDTrackCaloDepositsDecoratorAlg::~IDTrackCaloDepositsDecoratorAlg
virtual ~IDTrackCaloDepositsDecoratorAlg()=default
DerivationFramework::IDTrackCaloDepositsDecoratorAlg::m_trkDepositInCalo
ToolHandle< ITrackDepositInCaloTool > m_trkDepositInCalo
Definition
IDTrackCaloDepositsDecoratorAlg.h:34
DerivationFramework::IDTrackCaloDepositsDecoratorAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition
IDTrackCaloDepositsDecoratorAlg.cxx:31
DerivationFramework::IDTrackCaloDepositsDecoratorAlg::m_trkSelDecors
Gaudi::Property< std::vector< std::string > > m_trkSelDecors
Optional list of decorators to select only the good tracks for the isolation decoration.
Definition
IDTrackCaloDepositsDecoratorAlg.h:44
DerivationFramework::IDTrackCaloDepositsDecoratorAlg::m_elossKey
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_elossKey
Definition
IDTrackCaloDepositsDecoratorAlg.h:51
DerivationFramework::IDTrackCaloDepositsDecoratorAlg::initialize
StatusCode initialize() override
Definition
IDTrackCaloDepositsDecoratorAlg.cxx:17
DerivationFramework::IDTrackCaloDepositsDecoratorAlg::m_trkSelKeys
SG::ReadDecorHandleKeyArray< xAOD::IParticleContainer > m_trkSelKeys
Definition
IDTrackCaloDepositsDecoratorAlg.h:46
DerivationFramework::IDTrackCaloDepositsDecoratorAlg::m_depositKey
SG::WriteDecorHandleKey< xAOD::IParticleContainer > m_depositKey
Definition
IDTrackCaloDepositsDecoratorAlg.h:49
DerivationFramework::IDTrackCaloDepositsDecoratorAlg::m_ptMin
Gaudi::Property< float > m_ptMin
Definition
IDTrackCaloDepositsDecoratorAlg.h:39
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
SG::ReadDecorHandleKeyArray
DecorHandleKeyArray< ReadDecorHandle< T, S >, ReadDecorHandleKey< T >, Gaudi::DataHandle::Reader > ReadDecorHandleKeyArray
Definition
StoreGate/StoreGate/ReadDecorHandleKeyArray.h:35
Generated on
for ATLAS Offline Software by
1.17.0