ATLAS Offline Software
Loading...
Searching...
No Matches
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"
8#include "GaudiKernel/ToolHandle.h"
9namespace Common {
10 bool prompt( const xAOD::TruthParticle* part,ToolHandle<IMCTruthClassifier>& m_classif );
11 bool fromWZorTau(const HepMC::ConstGenParticlePtr& part );
12void classify(ToolHandle<IMCTruthClassifier>& m_classif,
13const xAOD::TruthParticle * theParticle,
14 unsigned int& particleOutCome,
15 unsigned int& result,
16 int& hadron_pdg,
17 unsigned int& particleType,
18 unsigned int& particleOrigin );
19}
ATLAS-specific HepMC functions.
Definition Common.h:9
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
bool fromWZorTau(const HepMC::ConstGenParticlePtr &part)
Definition Common.cxx:93
bool prompt(const xAOD::TruthParticle *part, ToolHandle< IMCTruthClassifier > &m_classif)
Definition Common.cxx:7
const GenParticle * ConstGenParticlePtr
Definition GenParticle.h:38
TruthParticle_v1 TruthParticle
Typedef to implementation.