ATLAS Offline Software
Loading...
Searching...
No Matches
Generators
GeneratorFilters
GeneratorFilters
Common.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
#include "
MCTruthClassifier/IMCTruthClassifier.h
"
5
#include "GaudiKernel/ServiceHandle.h"
6
#include "
xAODTruth/TruthEvent.h
"
7
#include "
TruthUtils/HepMCHelpers.h
"
8
#include "GaudiKernel/ToolHandle.h"
9
namespace
Common
{
10
bool
prompt
(
const
xAOD::TruthParticle
* part,ToolHandle<IMCTruthClassifier>& m_classif );
11
bool
fromWZorTau
(
const
HepMC::ConstGenParticlePtr
& part );
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
}
HepMCHelpers.h
ATLAS-specific HepMC functions.
IMCTruthClassifier.h
TruthEvent.h
particleType
Definition
particleType.h:29
Common
Definition
Common.h:9
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::fromWZorTau
bool fromWZorTau(const HepMC::ConstGenParticlePtr &part)
Definition
Common.cxx:93
Common::prompt
bool prompt(const xAOD::TruthParticle *part, ToolHandle< IMCTruthClassifier > &m_classif)
Definition
Common.cxx:7
HepMC::ConstGenParticlePtr
const GenParticle * ConstGenParticlePtr
Definition
GenParticle.h:38
xAOD::TruthParticle
TruthParticle_v1 TruthParticle
Typedef to implementation.
Definition
Event/xAOD/xAODTruth/xAODTruth/TruthParticle.h:15
result
Generated on
for ATLAS Offline Software by
1.14.0