Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
FWCore
Utilities
src
OStreamColumn.cc
Go to the documentation of this file.
1
#include "
FWCore/Utilities/interface/OStreamColumn.h
"
2
3
#include <algorithm>
4
5
namespace
edm {
6
7
OStreamColumn::OStreamColumn
(
std::string
const
&
t
)
8
:
OStreamColumn
{
t
,0}
9
{}
10
11
OStreamColumn::OStreamColumn
(
std::string
const
&
t
,
12
std::size_t
const
w
)
13
: title_{t}
14
, width_{
std::max
(
w
, title_.size())}
15
{}
16
17
std::ostream&
operator<<
(std::ostream&
t
,
OStreamColumn
const
&
c
)
18
{
19
t << std::setw(c.
width_
) << c.
title_
;
20
return
t
;
21
}
22
23
}
w
const double w
Definition:
UKUtility.cc:23
edm::OStreamColumn
Definition:
OStreamColumn.h:53
EnergyCorrector.c
tuple c
Definition:
EnergyCorrector.py:43
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
OStreamColumn.h
edm::OStreamColumn::title_
std::string title_
Definition:
OStreamColumn.h:67
edm::OStreamColumn::OStreamColumn
OStreamColumn(std::string const &t)
Definition:
OStreamColumn.cc:7
edm::OStreamColumn::width_
std::size_t width_
Definition:
OStreamColumn.h:68
t
t
Definition:
TrackingNtuple.cc:717
bookConverter.max
max
Definition:
bookConverter.py:166
edm::operator<<
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
Definition:
HLTGlobalStatus.h:115
Generated for CMSSW Reference Manual by
1.8.5