#include <AsciiData.hh>
◆ EMCHIT() [1/2]
◆ EMCHIT() [2/2]
◆ operator<< [1/2]
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const EMCHIT & |
x |
|
) |
| |
|
friend |
Definition at line 687 of file AsciiData.cc.
688{
689 os << std::endl << "{ EMCHIT" << std::endl;
690 if(
x.initialized()) {
692 {
for(
int i = 0; i <
x.nHit; i++) {
693 os <<
" " <<
x.hitCol[i];
694 }}
695 }
696 os << std::endl << "} EMCHIT" << std::endl;
697 return os;
698}
◆ operator<< [2/2]
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const EMCHIT & |
x |
|
) |
| |
|
friend |
Definition at line 687 of file AsciiData.cc.
688{
689 os << std::endl << "{ EMCHIT" << std::endl;
690 if(
x.initialized()) {
692 {
for(
int i = 0; i <
x.nHit; i++) {
693 os <<
" " <<
x.hitCol[i];
694 }}
695 }
696 os << std::endl << "} EMCHIT" << std::endl;
697 return os;
698}
◆ operator>> [1/2]
std::istream & operator>> |
( |
std::istream & |
is, |
|
|
EMCHIT & |
x |
|
) |
| |
|
friend |
Definition at line 674 of file AsciiData.cc.
675{
676 x.check_start_tag(is,
"EMCHIT");
677 if(!
x.initialized())
return is;
679 x.hitCol.resize(
x.nHit);
680 {
for(
int i = 0; i <
x.nHit; i++) {
682 }}
683 x.check_end_tag(is,
"EMCHIT");
684 return is;
685}
◆ operator>> [2/2]
std::istream & operator>> |
( |
std::istream & |
is, |
|
|
EMCHIT & |
x |
|
) |
| |
|
friend |
Definition at line 674 of file AsciiData.cc.
675{
676 x.check_start_tag(is,
"EMCHIT");
677 if(!
x.initialized())
return is;
679 x.hitCol.resize(
x.nHit);
680 {
for(
int i = 0; i <
x.nHit; i++) {
682 }}
683 x.check_end_tag(is,
"EMCHIT");
684 return is;
685}
◆ hitCol
◆ nHit
The documentation for this class was generated from the following files: