ATLAS Offline Software
TrackTruth.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 #ifndef TRKPREPRAWDATATRUTH_TRACKTHRUTH_H
7 #define TRKPREPRAWDATATRUTH_TRACKTHRUTH_H
8 
10 
14 class TrackTruth {
15 
16  public:
19 
21  int=0 /*FIXME: unused "flag" arg so that old code still compiles */
22  )
24  {}
25 
26  const HepMcParticleLink& particleLink() const { return m_particleLink; }
27 
28  float probability() const { return m_probability; }
29 
30  private:
32  float m_probability; // parameter indicating the quality of match
33 };
34 
35 #endif // TRKPREPRAWDATATRUTH_TRACKTHRUTH_H
TrackTruth::m_probability
float m_probability
Definition: TrackTruth.h:32
TrackTruth::particleLink
const HepMcParticleLink & particleLink() const
Definition: TrackTruth.h:26
TrackTruth::m_particleLink
HepMcParticleLink m_particleLink
Definition: TrackTruth.h:31
TrackTruth
MC particle associated with a reco track + the quality of match.
Definition: TrackTruth.h:14
TrackTruth::probability
float probability() const
Definition: TrackTruth.h:28
TrackTruth::TrackTruth
TrackTruth()
default ctr is required by POOL converters
Definition: TrackTruth.h:18
TrackTruth::TrackTruth
TrackTruth(const HepMcParticleLink &particleLink, float probability, int=0)
Definition: TrackTruth.h:20