ATLAS Offline Software
Loading...
Searching...
No Matches
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"
14
15#include <map>
16
17//class TrackCollection; // forward-declaring a typedef is not elegant
19
20class TrackTruthCollection : public std::map<Trk::TrackTruthKey, TrackTruth>
21{
22 friend class TrackTruthCollectionAccessor; // in TrackTruthTPCnv
24
25public:
26
29
30 TrackTruthCollection() {} // For POOL
31};
32
33CLASS_DEF(TrackTruthCollection,1236535072 , 1)
34
35#endif // TRKTRUTHDATA_TRACKTRUTHCOLLECTION_H
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
DataLink< TrackCollection > m_trackCollection
DataLink< TrackCollection > trackCollectionLink() const
friend class TrackTruthCollectionAccessor
TrackTruthCollection(const DataLink< TrackCollection > &tracks)