ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkTools
TrkToolInterfaces
TrkToolInterfaces
ITruthTrajectoryBuilder.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
// Dear emacs, this is -*-c++-*-
6
11
12
#ifndef ITRUTHTRAJECTORYBUILDER_H
13
#define ITRUTHTRAJECTORYBUILDER_H
14
15
#include "GaudiKernel/IAlgTool.h"
16
17
// Forard declarations
18
class
TruthTrajectory
;
19
#include "
AtlasHepMC/GenParticle_fwd.h
"
20
21
namespace
Trk
{
22
23
static
const
InterfaceID
IID_ITruthTrajectoryBuilder
(
"Trk::ITruthTrajectoryBuilder"
,1,0);
24
25
class
ITruthTrajectoryBuilder
:
virtual
public
IAlgTool {
26
public
:
27
static
const
InterfaceID&
interfaceID
() {
return
IID_ITruthTrajectoryBuilder
; }
28
32
virtual
void
buildTruthTrajectory
(
TruthTrajectory
*result,
const
HepMC::ConstGenParticlePtr
& input)
const
= 0;
33
35
virtual
HepMC::ConstGenParticlePtr
getMother
(
const
HepMC::ConstGenParticlePtr
& part)
const
= 0;
36
38
virtual
HepMC::ConstGenParticlePtr
getDaughter
(
const
HepMC::ConstGenParticlePtr
& part)
const
= 0;
39
};
40
41
}
// namespace Trk
42
43
#endif
/*ITRUTHTRAJECTORYBUILDER_H*/
GenParticle_fwd.h
Trk::ITruthTrajectoryBuilder
Definition
ITruthTrajectoryBuilder.h:25
Trk::ITruthTrajectoryBuilder::buildTruthTrajectory
virtual void buildTruthTrajectory(TruthTrajectory *result, const HepMC::ConstGenParticlePtr &input) const =0
Build a TruthTrajectory this particle belongs to.
Trk::ITruthTrajectoryBuilder::getMother
virtual HepMC::ConstGenParticlePtr getMother(const HepMC::ConstGenParticlePtr &part) const =0
Previous particle on the truth trajectory or 0.
Trk::ITruthTrajectoryBuilder::getDaughter
virtual HepMC::ConstGenParticlePtr getDaughter(const HepMC::ConstGenParticlePtr &part) const =0
Next particle on the truth trajectory or 0.
Trk::ITruthTrajectoryBuilder::interfaceID
static const InterfaceID & interfaceID()
Definition
ITruthTrajectoryBuilder.h:27
TruthTrajectory
A TruthTrajectory is a chain of charged MC particles connected through the mother-daughter relationsh...
Definition
TruthTrajectory.h:26
HepMC::ConstGenParticlePtr
HepMC3::ConstGenParticlePtr ConstGenParticlePtr
Definition
GenParticle.h:20
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Trk::IID_ITruthTrajectoryBuilder
static const InterfaceID IID_ITruthTrajectoryBuilder("Trk::ITruthTrajectoryBuilder", 1, 0)
Generated on
for ATLAS Offline Software by
1.17.0