ATLAS Offline Software
Reconstruction
TrackParticleTruthTPCnv
TrackParticleTruthTPCnv
TrackParticleTruthCollection_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
#ifndef TRACKPARTICLETRUTHCOLLECTION_P2_H
6
#define TRACKPARTICLETRUTHCOLLECTION_P2_H
7
8
#include "
DataModelAthenaPool/DataLink_p1.h
"
9
#include "
Particle/TrackParticleContainer.h
"
10
#include "
GeneratorObjectsTPCnv/HepMcParticleLink_p2.h
"
11
12
#include <vector>
13
14
15
namespace
Rec
{
16
class
TrackParticleTruthCollection_p2
{
17
public
:
18
19
DataLink_p1
m_trackCollectionLink
;
20
21
// Perhaps can use here a 32 bit unsigned instead of the 64 bit one?
22
typedef
TrackParticleContainer::size_type
size_type
;
23
24
struct
Entry
{
25
size_type
index
;
26
27
// Do TrackParticleTruth here instead of introducing a separate converer for it.
28
// TrackParticleTruth::m_flag is not used, don't store it.
29
float
probability
;
30
HepMcParticleLink_p2
particle
;
31
};
32
33
typedef
std::vector<Entry>
CollectionType
;
34
CollectionType
m_entries
;
35
};
36
37
}
38
39
#endif
/*TRACKPARTICLETRUTHCOLLECTION_P2_H*/
40
Rec::TrackParticleTruthCollection_p2
Definition:
TrackParticleTruthCollection_p2.h:16
Rec::TrackParticleTruthCollection_p2::Entry::particle
HepMcParticleLink_p2 particle
Definition:
TrackParticleTruthCollection_p2.h:30
Rec::TrackParticleTruthCollection_p2::m_trackCollectionLink
DataLink_p1 m_trackCollectionLink
Definition:
TrackParticleTruthCollection_p2.h:19
Rec::TrackParticleTruthCollection_p2::Entry::probability
float probability
Definition:
TrackParticleTruthCollection_p2.h:29
DataLink_p1
Persistent representation of DataLink contains the StoreGate key of the container object to which the...
Definition:
DataLink_p1.h:24
Rec::TrackParticleTruthCollection_p2::size_type
TrackParticleContainer::size_type size_type
Definition:
TrackParticleTruthCollection_p2.h:22
DataLink_p1.h
This file contains the class definition for DataLink_p1 and DataLinkVector_p1.
Rec
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
Definition:
FakeTrackBuilder.h:10
Rec::TrackParticleTruthCollection_p2::Entry
Definition:
TrackParticleTruthCollection_p2.h:24
Rec::TrackParticleTruthCollection_p2::Entry::index
size_type index
Definition:
TrackParticleTruthCollection_p2.h:25
Rec::TrackParticleTruthCollection_p2::CollectionType
std::vector< Entry > CollectionType
Definition:
TrackParticleTruthCollection_p2.h:33
Rec::TrackParticleTruthCollection_p2::m_entries
CollectionType m_entries
Definition:
TrackParticleTruthCollection_p2.h:34
HepMcParticleLink_p2
Definition:
HepMcParticleLink_p2.h:17
DataVector< TrackParticle >::size_type
BASE::size_type size_type
Definition:
DataVector.h:813
HepMcParticleLink_p2.h
TrackParticleContainer.h
Generated on Mon Dec 23 2024 21:20:45 for ATLAS Offline Software by
1.8.18