ATLAS Offline Software
Tracking
TrkEventCnv
TrkTruthTPCnv
TrkTruthTPCnv
TrackTruthKey_p0.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// Dear emacs, this is -*-c++-*-
6
7
// Andrei.Gaponenko@cern.ch, 2007
8
9
10
#ifndef TRACKTRUTHKEY_P0_H
11
#define TRACKTRUTHKEY_P0_H
12
13
#include "
TrkTrack/TrackCollection.h
"
14
15
namespace
Trk
{
16
17
struct
TrackTruthKey_p0
{
18
// Is it enough to use a 32 bit unsigned instead?
19
typedef
TrackCollection::size_type
size_type
;
20
size_type
m_index
;
21
22
TrackTruthKey_p0
(
size_type
i
) :
m_index
(
i
) {}
23
24
// Reflex is clueless about handling types that do not have a default constructor
25
TrackTruthKey_p0
() :
m_index
(-1U) {}
26
27
};
28
29
inline
bool
operator<
(
const
TrackTruthKey_p0
&
a
,
const
TrackTruthKey_p0
&
b
) {
30
return
a
.m_index <
b
.m_index;
31
}
32
33
}
34
35
CLASS_DEF
(
Trk::TrackTruthKey_p0
, 252928432 , 1 )
36
37
#endif
/*TRACKTRUTHKEY_P0_H*/
Trk::operator<
bool operator<(const LayerIndex &one, const LayerIndex &two)
Overload of operator< | <= | > | >= for the usage in a map.
Definition:
LayerIndex.cxx:12
Trk::TrackTruthKey_p0
Definition:
TrackTruthKey_p0.h:17
Trk::TrackTruthKey_p0::TrackTruthKey_p0
TrackTruthKey_p0()
Definition:
TrackTruthKey_p0.h:25
Trk::TrackTruthKey_p0::size_type
TrackCollection::size_type size_type
Definition:
TrackTruthKey_p0.h:19
lumiFormat.i
int i
Definition:
lumiFormat.py:85
TrackCollection.h
Trk::TrackTruthKey_p0::m_index
size_type m_index
Definition:
TrackTruthKey_p0.h:20
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
plotBeamSpotMon.b
b
Definition:
plotBeamSpotMon.py:77
Trk::TrackTruthKey_p0::TrackTruthKey_p0
TrackTruthKey_p0(size_type i)
Definition:
TrackTruthKey_p0.h:22
a
TList * a
Definition:
liststreamerinfos.cxx:10
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
DataVector< Trk::Track >::size_type
BASE::size_type size_type
Definition:
DataVector.h:813
Generated on Sun Dec 22 2024 21:20:38 for ATLAS Offline Software by
1.8.18