ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkTop
src
PartonJetAugmentationTool.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 DERIVATIONFRAMEWORK_PARTONJETAUGMENTATIONTOOL_H
6
#define DERIVATIONFRAMEWORK_PARTONJETAUGMENTATIONTOOL_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
10
#include "
xAODTruth/TruthParticleContainer.h
"
11
#include "
xAODJet/JetContainer.h
"
12
13
#include <vector>
14
15
class
TLorentzVector;
16
17
18
namespace
DerivationFramework
{
19
20
class
PartonJetAugmentationTool
:
public
extends<AthAlgTool, IAugmentationTool> {
21
22
public
:
23
using
base_class::base_class;
24
25
virtual
StatusCode
initialize
()
override
;
26
virtual
StatusCode
addBranches
(
const
EventContext& ctx)
const override
;
27
28
private
:
29
SG::ReadHandleKey<xAOD::TruthParticleContainer>
m_truthKey
{
30
this
,
"TruthParticles"
,
"TruthParticles"
,
"Input truth particles"
31
};
32
33
SG::WriteHandleKey<xAOD::JetContainer>
m_partonJetsKey
{
34
this
,
"PartonJets"
,
"PartonJets"
,
"Output parton jets"
35
};
36
bool
extrajet
(
const
xAOD::TruthParticleContainer
* truthParticles,
37
TLorentzVector& lj,
38
TLorentzVector& slj,
39
TLorentzVector& tlj,
40
const
std::vector<TLorentzVector>& ttbarDecayProducts,
41
const
std::vector<int>& decayProduct_pdgID,
42
double
Rparam,
43
double
pt_min)
const
;
44
45
bool
isLastBeforeHadronization
(
const
xAOD::TruthParticle
* p)
const
;
46
47
48
};
49
}
50
51
#endif
AthAlgTool.h
TruthParticleContainer.h
IAugmentationTool.h
JetContainer.h
DerivationFramework::PartonJetAugmentationTool
Definition
PartonJetAugmentationTool.h:20
DerivationFramework::PartonJetAugmentationTool::m_partonJetsKey
SG::WriteHandleKey< xAOD::JetContainer > m_partonJetsKey
Definition
PartonJetAugmentationTool.h:33
DerivationFramework::PartonJetAugmentationTool::m_truthKey
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_truthKey
Definition
PartonJetAugmentationTool.h:29
DerivationFramework::PartonJetAugmentationTool::isLastBeforeHadronization
bool isLastBeforeHadronization(const xAOD::TruthParticle *p) const
Definition
PartonJetAugmentationTool.cxx:118
DerivationFramework::PartonJetAugmentationTool::extrajet
bool extrajet(const xAOD::TruthParticleContainer *truthParticles, TLorentzVector &lj, TLorentzVector &slj, TLorentzVector &tlj, const std::vector< TLorentzVector > &ttbarDecayProducts, const std::vector< int > &decayProduct_pdgID, double Rparam, double pt_min) const
Definition
PartonJetAugmentationTool.cxx:155
DerivationFramework::PartonJetAugmentationTool::initialize
virtual StatusCode initialize() override
Definition
PartonJetAugmentationTool.cxx:22
DerivationFramework::PartonJetAugmentationTool::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override
Definition
PartonJetAugmentationTool.cxx:35
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
xAOD::TruthParticle
TruthParticle_v1 TruthParticle
Typedef to implementation.
Definition
Event/xAOD/xAODTruth/xAODTruth/TruthParticle.h:15
xAOD::TruthParticleContainer
TruthParticleContainer_v1 TruthParticleContainer
Declare the latest version of the truth particle container.
Definition
Event/xAOD/xAODTruth/xAODTruth/TruthParticleContainer.h:17
Generated on
for ATLAS Offline Software by
1.17.0