#include <AsciiData.hh>
Definition at line 188 of file AsciiData.hh.
◆ TOFTRUTH() [1/2]
◆ TOFTRUTH() [2/2]
◆ operator<< [1/2]
std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const TOFTRUTH & | x ) |
|
friend |
Definition at line 382 of file AsciiData.cc.
383{
384 os << std::endl << "{ TOFTRUTH" << std::endl;
385 if(
x.initialized()) {
386 os <<
" " <<
x.nTruth;
387 {
for(
int i = 0; i <
x.nTruth; i++) {
388 os <<
" " <<
x.truthCol[i];
389 }}
390 }
391 os << std::endl << "} TOFTRUTH" << std::endl;
392 return os;
393}
◆ operator<< [2/2]
std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const TOFTRUTH & | x ) |
|
friend |
Definition at line 382 of file AsciiData.cc.
383{
384 os << std::endl << "{ TOFTRUTH" << std::endl;
385 if(
x.initialized()) {
386 os <<
" " <<
x.nTruth;
387 {
for(
int i = 0; i <
x.nTruth; i++) {
388 os <<
" " <<
x.truthCol[i];
389 }}
390 }
391 os << std::endl << "} TOFTRUTH" << std::endl;
392 return os;
393}
◆ operator>> [1/2]
std::istream & operator>> |
( |
std::istream & | is, |
|
|
TOFTRUTH & | x ) |
|
friend |
Definition at line 369 of file AsciiData.cc.
370{
371 x.check_start_tag(is,
"TOFTRUTH");
372 if(!
x.initialized())
return is;
374 x.truthCol.resize(
x.nTruth);
375 {
for(
int i = 0; i <
x.nTruth; i++) {
377 }}
378 x.check_end_tag(is,
"TOFTRUTH");
379 return is;
380}
◆ operator>> [2/2]
std::istream & operator>> |
( |
std::istream & | is, |
|
|
TOFTRUTH & | x ) |
|
friend |
Definition at line 369 of file AsciiData.cc.
370{
371 x.check_start_tag(is,
"TOFTRUTH");
372 if(!
x.initialized())
return is;
374 x.truthCol.resize(
x.nTruth);
375 {
for(
int i = 0; i <
x.nTruth; i++) {
377 }}
378 x.check_end_tag(is,
"TOFTRUTH");
379 return is;
380}
◆ nTruth
◆ truthCol
The documentation for this class was generated from the following files: