ATLAS Offline Software
Loading...
Searching...
No Matches
TrackParticleTruth.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5/***************************************************************************
6MC Truth object associated with an TrackParticle object
7
8***************************************************************************
9
10 ***************************************************************************/
11#ifndef PARTICLETRUTH_TRACKPARTICLETRUTH_H
12#define PARTICLETRUTH_TRACKPARTICLETRUTH_H
14
16
17 public:
22 virtual ~TrackParticleTruth();
23 const HepMcParticleLink& particleLink() const;
24 float probability() const;
25
26 private:
28 float m_probability; //probability of being m_barcode the truth information
29};
30
32{
33 return m_particleLink;
34}
35
37{
38 return m_probability;
39}
40
41#endif // PARTICLE_TRACKPARTICLETRUTH_H
42
const HepMcParticleLink & particleLink() const
HepMcParticleLink m_particleLink
TrackParticleTruth & operator=(const TrackParticleTruth &)=default
float probability() const