ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis
AnalysisCommon
ParticleJetTools
Root
CopyTruthPartons.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
ParticleJetTools/CopyTruthPartons.h
"
6
#include "
xAODTruth/TruthParticleContainer.h
"
7
#include "
TruthUtils/HepMCHelpers.h
"
8
9
using namespace
std
;
10
11
12
bool
CopyTruthPartons::classify
(
const
xAOD::TruthParticle
* tp)
const
{
13
return
MC::isParton
(tp->pdgId());
14
}
CopyTruthPartons.h
TruthParticleContainer.h
HepMCHelpers.h
ATLAS-specific HepMC functions.
CopyTruthPartons::classify
bool classify(const xAOD::TruthParticle *tp) const
Classifier function(s)
Definition
CopyTruthPartons.cxx:12
MC::isParton
bool isParton(const T &p)
Definition
HepMCHelpers.h:1104
std
STL namespace.
xAOD::TruthParticle
TruthParticle_v1 TruthParticle
Typedef to implementation.
Definition
Event/xAOD/xAODTruth/xAODTruth/TruthParticle.h:15
Generated on
for ATLAS Offline Software by
1.14.0