ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
JetTagging
JetTagDerivationUtils
src
SubjetBuilderAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef SUBJET_BUILDER_ALG_H
6
#define SUBJET_BUILDER_ALG_H
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
#include "
StoreGate/ReadHandleKey.h
"
10
#include "
StoreGate/ReadDecorHandleKey.h
"
11
#include "
StoreGate/WriteHandleKey.h
"
12
#include "
StoreGate/WriteDecorHandleKey.h
"
13
14
#include "
xAODJet/JetContainer.h
"
15
#include "
xAODJet/JetAuxContainer.h
"
16
#include "
xAODBase/IParticleContainer.h
"
17
18
#include "AthLinks/ElementLink.h"
19
20
#include <string>
21
#include <vector>
22
23
namespace
ftag
{
24
27
class
SubjetBuilderAlg
final :
public
AthReentrantAlgorithm
{
28
29
public
:
30
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
31
32
virtual
StatusCode
initialize
()
override
;
33
virtual
StatusCode
execute
(
const
EventContext&)
const override
;
34
35
private
:
36
using
IPLV
= std::vector<ElementLink<xAOD::IParticleContainer>>;
37
38
SG::ReadHandleKey<xAOD::JetContainer>
m_targetJetsKey
{
39
this
,
"targetJets"
,
""
,
"Input large-R jet collection"
};
40
41
SG::ReadDecorHandleKey<xAOD::JetContainer>
m_ghostKey
{
42
this
,
"ghostAssociation"
,
m_targetJetsKey
,
"GhostTruth"
,
43
"Ghost-associated constituent links on the jet"
};
44
45
SG::WriteHandleKey<xAOD::JetContainer>
m_outputKey
{
46
this
,
"outputContainer"
,
""
,
"Output subjet container"
};
47
48
SG::WriteDecorHandleKey<xAOD::JetContainer>
m_linkKey
{
49
this
,
"linkName"
,
m_targetJetsKey
,
""
,
"Decoration with links to subjets"
};
50
51
SG::WriteDecorHandleKey<xAOD::JetContainer>
m_countKey
{
52
this
,
"countName"
,
m_targetJetsKey
,
""
,
53
"Decoration with the number of reconstructed subjets per jet"
};
54
55
Gaudi::Property<float>
m_radius
{
56
this
,
"radius"
, 0.2,
"Anti-kt clustering radius"
};
57
Gaudi::Property<float>
m_ptMin
{
58
this
,
"ptMin"
, 5000,
"Minimum subjet pT in MeV"
};
59
};
60
61
}
// end namespace ftag
62
63
#endif
AthReentrantAlgorithm.h
JetAuxContainer.h
JetContainer.h
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
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.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
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
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
ftag::SubjetBuilderAlg
Recluster the ghost-associated constituents of a jet into small-R subjets, linked back from the paren...
Definition
SubjetBuilderAlg.h:27
ftag::SubjetBuilderAlg::m_outputKey
SG::WriteHandleKey< xAOD::JetContainer > m_outputKey
Definition
SubjetBuilderAlg.h:45
ftag::SubjetBuilderAlg::initialize
virtual StatusCode initialize() override
Definition
SubjetBuilderAlg.cxx:21
ftag::SubjetBuilderAlg::IPLV
std::vector< ElementLink< xAOD::IParticleContainer > > IPLV
Definition
SubjetBuilderAlg.h:36
ftag::SubjetBuilderAlg::m_ptMin
Gaudi::Property< float > m_ptMin
Definition
SubjetBuilderAlg.h:57
ftag::SubjetBuilderAlg::execute
virtual StatusCode execute(const EventContext &) const override
Definition
SubjetBuilderAlg.cxx:30
ftag::SubjetBuilderAlg::m_targetJetsKey
SG::ReadHandleKey< xAOD::JetContainer > m_targetJetsKey
Definition
SubjetBuilderAlg.h:38
ftag::SubjetBuilderAlg::m_ghostKey
SG::ReadDecorHandleKey< xAOD::JetContainer > m_ghostKey
Definition
SubjetBuilderAlg.h:41
ftag::SubjetBuilderAlg::m_radius
Gaudi::Property< float > m_radius
Definition
SubjetBuilderAlg.h:55
ftag::SubjetBuilderAlg::m_countKey
SG::WriteDecorHandleKey< xAOD::JetContainer > m_countKey
Definition
SubjetBuilderAlg.h:51
ftag::SubjetBuilderAlg::m_linkKey
SG::WriteDecorHandleKey< xAOD::JetContainer > m_linkKey
Definition
SubjetBuilderAlg.h:48
ftag
Definition
FlowSelectorAlg.cxx:16
IParticleContainer.h
Generated on
for ATLAS Offline Software by
1.17.0