ATLAS Offline Software
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 
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
19 
20 class TrackTruthCollection : public std::map<Trk::TrackTruthKey, TrackTruth>
21 {
22  friend class TrackTruthCollectionAccessor; // in TrackTruthTPCnv
24 
25 public:
26 
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
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