ATLAS Offline Software
Tracking
TrkEvent
TrkTruthData
TrkTruthData
TrackTruthCollection.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// Dear emacs, this is -*-c++-*-
6
#ifndef TRKTRUTHDATA_TRACKTRUTHCOLLECTION_H
7
#define TRKTRUTHDATA_TRACKTRUTHCOLLECTION_H
8
9
#include "
TrkTruthData/TrackTruthKey.h
"
10
#include "
TrkTruthData/TrackTruth.h
"
11
#include "
TrkTrack/TrackCollection.h
"
12
#include "AthLinks/DataLink.h"
13
#include "
AthenaKernel/CLASS_DEF.h
"
14
15
#include <map>
16
17
//class TrackCollection; // forward-declaring a typedef is not elegant
18
class
TrackTruthCollectionAccessor
;
19
20
class
TrackTruthCollection
:
public
std::map<Trk::TrackTruthKey, TrackTruth>
21
{
22
friend
class
TrackTruthCollectionAccessor
;
// in TrackTruthTPCnv
23
DataLink<TrackCollection>
m_trackCollection
;
24
25
public
:
26
27
DataLink<TrackCollection>
trackCollectionLink
()
const
{
return
m_trackCollection
; }
28
TrackTruthCollection
(
const
DataLink<TrackCollection>
& tracks) :
m_trackCollection
(tracks) {}
29
30
TrackTruthCollection
() {}
// For POOL
31
};
32
33
CLASS_DEF
(
TrackTruthCollection
,1236535072 , 1)
34
35
#endif // TRKTRUTHDATA_TRACKTRUTHCOLLECTION_H
TrackTruthCollection::TrackTruthCollection
TrackTruthCollection()
Definition:
TrackTruthCollection.h:30
TrackTruthCollection::TrackTruthCollection
TrackTruthCollection(const DataLink< TrackCollection > &tracks)
Definition:
TrackTruthCollection.h:28
TrackTruthKey.h
TrackTruthCollection
Definition:
TrackTruthCollection.h:21
DataLink
Object reference supporting deferred reading from StoreGate.
Definition:
AthLinks/DataLink.h:95
TrackCollection.h
TrackTruth.h
TrackTruthCollection::m_trackCollection
DataLink< TrackCollection > m_trackCollection
Definition:
TrackTruthCollection.h:23
TrackTruthCollectionAccessor
Definition:
TrackTruthCollectionAccessor.h:16
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition:
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
CLASS_DEF.h
macros to associate a CLID to a type
TrackTruthCollection::trackCollectionLink
DataLink< TrackCollection > trackCollectionLink() const
Definition:
TrackTruthCollection.h:27
Generated on Thu Nov 7 2024 21:29:15 for ATLAS Offline Software by
1.8.18