ATLAS Offline Software
Event
FourMomUtils
FourMomUtils
P4Dumper.h
Go to the documentation of this file.
1
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// P4Dumper.h
8
// Header file for class P4Dumper
9
// Author: S.Binet<binet@cern.ch>
11
#ifndef FOURMOMUTILS_P4DUMPER_H
12
#define FOURMOMUTILS_P4DUMPER_H
13
14
// STL includes
15
#include <iosfwd>
16
17
// FourMomUtils includes
18
19
namespace
FourMomUtils
{
20
22
template
<
class
I4MomIter>
23
inline
24
std::ostream&
dump
( std::ostream&
out
,
25
const
I4MomIter iBeg,
const
I4MomIter iEnd ) {
26
for
( I4MomIter
i
= iBeg;
i
!= iEnd; ++
i
) {
27
out
<< (**i) <<
"\n"
;
28
}
29
return
out
;
30
}
31
33
template
<
class
Container>
34
inline
35
std::ostream&
dump
( std::ostream&
out
,
const
Container
&
c
) {
36
return
dump
(
out
,
c
.begin(),
c
.end() );
37
}
38
39
}
//> namespace FourMomUtils
40
41
#endif //> FOURMOMUTILS_P4DUMPER_H
python.AthDsoLogger.out
out
Definition:
AthDsoLogger.py:71
Container
storage of the time histories of all the cells
lumiFormat.i
int i
Definition:
lumiFormat.py:85
FourMomUtils::dump
std::ostream & dump(std::ostream &out, const I4MomIter iBeg, const I4MomIter iEnd)
Helper to stream out a range of I4Momentum objects.
Definition:
P4Dumper.h:24
python.compressB64.c
def c
Definition:
compressB64.py:93
FourMomUtils
Definition:
ForwardTerm.h:14
Generated on Thu Nov 7 2024 21:23:05 for ATLAS Offline Software by
1.8.18