ATLAS Offline Software
PhysicsAnalysis
AnalysisCommon
ParticleJetTools
ParticleJetTools
CopyFlavorLabelTruthParticles.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef COPYFLAVORLABELTRUTHPARTICLES_H
6
#define COPYFLAVORLABELTRUTHPARTICLES_H
7
8
#include "
ParticleJetTools/CopyTruthParticles.h
"
9
10
11
class
CopyFlavorLabelTruthParticles
:
public
CopyTruthParticles
{
12
ASG_TOOL_CLASS2
(
CopyFlavorLabelTruthParticles
,
CopyTruthParticles
,
IJetExecuteTool
)
13
public
:
14
16
CopyFlavorLabelTruthParticles
(
const
std::string&
name
);
17
19
bool
classify
(
const
xAOD::TruthParticle
*
tp
)
const
;
20
21
22
private
:
23
25
std::string
m_ptype
;
26
27
};
28
29
30
#endif
ASG_TOOL_CLASS2
#define ASG_TOOL_CLASS2(CLASSNAME, INT1, INT2)
Definition:
AsgToolMacros.h:77
CopyFlavorLabelTruthParticles::m_ptype
std::string m_ptype
Particle selection mode.
Definition:
CopyFlavorLabelTruthParticles.h:25
ParticleTest.tp
tp
Definition:
ParticleTest.py:25
IJetExecuteTool
IJetExecuteTool is a dual-use tool interface for generic tools, i.e. those that behave like algorithm...
Definition:
IJetExecuteTool.h:19
CopyFlavorLabelTruthParticles::classify
bool classify(const xAOD::TruthParticle *tp) const
Classifier function(s)
Definition:
CopyFlavorLabelTruthParticles.cxx:54
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition:
TruthParticle_v1.h:37
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
CopyFlavorLabelTruthParticles
Definition:
CopyFlavorLabelTruthParticles.h:11
CopyTruthParticles.h
CopyTruthParticles
Definition:
CopyTruthParticles.h:18
CopyFlavorLabelTruthParticles::CopyFlavorLabelTruthParticles
CopyFlavorLabelTruthParticles(const std::string &name)
Constructor.
Definition:
CopyFlavorLabelTruthParticles.cxx:15
Generated on Sun Dec 22 2024 21:08:37 for ATLAS Offline Software by
1.8.18