ATLAS Offline Software
Loading...
Searching...
No Matches
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
17#include "GaudiKernel/ToolHandle.h"
23
25
26namespace DerivationFramework {
27
29 : public extends<ExpressionParserUser<AthAlgTool>, IThinningTool> {
30public:
31 JetConstituentThinning(const std::string &t, const std::string &n,
32 const IInterface *p);
34 virtual StatusCode initialize() override;
35 virtual StatusCode finalize() override;
36 virtual StatusCode doThinning() const override;
37
38private:
39 StringProperty m_streamName{this, "StreamName", "",
40 "Name of the stream being thinned"};
41
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
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
62};
63
64} // namespace DerivationFramework
65
66#endif // DERIVATIONFRAMEWORK_JETCONSTITUENTTHINNING_H
Property holding a SG store/key/clid from which a ReadHandle is made.
HandleKey object for adding thinning to an object.
SG::ReadHandleKey< xAOD::JetContainer > m_jetSGKey
SG::ThinningHandleKey< xAOD::IParticleContainer > m_otherObjectsKey
SG::ThinningHandleKey< xAOD::FlowElementContainer > m_globalNeutralKey
virtual StatusCode doThinning() const override
SG::ThinningHandleKey< xAOD::FlowElementContainer > m_jetChargedKey
JetConstituentThinning(const std::string &t, const std::string &n, const IInterface *p)
SG::ThinningHandleKey< xAOD::FlowElementContainer > m_jetNeutralKey
SG::ThinningHandleKey< xAOD::FlowElementContainer > m_globalChargedKey
Property holding a SG store/key/clid from which a ReadHandle is made.
HandleKey object for adding thinning to an object.
THE reconstruction tool.