ATLAS Offline Software
Tracking
TrkEvent
TrkTrack
TrkTrack
TrackExtensionMap.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRKPRIM_TRACKEXTENSION_H
6
#define TRKPRIM_TRACKEXTENSION_H
7
8
#include <vector>
9
#include <map>
10
#include "
TrkTrack/Track.h
"
11
#include "
TrkMeasurementBase/MeasurementBase.h
"
12
#include "
AthenaKernel/CLASS_DEF.h
"
13
16
class
TrackExtensionMap
:
public
std::map<const Trk::Track*, std::vector<const Trk::MeasurementBase*> > {
17
18
public
:
19
// custom destructor
20
~TrackExtensionMap
();
21
22
};
23
24
// this is a hack, inline the destructor
25
inline
TrackExtensionMap::~TrackExtensionMap
() {
26
for
(
auto
&
p
: *
this
) {
27
for
(
const
Trk::MeasurementBase
*
m
:
p
.second) {
28
delete
m
;
29
}
30
}
31
}
32
33
// do the storegate stuff
34
CLASS_DEF
(
TrackExtensionMap
, 177089779 , 1 )
35
36
#endif
python.SystemOfUnits.m
int m
Definition:
SystemOfUnits.py:91
MeasurementBase.h
Track.h
TrackExtensionMap::~TrackExtensionMap
~TrackExtensionMap()
Definition:
TrackExtensionMap.h:25
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
Trk::MeasurementBase
Definition:
MeasurementBase.h:58
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
TrackExtensionMap
AUTO - An Undocumented Tracking Object.
Definition:
TrackExtensionMap.h:16
CLASS_DEF.h
macros to associate a CLID to a type
Generated on Sun Dec 22 2024 21:20:20 for ATLAS Offline Software by
1.8.18