ATLAS Offline Software
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 
8 
9 using namespace std;
10 
11 
13  return MC::isParton(tp->pdgId());
14 }
CopyTruthPartons::classify
bool classify(const xAOD::TruthParticle *tp) const
Classifier function(s)
Definition: CopyTruthPartons.cxx:12
TruthParticleContainer.h
ParticleTest.tp
tp
Definition: ParticleTest.py:25
isParton
bool isParton(const T &p)
Definition: AtlasPID.h:841
CopyTruthPartons.h
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition: TruthParticle_v1.h:37
HepMCHelpers.h