ATLAS Offline Software
Tracking
TrkEvent
TrkTruthData
TrkTruthData
DetailedTrackTruthCollection.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 DETAILEDTRACKTRUTHCOLLECTION_H
7
#define DETAILEDTRACKTRUTHCOLLECTION_H
8
9
#include "
TrkTruthData/TrackTruthKey.h
"
10
#include "
TrkTruthData/DetailedTrackTruth.h
"
11
#include "
TrkTrack/TrackCollection.h
"
12
#include "AthLinks/DataLink.h"
13
#include "
AthenaKernel/CLASS_DEF.h
"
14
15
#include <map>
16
17
class
TrackTruthCollectionAccessor
;
18
19
class
DetailedTrackTruthCollection
:
public
std::multimap<Trk::TrackTruthKey, DetailedTrackTruth>
20
{
21
friend
class
TrackTruthCollectionAccessor
;
// in TrackTruthTPCnv
22
DataLink<TrackCollection>
m_trackCollection
;
23
public
:
24
DetailedTrackTruthCollection
(
const
DataLink<TrackCollection>
tracks) :
m_trackCollection
(tracks) {}
25
DataLink<TrackCollection>
trackCollectionLink
()
const
{
return
m_trackCollection
; }
26
void
setTrackCollection
(
const
DataLink<TrackCollection>
tracks){
m_trackCollection
=tracks;}
27
28
// for POOL
29
DetailedTrackTruthCollection
() {}
30
};
31
32
33
CLASS_DEF
(
DetailedTrackTruthCollection
, 1289199392, 1)
34
35
#endif
/*DETAILEDTRACKTRUTHCOLLECTION_H*/
TrackTruthKey.h
DataLink
Object reference supporting deferred reading from StoreGate.
Definition:
AthLinks/DataLink.h:95
TrackCollection.h
DetailedTrackTruthCollection::DetailedTrackTruthCollection
DetailedTrackTruthCollection(const DataLink< TrackCollection > tracks)
Definition:
DetailedTrackTruthCollection.h:24
DetailedTrackTruth.h
DetailedTrackTruthCollection::m_trackCollection
DataLink< TrackCollection > m_trackCollection
Definition:
DetailedTrackTruthCollection.h:22
DetailedTrackTruthCollection::setTrackCollection
void setTrackCollection(const DataLink< TrackCollection > tracks)
Definition:
DetailedTrackTruthCollection.h:26
TrackTruthCollectionAccessor
Definition:
TrackTruthCollectionAccessor.h:16
DetailedTrackTruthCollection::trackCollectionLink
DataLink< TrackCollection > trackCollectionLink() const
Definition:
DetailedTrackTruthCollection.h:25
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
DetailedTrackTruthCollection
Definition:
DetailedTrackTruthCollection.h:20
CLASS_DEF.h
macros to associate a CLID to a type
DetailedTrackTruthCollection::DetailedTrackTruthCollection
DetailedTrackTruthCollection()
Definition:
DetailedTrackTruthCollection.h:29
Generated on Thu Nov 7 2024 21:13:38 for ATLAS Offline Software by
1.8.18