ATLAS Offline Software
Loading...
Searching...
No Matches
Event
FourMomUtils
FourMomUtils
P4Dumper.h
Go to the documentation of this file.
1
2
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
Container
storage of the time histories of all the cells
FourMomUtils
Definition
ForwardTerm.h:14
dump
-event-from-file
Generated on
for ATLAS Offline Software by
1.14.0