ATLAS Offline Software
Trigger
TrigAnalysis
TrigInDetAnalysisUser
Readcards
src
Value.cxx
Go to the documentation of this file.
1
21
#include "
Value.h
"
22
23
24
std::ostream&
operator<<
(std::ostream&
s
,
const
Value
&
v
) {
25
26
const
std::vector<std::string>&
vals
=
v
.Val();
27
s
<<
v
.Tag() <<
"\t= "
;
28
if
(
vals
.size()>1 ) {
29
s
<<
"{ "
;
30
if
(
vals
.size()>12 )
s
<<
"\t"
;
31
for
(
unsigned
i
=0 ;
i
<
vals
.size()-1 ;
i
++ ) {
32
if
(
i
&&
i
%12==0 )
s
<<
"\n\t\t"
;
33
s
<<
vals
[
i
] <<
", "
;
34
}
35
}
36
if
(
vals
.size()>0 )
s
<<
vals
[
vals
.size()-1];
37
if
(
vals
.size()>12 )
s
<<
" "
;
38
if
(
vals
.size()>1 )
s
<<
" }"
;
39
40
return
s
;
41
}
42
43
44
45
46
47
48
49
50
51
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
Value
tag-value pair class.
Definition:
Value.h:39
lumiFormat.i
int i
Definition:
lumiFormat.py:85
python.PyAthena.v
v
Definition:
PyAthena.py:154
Value.h
operator<<
std::ostream & operator<<(std::ostream &s, const Value &v)
Definition:
Value.cxx:24
PlotCalibFromCool.vals
vals
Definition:
PlotCalibFromCool.py:474
Generated on Thu Nov 7 2024 21:31:21 for ATLAS Offline Software by
1.8.18