ATLAS Offline Software
Common.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
5 #include "GaudiKernel/ServiceHandle.h"
6 #include "xAODTruth/TruthEvent.h"
8 #include "GaudiKernel/ToolHandle.h"
9 namespace Common {
10  bool prompt( const xAOD::TruthParticle* part,ToolHandle<IMCTruthClassifier>& m_classif );
12 void classify(ToolHandle<IMCTruthClassifier>& m_classif,
13 const xAOD::TruthParticle * theParticle,
14  unsigned int& particleOutCome,
15  unsigned int& result,
16  int& hadron_pdg,
17  unsigned int& particleType,
18  unsigned int& particleOrigin );
19 }
LArG4FSStartPointFilter.part
part
Definition: LArG4FSStartPointFilter.py:21
get_generator_info.result
result
Definition: get_generator_info.py:21
Common::classify
void classify(ToolHandle< IMCTruthClassifier > &m_classif, const xAOD::TruthParticle *theParticle, unsigned int &particleOutCome, unsigned int &result, int &hadron_pdg, unsigned int &particleType, unsigned int &particleOrigin)
Definition: Common.cxx:96
Common::prompt
bool prompt(const xAOD::TruthParticle *part, ToolHandle< IMCTruthClassifier > &m_classif)
Definition: Common.cxx:7
particleType
Definition: particleType.h:29
Common
Definition: Common.h:9
IMCTruthClassifier.h
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition: TruthParticle_v1.h:41
HepMC::ConstGenParticlePtr
const GenParticle * ConstGenParticlePtr
Definition: GenParticle.h:38
Common::fromWZorTau
bool fromWZorTau(const HepMC::ConstGenParticlePtr &part)
Definition: Common.cxx:93
HepMCHelpers.h
TruthEvent.h