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

#include <AsciiData.hh>

Inheritance diagram for MUCDIGI:

Public Member Functions

 MUCDIGI ()
 MUCDIGI ()
 MUCDIGI ()
 MUCDIGI ()
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 nDigi
std::vector< MucDigiTypedigiCol

Friends

std::istream & operator>> (std::istream &is, MUCDIGI &x)
std::ostream & operator<< (std::ostream &os, const MUCDIGI &x)
std::istream & operator>> (std::istream &is, MUCDIGI &x)
std::ostream & operator<< (std::ostream &os, const MUCDIGI &x)
std::istream & operator>> (std::istream &is, MUCDIGI &x)
std::ostream & operator<< (std::ostream &os, const MUCDIGI &x)
std::istream & operator>> (std::istream &is, MUCDIGI &x)
std::ostream & operator<< (std::ostream &os, const MUCDIGI &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

◆ MUCDIGI() [1/4]

MUCDIGI::MUCDIGI ( )
inline

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

387{};

Referenced by operator<<, and operator>>.

◆ MUCDIGI() [2/4]

MUCDIGI::MUCDIGI ( )
inline

◆ MUCDIGI() [3/4]

MUCDIGI::MUCDIGI ( )
inline

◆ MUCDIGI() [4/4]

MUCDIGI::MUCDIGI ( )
inline

Definition at line 315 of file AsciiData.h.

315{};

◆ operator<< [1/4]

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

Definition at line 679 of file AsciiData.cc.

679 {
680 os << std::endl << "{ MUCDIGI" << std::endl;
681 if ( x.initialized() )
682 {
683 os << " " << x.nDigi;
684 {
685 for ( int i = 0; i < x.nDigi; i++ ) { os << " " << x.digiCol[i]; }
686 }
687 }
688 os << std::endl << "} MUCDIGI" << std::endl;
689 return os;
690}
Double_t x[10]

◆ operator<< [2/4]

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

Definition at line 679 of file AsciiData.cc.

679 {
680 os << std::endl << "{ MUCDIGI" << std::endl;
681 if ( x.initialized() )
682 {
683 os << " " << x.nDigi;
684 {
685 for ( int i = 0; i < x.nDigi; i++ ) { os << " " << x.digiCol[i]; }
686 }
687 }
688 os << std::endl << "} MUCDIGI" << std::endl;
689 return os;
690}

◆ operator<< [3/4]

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

Definition at line 679 of file AsciiData.cc.

679 {
680 os << std::endl << "{ MUCDIGI" << std::endl;
681 if ( x.initialized() )
682 {
683 os << " " << x.nDigi;
684 {
685 for ( int i = 0; i < x.nDigi; i++ ) { os << " " << x.digiCol[i]; }
686 }
687 }
688 os << std::endl << "} MUCDIGI" << std::endl;
689 return os;
690}

◆ operator<< [4/4]

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

Definition at line 679 of file AsciiData.cc.

679 {
680 os << std::endl << "{ MUCDIGI" << std::endl;
681 if ( x.initialized() )
682 {
683 os << " " << x.nDigi;
684 {
685 for ( int i = 0; i < x.nDigi; i++ ) { os << " " << x.digiCol[i]; }
686 }
687 }
688 os << std::endl << "} MUCDIGI" << std::endl;
689 return os;
690}

◆ operator>> [1/4]

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

Definition at line 667 of file AsciiData.cc.

667 {
668 x.check_start_tag( is, "MUCDIGI" );
669 if ( !x.initialized() ) return is;
670 is >> x.nDigi;
671 x.digiCol.resize( x.nDigi );
672 {
673 for ( int i = 0; i < x.nDigi; i++ ) { is >> x.digiCol[i]; }
674 }
675 x.check_end_tag( is, "MUCDIGI" );
676 return is;
677}

◆ operator>> [2/4]

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

Definition at line 667 of file AsciiData.cc.

667 {
668 x.check_start_tag( is, "MUCDIGI" );
669 if ( !x.initialized() ) return is;
670 is >> x.nDigi;
671 x.digiCol.resize( x.nDigi );
672 {
673 for ( int i = 0; i < x.nDigi; i++ ) { is >> x.digiCol[i]; }
674 }
675 x.check_end_tag( is, "MUCDIGI" );
676 return is;
677}

◆ operator>> [3/4]

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

Definition at line 667 of file AsciiData.cc.

667 {
668 x.check_start_tag( is, "MUCDIGI" );
669 if ( !x.initialized() ) return is;
670 is >> x.nDigi;
671 x.digiCol.resize( x.nDigi );
672 {
673 for ( int i = 0; i < x.nDigi; i++ ) { is >> x.digiCol[i]; }
674 }
675 x.check_end_tag( is, "MUCDIGI" );
676 return is;
677}

◆ operator>> [4/4]

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

Definition at line 667 of file AsciiData.cc.

667 {
668 x.check_start_tag( is, "MUCDIGI" );
669 if ( !x.initialized() ) return is;
670 is >> x.nDigi;
671 x.digiCol.resize( x.nDigi );
672 {
673 for ( int i = 0; i < x.nDigi; i++ ) { is >> x.digiCol[i]; }
674 }
675 x.check_end_tag( is, "MUCDIGI" );
676 return is;
677}

Member Data Documentation

◆ digiCol

std::vector< MucDigiType > MUCDIGI::digiCol

◆ nDigi

int MUCDIGI::nDigi

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