ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
AnalysisCommon
IsolationSelection
src
IsoCloseByCaloDecorAlg.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
#ifndef IsoCloseByCaloDecorAlg_H
6
#define IsoCloseByCaloDecorAlg_H
7
8
// Gaudi & Athena basics
9
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
10
#include "
EgammaAnalysisInterfaces/IAsgElectronLikelihoodTool.h
"
11
#include "
EgammaAnalysisInterfaces/IAsgPhotonIsEMSelector.h
"
12
#include "GaudiKernel/SystemOfUnits.h"
13
#include "
InDetTrackSelectionTool/IInDetTrackSelectionTool.h
"
14
#include "
IsolationSelection/IIsolationCloseByCorrectionTool.h
"
15
#include "
MuonAnalysisInterfaces/IMuonSelectionTool.h
"
16
#include "
StoreGate/ReadHandleKey.h
"
17
#include "
StoreGate/WriteDecorHandleKeyArray.h
"
18
#include "
xAODEgamma/ElectronContainer.h
"
19
#include "
xAODEgamma/PhotonContainer.h
"
20
#include "
xAODMuon/MuonContainer.h
"
26
27
namespace
CP
{
28
29
class
IsoCloseByCaloDecorAlg
:
public
AthReentrantAlgorithm
{
30
public
:
31
IsoCloseByCaloDecorAlg
(
const
std::string&
name
, ISvcLocator* svcLoc);
32
33
StatusCode
execute
(
const
EventContext& ctx)
const override
;
34
StatusCode
initialize
()
override
;
35
36
private
:
38
SG::ReadHandleKey<xAOD::IParticleContainer>
m_primPartKey
{
this
,
"PrimaryContainer"
,
""
};
39
41
ToolHandle<CP::IIsolationCloseByCorrectionTool>
m_closeByCorrTool
{
this
,
"IsoCloseByCorrectionTool"
,
""
,
42
"The isolation close by correction tool."
};
43
44
Gaudi::Property<bool>
m_decorClust
{
this
,
"decorateClusters"
,
true
,
"Decorates the associated cluster information"
};
45
Gaudi::Property<bool>
m_decorPflow
{
this
,
"decoratePFlowObj"
,
true
,
"Decorates the associated pflow obj information"
};
47
SG::WriteDecorHandleKeyArray<xAOD::IParticleContainer>
m_decorKeys
{
48
this
,
"DecorationKeys"
, {},
"List of xAOD decorations added to the particle"
};
49
};
50
}
// namespace CP
51
#endif
AthReentrantAlgorithm.h
ElectronContainer.h
PhotonContainer.h
MuonContainer.h
IAsgElectronLikelihoodTool.h
IAsgPhotonIsEMSelector.h
IInDetTrackSelectionTool.h
IIsolationCloseByCorrectionTool.h
IMuonSelectionTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKeyArray.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
CP::IsoCloseByCaloDecorAlg::initialize
StatusCode initialize() override
Definition
IsoCloseByCaloDecorAlg.cxx:23
CP::IsoCloseByCaloDecorAlg::m_decorClust
Gaudi::Property< bool > m_decorClust
Definition
IsoCloseByCaloDecorAlg.h:44
CP::IsoCloseByCaloDecorAlg::m_decorKeys
SG::WriteDecorHandleKeyArray< xAOD::IParticleContainer > m_decorKeys
Definition
IsoCloseByCaloDecorAlg.h:47
CP::IsoCloseByCaloDecorAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition
IsoCloseByCaloDecorAlg.cxx:45
CP::IsoCloseByCaloDecorAlg::m_decorPflow
Gaudi::Property< bool > m_decorPflow
Definition
IsoCloseByCaloDecorAlg.h:45
CP::IsoCloseByCaloDecorAlg::m_primPartKey
SG::ReadHandleKey< xAOD::IParticleContainer > m_primPartKey
Input containers to retrieve from the storegate.
Definition
IsoCloseByCaloDecorAlg.h:38
CP::IsoCloseByCaloDecorAlg::IsoCloseByCaloDecorAlg
IsoCloseByCaloDecorAlg(const std::string &name, ISvcLocator *svcLoc)
Definition
IsoCloseByCaloDecorAlg.cxx:22
CP::IsoCloseByCaloDecorAlg::m_closeByCorrTool
ToolHandle< CP::IIsolationCloseByCorrectionTool > m_closeByCorrTool
These tools shall be configured to pick up the same Inner detector tracks as for the isolation buildi...
Definition
IsoCloseByCaloDecorAlg.h:41
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
SG::WriteDecorHandleKeyArray
DecorHandleKeyArray< WriteDecorHandle< T, S >, WriteDecorHandleKey< T >, Gaudi::DataHandle::Writer > WriteDecorHandleKeyArray
Definition
StoreGate/StoreGate/WriteDecorHandleKeyArray.h:35
xAOD::name
name
Definition
TriggerMenuJson_v1.cxx:29
Generated on
for ATLAS Offline Software by
1.17.0