ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkInDet
DerivationFrameworkInDet
JetConstituentThinning.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// JetConstituentThinning.h, (c) ATLAS Detector software
8
9
#ifndef DERIVATIONFRAMEWORK_JETCONSTITUENTTHINNING_H
10
#define DERIVATIONFRAMEWORK_JETCONSTITUENTTHINNING_H
11
12
#include <string>
13
#include <vector>
14
15
#include "
AthenaBaseComps/AthAlgTool.h
"
16
#include "
DerivationFrameworkInterfaces/IThinningTool.h
"
17
#include "GaudiKernel/ToolHandle.h"
18
#include "
StoreGate/ReadHandleKey.h
"
19
#include "
StoreGate/ThinningHandleKey.h
"
20
#include "
xAODJet/JetContainer.h
"
21
#include "
xAODPFlow/FlowElementContainer.h
"
22
#include "
xAODBase/IParticleContainer.h
"
23
24
#include "
ExpressionEvaluation/ExpressionParserUser.h
"
25
26
namespace
DerivationFramework
{
27
28
class
JetConstituentThinning
29
:
public
extends<ExpressionParserUser<AthAlgTool>, IThinningTool> {
30
public
:
31
JetConstituentThinning
(
const
std::string &t,
const
std::string &n,
32
const
IInterface *p);
33
virtual
~JetConstituentThinning
();
34
virtual
StatusCode
initialize
()
override
;
35
virtual
StatusCode
finalize
()
override
;
36
virtual
StatusCode
doThinning
(
const
EventContext& ctx)
const override
;
37
38
private
:
39
StringProperty
m_streamName
{
this
,
"StreamName"
,
""
,
40
"Name of the stream being thinned"
};
41
42
SG::ReadHandleKey<xAOD::JetContainer>
m_jetSGKey
{
43
this
,
"JetKey"
,
""
,
"SG key for jet container"
};
44
45
StringProperty
m_selectionString
{
46
this
,
"SelectionString"
,
""
,
"Selection string for jets"
};
47
48
StringProperty
m_jetConstituentName
{
49
this
,
"JetConstituentName"
,
"CHSG"
,
"Prefix for jet constituent containers (e.g., CHSG for CHSGChargedParticleFlowObjects)"
};
50
51
StringProperty
m_globalConstituentName
{
52
this
,
"GlobalConstituentName"
,
"Global"
,
"Prefix for global constituent containers (e.g., Global for GlobalChargedParticleFlowObjects)"
};
53
54
StringProperty
m_otherObjectsName
{
55
this
,
"OtherObjectsName"
,
""
,
"Optional container name for otherObjects (e.g., CaloCalTopoClusters). If empty, otherObjects thinning is disabled."
};
56
57
SG::ThinningHandleKey<xAOD::FlowElementContainer>
m_jetChargedKey
;
58
SG::ThinningHandleKey<xAOD::FlowElementContainer>
m_jetNeutralKey
;
59
SG::ThinningHandleKey<xAOD::FlowElementContainer>
m_globalChargedKey
;
60
SG::ThinningHandleKey<xAOD::FlowElementContainer>
m_globalNeutralKey
;
61
SG::ThinningHandleKey<xAOD::IParticleContainer>
m_otherObjectsKey
;
62
};
63
64
}
// namespace DerivationFramework
65
66
#endif
// DERIVATIONFRAMEWORK_JETCONSTITUENTTHINNING_H
AthAlgTool.h
ExpressionParserUser.h
FlowElementContainer.h
IThinningTool.h
JetContainer.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
ThinningHandleKey.h
HandleKey object for adding thinning to an object.
DerivationFramework::JetConstituentThinning::m_globalConstituentName
StringProperty m_globalConstituentName
Definition
JetConstituentThinning.h:51
DerivationFramework::JetConstituentThinning::~JetConstituentThinning
virtual ~JetConstituentThinning()
DerivationFramework::JetConstituentThinning::m_jetSGKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetSGKey
Definition
JetConstituentThinning.h:42
DerivationFramework::JetConstituentThinning::m_otherObjectsKey
SG::ThinningHandleKey< xAOD::IParticleContainer > m_otherObjectsKey
Definition
JetConstituentThinning.h:61
DerivationFramework::JetConstituentThinning::m_streamName
StringProperty m_streamName
Definition
JetConstituentThinning.h:39
DerivationFramework::JetConstituentThinning::m_jetConstituentName
StringProperty m_jetConstituentName
Definition
JetConstituentThinning.h:48
DerivationFramework::JetConstituentThinning::m_globalNeutralKey
SG::ThinningHandleKey< xAOD::FlowElementContainer > m_globalNeutralKey
Definition
JetConstituentThinning.h:60
DerivationFramework::JetConstituentThinning::finalize
virtual StatusCode finalize() override
Definition
JetConstituentThinning.cxx:73
DerivationFramework::JetConstituentThinning::m_jetChargedKey
SG::ThinningHandleKey< xAOD::FlowElementContainer > m_jetChargedKey
Definition
JetConstituentThinning.h:57
DerivationFramework::JetConstituentThinning::m_selectionString
StringProperty m_selectionString
Definition
JetConstituentThinning.h:45
DerivationFramework::JetConstituentThinning::JetConstituentThinning
JetConstituentThinning(const std::string &t, const std::string &n, const IInterface *p)
Definition
JetConstituentThinning.cxx:16
DerivationFramework::JetConstituentThinning::m_otherObjectsName
StringProperty m_otherObjectsName
Definition
JetConstituentThinning.h:54
DerivationFramework::JetConstituentThinning::m_jetNeutralKey
SG::ThinningHandleKey< xAOD::FlowElementContainer > m_jetNeutralKey
Definition
JetConstituentThinning.h:58
DerivationFramework::JetConstituentThinning::doThinning
virtual StatusCode doThinning(const EventContext &ctx) const override
Definition
JetConstituentThinning.cxx:79
DerivationFramework::JetConstituentThinning::m_globalChargedKey
SG::ThinningHandleKey< xAOD::FlowElementContainer > m_globalChargedKey
Definition
JetConstituentThinning.h:59
DerivationFramework::JetConstituentThinning::initialize
virtual StatusCode initialize() override
Definition
JetConstituentThinning.cxx:22
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::ThinningHandleKey
HandleKey object for adding thinning to an object.
Definition
ThinningHandleKey.h:39
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
IParticleContainer.h
Generated on
for ATLAS Offline Software by
1.17.0