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

#include <AsciiData.hh>

Inheritance diagram for MDCDIGI:

Public Member Functions

 MDCDIGI ()
 MDCDIGI ()
 MDCDIGI ()
 MDCDIGI ()
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< MdcDigiTypedigiCol

Friends

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

◆ MDCDIGI() [1/4]

MDCDIGI::MDCDIGI ( )
inline

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

236{};

Referenced by operator<<, and operator>>.

◆ MDCDIGI() [2/4]

MDCDIGI::MDCDIGI ( )
inline

◆ MDCDIGI() [3/4]

MDCDIGI::MDCDIGI ( )
inline

◆ MDCDIGI() [4/4]

MDCDIGI::MDCDIGI ( )
inline

Definition at line 236 of file AsciiData.h.

236{};

◆ operator<< [1/4]

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

Definition at line 419 of file AsciiData.cc.

419 {
420 os << std::endl << "{ MDCDIGI" << std::endl;
421 if ( x.initialized() )
422 {
423 os << " " << x.nDigi;
424 {
425 for ( int i = 0; i < x.nDigi; i++ ) { os << " " << x.digiCol[i]; }
426 }
427 }
428 os << std::endl << "} MDCDIGI" << std::endl;
429 return os;
430}
Double_t x[10]

◆ operator<< [2/4]

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

Definition at line 419 of file AsciiData.cc.

419 {
420 os << std::endl << "{ MDCDIGI" << std::endl;
421 if ( x.initialized() )
422 {
423 os << " " << x.nDigi;
424 {
425 for ( int i = 0; i < x.nDigi; i++ ) { os << " " << x.digiCol[i]; }
426 }
427 }
428 os << std::endl << "} MDCDIGI" << std::endl;
429 return os;
430}

◆ operator<< [3/4]

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

Definition at line 419 of file AsciiData.cc.

419 {
420 os << std::endl << "{ MDCDIGI" << std::endl;
421 if ( x.initialized() )
422 {
423 os << " " << x.nDigi;
424 {
425 for ( int i = 0; i < x.nDigi; i++ ) { os << " " << x.digiCol[i]; }
426 }
427 }
428 os << std::endl << "} MDCDIGI" << std::endl;
429 return os;
430}

◆ operator<< [4/4]

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

Definition at line 419 of file AsciiData.cc.

419 {
420 os << std::endl << "{ MDCDIGI" << std::endl;
421 if ( x.initialized() )
422 {
423 os << " " << x.nDigi;
424 {
425 for ( int i = 0; i < x.nDigi; i++ ) { os << " " << x.digiCol[i]; }
426 }
427 }
428 os << std::endl << "} MDCDIGI" << std::endl;
429 return os;
430}

◆ operator>> [1/4]

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

Definition at line 407 of file AsciiData.cc.

407 {
408 x.check_start_tag( is, "MDCDIGI" );
409 if ( !x.initialized() ) return is;
410 is >> x.nDigi;
411 x.digiCol.resize( x.nDigi );
412 {
413 for ( int i = 0; i < x.nDigi; i++ ) { is >> x.digiCol[i]; }
414 }
415 x.check_end_tag( is, "MDCDIGI" );
416 return is;
417}

◆ operator>> [2/4]

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

Definition at line 407 of file AsciiData.cc.

407 {
408 x.check_start_tag( is, "MDCDIGI" );
409 if ( !x.initialized() ) return is;
410 is >> x.nDigi;
411 x.digiCol.resize( x.nDigi );
412 {
413 for ( int i = 0; i < x.nDigi; i++ ) { is >> x.digiCol[i]; }
414 }
415 x.check_end_tag( is, "MDCDIGI" );
416 return is;
417}

◆ operator>> [3/4]

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

Definition at line 407 of file AsciiData.cc.

407 {
408 x.check_start_tag( is, "MDCDIGI" );
409 if ( !x.initialized() ) return is;
410 is >> x.nDigi;
411 x.digiCol.resize( x.nDigi );
412 {
413 for ( int i = 0; i < x.nDigi; i++ ) { is >> x.digiCol[i]; }
414 }
415 x.check_end_tag( is, "MDCDIGI" );
416 return is;
417}

◆ operator>> [4/4]

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

Definition at line 407 of file AsciiData.cc.

407 {
408 x.check_start_tag( is, "MDCDIGI" );
409 if ( !x.initialized() ) return is;
410 is >> x.nDigi;
411 x.digiCol.resize( x.nDigi );
412 {
413 for ( int i = 0; i < x.nDigi; i++ ) { is >> x.digiCol[i]; }
414 }
415 x.check_end_tag( is, "MDCDIGI" );
416 return is;
417}

Member Data Documentation

◆ digiCol

std::vector< MdcDigiType > MDCDIGI::digiCol

◆ nDigi

int MDCDIGI::nDigi

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