ATLAS Offline Software
Tracking
TrkEvent
TrkTruthData
TrkTruthData
TruthTrajectory.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 TRUTHTRAJECTORY_H
7
#define TRUTHTRAJECTORY_H
8
9
#include <vector>
10
#include "
GeneratorObjects/HepMcParticleLink.h
"
11
#include "
AthenaKernel/CLASS_DEF.h
"
12
26
class
TruthTrajectory
:
public
std::vector<HepMcParticleLink> {};
27
28
template
<
class
Ostream> Ostream&
operator<<
(Ostream&
os
,
const
TruthTrajectory
&
m
) {
29
os
<<
"TruthTrajectory("
;
30
for
(
unsigned
i
=0;
i
<
m
.size(); ) {
31
os
<<
m
[
i
];
32
if
(++
i
<
m
.size())
os
<<
","
;
33
}
34
return
os
<<
")"
;
35
}
36
37
CLASS_DEF
(
TruthTrajectory
, 115990571, 1)
38
39
#endif
/*TRUTHTRAJECTORY_H*/
HepMcParticleLink.h
python.SystemOfUnits.m
int m
Definition:
SystemOfUnits.py:91
operator<<
Ostream & operator<<(Ostream &os, const TruthTrajectory &m)
Definition:
TruthTrajectory.h:28
lumiFormat.i
int i
Definition:
lumiFormat.py:85
ReadFromCoolCompare.os
os
Definition:
ReadFromCoolCompare.py:231
TruthTrajectory
Definition:
TruthTrajectory.h:26
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
Generated on Thu Nov 7 2024 21:31:10 for ATLAS Offline Software by
1.8.18