#include <AsciiData.hh>
◆ EMCHIT() [1/3]
◆ EMCHIT() [2/3]
◆ EMCHIT() [3/3]
◆ operator<< [1/3]
| std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const EMCHIT & | x ) |
|
friend |
Definition at line 635 of file AsciiData.cc.
635 {
636 os << std::endl << "{ EMCHIT" << std::endl;
637 if (
x.initialized() )
638 {
640 {
641 for (
int i = 0; i <
x.nHit; i++ ) { os <<
" " <<
x.hitCol[i]; }
642 }
643 }
644 os << std::endl << "} EMCHIT" << std::endl;
645 return os;
646}
◆ operator<< [2/3]
| std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const EMCHIT & | x ) |
|
friend |
Definition at line 635 of file AsciiData.cc.
635 {
636 os << std::endl << "{ EMCHIT" << std::endl;
637 if (
x.initialized() )
638 {
640 {
641 for (
int i = 0; i <
x.nHit; i++ ) { os <<
" " <<
x.hitCol[i]; }
642 }
643 }
644 os << std::endl << "} EMCHIT" << std::endl;
645 return os;
646}
◆ operator<< [3/3]
| std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const EMCHIT & | x ) |
|
friend |
Definition at line 635 of file AsciiData.cc.
635 {
636 os << std::endl << "{ EMCHIT" << std::endl;
637 if (
x.initialized() )
638 {
640 {
641 for (
int i = 0; i <
x.nHit; i++ ) { os <<
" " <<
x.hitCol[i]; }
642 }
643 }
644 os << std::endl << "} EMCHIT" << std::endl;
645 return os;
646}
◆ operator>> [1/3]
| std::istream & operator>> |
( |
std::istream & | is, |
|
|
EMCHIT & | x ) |
|
friend |
Definition at line 623 of file AsciiData.cc.
623 {
624 x.check_start_tag( is,
"EMCHIT" );
625 if ( !
x.initialized() )
return is;
627 x.hitCol.resize(
x.nHit );
628 {
629 for (
int i = 0; i <
x.nHit; i++ ) { is >>
x.hitCol[i]; }
630 }
631 x.check_end_tag( is,
"EMCHIT" );
632 return is;
633}
◆ operator>> [2/3]
| std::istream & operator>> |
( |
std::istream & | is, |
|
|
EMCHIT & | x ) |
|
friend |
Definition at line 623 of file AsciiData.cc.
623 {
624 x.check_start_tag( is,
"EMCHIT" );
625 if ( !
x.initialized() )
return is;
627 x.hitCol.resize(
x.nHit );
628 {
629 for (
int i = 0; i <
x.nHit; i++ ) { is >>
x.hitCol[i]; }
630 }
631 x.check_end_tag( is,
"EMCHIT" );
632 return is;
633}
◆ operator>> [3/3]
| std::istream & operator>> |
( |
std::istream & | is, |
|
|
EMCHIT & | x ) |
|
friend |
Definition at line 623 of file AsciiData.cc.
623 {
624 x.check_start_tag( is,
"EMCHIT" );
625 if ( !
x.initialized() )
return is;
627 x.hitCol.resize(
x.nHit );
628 {
629 for (
int i = 0; i <
x.nHit; i++ ) { is >>
x.hitCol[i]; }
630 }
631 x.check_end_tag( is,
"EMCHIT" );
632 return is;
633}
◆ hitCol
◆ nHit
The documentation for this class was generated from the following files: