ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
TruthPartonLevelAnalysisAlgorithms
PartonHistory
PartonHistoryUtils.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
7
8
#ifndef PARTONS_TOPPARTONUTILS_H
9
#define PARTONS_TOPPARTONUTILS_H
10
11
#include "
xAODTruth/TruthParticleContainer.h
"
12
13
namespace
CP
{
14
using
ROOT::Math::PtEtaPhiMVector;
15
16
namespace
PartonHistoryUtils
{
18
const
xAOD::TruthParticle
*
findAfterFSR
(
const
xAOD::TruthParticle
* particle);
19
20
// determine whether potentialChild is child of parent
21
bool
isChildOf
(
const
xAOD::TruthParticle
* parent,
22
const
xAOD::TruthParticle
* potentialChild);
23
25
bool
isBrokenTop
(
const
xAOD::TruthParticle
* particle);
26
28
bool
isAfterFSR
(
const
xAOD::TruthParticle
* particle);
29
31
bool
hasParticleIdenticalParent
(
const
xAOD::TruthParticle
* particle);
32
33
// Checking whether a particle has the same pdgId as its parent
34
bool
hasParentPdgId
(
const
xAOD::TruthParticle
* particle,
int
PdgId);
35
bool
hasParentPdgId
(
const
xAOD::TruthParticle
* particle);
36
37
// Checking whether a particle has the same absolute pdgId as absPdgId
38
bool
hasParentAbsPdgId
(
const
xAOD::TruthParticle
* particle,
int
absPdgId);
39
40
// Checking whether a particle has an identical child
41
bool
hasIdenticalChild
(
const
xAOD::TruthParticle
* particle);
42
43
// Checking whether a particle is a quark from the PDF (massless)
44
bool
isQuarkFromPDF
(
const
xAOD::TruthParticle
* particle);
45
46
}
// namespace PartonHistoryUtils
47
}
// namespace CP
48
49
#endif
TruthParticleContainer.h
CP::PartonHistoryUtils
Definition
PartonHistoryUtils.h:16
CP::PartonHistoryUtils::hasIdenticalChild
bool hasIdenticalChild(const xAOD::TruthParticle *particle)
Definition
PartonHistoryUtils.cxx:31
CP::PartonHistoryUtils::hasParticleIdenticalParent
bool hasParticleIdenticalParent(const xAOD::TruthParticle *particle)
Return true when particle is a top before FSR.
Definition
PartonHistoryUtils.cxx:47
CP::PartonHistoryUtils::isQuarkFromPDF
bool isQuarkFromPDF(const xAOD::TruthParticle *particle)
Definition
PartonHistoryUtils.cxx:129
CP::PartonHistoryUtils::hasParentPdgId
bool hasParentPdgId(const xAOD::TruthParticle *particle, int PdgId)
Definition
PartonHistoryUtils.cxx:17
CP::PartonHistoryUtils::findAfterFSR
const xAOD::TruthParticle * findAfterFSR(const xAOD::TruthParticle *particle)
Return particle after FSR (before the decay vertex).
Definition
PartonHistoryUtils.cxx:93
CP::PartonHistoryUtils::isChildOf
bool isChildOf(const xAOD::TruthParticle *parent, const xAOD::TruthParticle *potentialChild)
Definition
PartonHistoryUtils.cxx:60
CP::PartonHistoryUtils::isAfterFSR
bool isAfterFSR(const xAOD::TruthParticle *particle)
Determine whether particle is afterFSR.
Definition
PartonHistoryUtils.cxx:84
CP::PartonHistoryUtils::isBrokenTop
bool isBrokenTop(const xAOD::TruthParticle *particle)
Looking for tops without children -> must be broken.
Definition
PartonHistoryUtils.cxx:117
CP::PartonHistoryUtils::hasParentAbsPdgId
bool hasParentAbsPdgId(const xAOD::TruthParticle *particle, int absPdgId)
Definition
PartonHistoryUtils.cxx:42
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
xAOD::TruthParticle
TruthParticle_v1 TruthParticle
Typedef to implementation.
Definition
Event/xAOD/xAODTruth/xAODTruth/TruthParticle.h:15
Generated on
for ATLAS Offline Software by
1.17.0