ATLAS Offline Software
Tracking
TrkEventCnv
TrkTruthTPCnv
TrkTruthTPCnv
TrackTruthCollection_p2.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
7
// Andrei.Gaponenko@cern.ch, 2007
8
// Olivier.Arnaez@cern.ch, 2015
9
10
#ifndef TRACKTRUTHCOLLECTION_P2_H
11
#define TRACKTRUTHCOLLECTION_P2_H
12
13
#include "
DataModelAthenaPool/DataLink_p1.h
"
14
#include "
TrkTrack/TrackCollection.h
"
15
#include "
GeneratorObjectsTPCnv/HepMcParticleLink_p2.h
"
16
17
#include <vector>
18
19
20
namespace
Trk
{
21
class
TrackTruthCollection_p2
{
22
public
:
23
24
DataLink_p1
m_trackCollectionLink
;
25
26
// Perhaps can use here a 32 bit unsigned instead of the 64 bit one?
27
typedef
TrackCollection::size_type
size_type
;
28
29
struct
Entry
{
30
size_type
index
;
31
32
// Do TrackTruth here instead of introducing a separate converer for it.
33
// TrackTruth::m_flag is not used, don't store it.
34
float
probability
;
35
HepMcParticleLink_p2
particle
;
36
};
37
38
typedef
std::vector<Entry>
CollectionType
;
39
CollectionType
m_entries
;
40
};
41
42
}
43
44
#endif
/*TRACKTRUTHCOLLECTION_P2_H*/
Trk::TrackTruthCollection_p2::m_entries
CollectionType m_entries
Definition:
TrackTruthCollection_p2.h:39
Trk::TrackTruthCollection_p2::CollectionType
std::vector< Entry > CollectionType
Definition:
TrackTruthCollection_p2.h:38
DataLink_p1
Persistent representation of DataLink contains the StoreGate key of the container object to which the...
Definition:
DataLink_p1.h:24
Trk::TrackTruthCollection_p2::Entry::probability
float probability
Definition:
TrackTruthCollection_p2.h:34
DataLink_p1.h
This file contains the class definition for DataLink_p1 and DataLinkVector_p1.
Trk::TrackTruthCollection_p2::Entry::index
size_type index
Definition:
TrackTruthCollection_p2.h:30
TrackCollection.h
Trk::TrackTruthCollection_p2::Entry
Definition:
TrackTruthCollection_p2.h:29
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
Trk::TrackTruthCollection_p2
Definition:
TrackTruthCollection_p2.h:21
Trk::TrackTruthCollection_p2::size_type
TrackCollection::size_type size_type
Definition:
TrackTruthCollection_p2.h:27
HepMcParticleLink_p2
Definition:
HepMcParticleLink_p2.h:17
DataVector< Trk::Track >::size_type
BASE::size_type size_type
Definition:
DataVector.h:813
HepMcParticleLink_p2.h
Trk::TrackTruthCollection_p2::m_trackCollectionLink
DataLink_p1 m_trackCollectionLink
Definition:
TrackTruthCollection_p2.h:24
Trk::TrackTruthCollection_p2::Entry::particle
HepMcParticleLink_p2 particle
Definition:
TrackTruthCollection_p2.h:35
Generated on Thu Nov 7 2024 21:29:16 for ATLAS Offline Software by
1.8.18