BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
MUCHIT Class Reference

#include <AsciiData.hh>

Inheritance diagram for MUCHIT:

Public Member Functions

 MUCHIT ()
 MUCHIT ()
 MUCHIT ()
Public Member Functions inherited from Tagged
 Tagged ()
bool initialized () const
void set_initialized ()
void unset_initalized ()
 Tagged ()
bool initialized () const
void set_initialized ()
void unset_initalized ()
 Tagged ()
bool initialized () const
void set_initialized ()
void unset_initalized ()
 Tagged ()
bool initialized () const
void set_initialized ()
void unset_initalized ()

Public Attributes

int nHit
std::vector< MucHitTypehitCol

Friends

std::istream & operator>> (std::istream &is, MUCHIT &x)
std::ostream & operator<< (std::ostream &os, const MUCHIT &x)
std::istream & operator>> (std::istream &is, MUCHIT &x)
std::ostream & operator<< (std::ostream &os, const MUCHIT &x)
std::istream & operator>> (std::istream &is, MUCHIT &x)
std::ostream & operator<< (std::ostream &os, const MUCHIT &x)

Additional Inherited Members

Protected Member Functions inherited from Tagged
void check_start_tag (std::istream &is, const char *tag)
void check_end_tag (std::istream &is, const char *tag)
void check_start_tag (std::istream &is, const char *tag)
void check_end_tag (std::istream &is, const char *tag)
void check_start_tag (std::istream &is, const char *tag)
void check_end_tag (std::istream &is, const char *tag)
void check_start_tag (std::istream &is, const char *tag)
void check_end_tag (std::istream &is, const char *tag)

Detailed Description

Constructor & Destructor Documentation

◆ MUCHIT() [1/3]

MUCHIT::MUCHIT ( )
inline

Definition at line 407 of file Event/AsciiDmp/include/AsciiDmp/AsciiData.hh.

407{};

Referenced by operator<<, and operator>>.

◆ MUCHIT() [2/3]

MUCHIT::MUCHIT ( )
inline

◆ MUCHIT() [3/3]

MUCHIT::MUCHIT ( )
inline

◆ operator<< [1/3]

std::ostream & operator<< ( std::ostream & os,
const MUCHIT & x )
friend

Definition at line 711 of file AsciiData.cc.

711 {
712 os << std::endl << "{ MUCHIT" << std::endl;
713 if ( x.initialized() )
714 {
715 os << " " << x.nHit;
716 {
717 for ( int i = 0; i < x.nHit; i++ ) { os << " " << x.hitCol[i]; }
718 }
719 }
720 os << std::endl << "} MUCHIT" << std::endl;
721 return os;
722}
Double_t x[10]

◆ operator<< [2/3]

std::ostream & operator<< ( std::ostream & os,
const MUCHIT & x )
friend

Definition at line 711 of file AsciiData.cc.

711 {
712 os << std::endl << "{ MUCHIT" << std::endl;
713 if ( x.initialized() )
714 {
715 os << " " << x.nHit;
716 {
717 for ( int i = 0; i < x.nHit; i++ ) { os << " " << x.hitCol[i]; }
718 }
719 }
720 os << std::endl << "} MUCHIT" << std::endl;
721 return os;
722}

◆ operator<< [3/3]

std::ostream & operator<< ( std::ostream & os,
const MUCHIT & x )
friend

Definition at line 711 of file AsciiData.cc.

711 {
712 os << std::endl << "{ MUCHIT" << std::endl;
713 if ( x.initialized() )
714 {
715 os << " " << x.nHit;
716 {
717 for ( int i = 0; i < x.nHit; i++ ) { os << " " << x.hitCol[i]; }
718 }
719 }
720 os << std::endl << "} MUCHIT" << std::endl;
721 return os;
722}

◆ operator>> [1/3]

std::istream & operator>> ( std::istream & is,
MUCHIT & x )
friend

Definition at line 699 of file AsciiData.cc.

699 {
700 x.check_start_tag( is, "MUCHIT" );
701 if ( !x.initialized() ) return is;
702 is >> x.nHit;
703 x.hitCol.resize( x.nHit );
704 {
705 for ( int i = 0; i < x.nHit; i++ ) { is >> x.hitCol[i]; }
706 }
707 x.check_end_tag( is, "MUCHIT" );
708 return is;
709}

◆ operator>> [2/3]

std::istream & operator>> ( std::istream & is,
MUCHIT & x )
friend

Definition at line 699 of file AsciiData.cc.

699 {
700 x.check_start_tag( is, "MUCHIT" );
701 if ( !x.initialized() ) return is;
702 is >> x.nHit;
703 x.hitCol.resize( x.nHit );
704 {
705 for ( int i = 0; i < x.nHit; i++ ) { is >> x.hitCol[i]; }
706 }
707 x.check_end_tag( is, "MUCHIT" );
708 return is;
709}

◆ operator>> [3/3]

std::istream & operator>> ( std::istream & is,
MUCHIT & x )
friend

Definition at line 699 of file AsciiData.cc.

699 {
700 x.check_start_tag( is, "MUCHIT" );
701 if ( !x.initialized() ) return is;
702 is >> x.nHit;
703 x.hitCol.resize( x.nHit );
704 {
705 for ( int i = 0; i < x.nHit; i++ ) { is >> x.hitCol[i]; }
706 }
707 x.check_end_tag( is, "MUCHIT" );
708 return is;
709}

Member Data Documentation

◆ hitCol

std::vector< MucHitType > MUCHIT::hitCol

◆ nHit

int MUCHIT::nHit

The documentation for this class was generated from the following files: