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

#include <AsciiData.hh>

Inheritance diagram for TOFDIGI:

Public Member Functions

 TOFDIGI ()
 TOFDIGI ()
 TOFDIGI ()
 TOFDIGI ()
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< TofDigiTypedigiCol

Friends

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

◆ TOFDIGI() [1/4]

TOFDIGI::TOFDIGI ( )
inline

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

296{};

Referenced by operator<<, and operator>>.

◆ TOFDIGI() [2/4]

TOFDIGI::TOFDIGI ( )
inline

◆ TOFDIGI() [3/4]

TOFDIGI::TOFDIGI ( )
inline

◆ TOFDIGI() [4/4]

TOFDIGI::TOFDIGI ( )
inline

Definition at line 264 of file AsciiData.h.

264{};

◆ operator<< [1/4]

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

Definition at line 525 of file AsciiData.cc.

525 {
526 os << std::endl << "{ TOFDIGI" << std::endl;
527 if ( x.initialized() )
528 {
529 os << " " << x.nDigi;
530 {
531 for ( int i = 0; i < x.nDigi; i++ ) { os << " " << x.digiCol[i]; }
532 }
533 }
534 os << std::endl << "} TOFDIGI" << std::endl;
535 return os;
536}
Double_t x[10]

◆ operator<< [2/4]

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

Definition at line 525 of file AsciiData.cc.

525 {
526 os << std::endl << "{ TOFDIGI" << std::endl;
527 if ( x.initialized() )
528 {
529 os << " " << x.nDigi;
530 {
531 for ( int i = 0; i < x.nDigi; i++ ) { os << " " << x.digiCol[i]; }
532 }
533 }
534 os << std::endl << "} TOFDIGI" << std::endl;
535 return os;
536}

◆ operator<< [3/4]

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

Definition at line 525 of file AsciiData.cc.

525 {
526 os << std::endl << "{ TOFDIGI" << std::endl;
527 if ( x.initialized() )
528 {
529 os << " " << x.nDigi;
530 {
531 for ( int i = 0; i < x.nDigi; i++ ) { os << " " << x.digiCol[i]; }
532 }
533 }
534 os << std::endl << "} TOFDIGI" << std::endl;
535 return os;
536}

◆ operator<< [4/4]

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

Definition at line 525 of file AsciiData.cc.

525 {
526 os << std::endl << "{ TOFDIGI" << std::endl;
527 if ( x.initialized() )
528 {
529 os << " " << x.nDigi;
530 {
531 for ( int i = 0; i < x.nDigi; i++ ) { os << " " << x.digiCol[i]; }
532 }
533 }
534 os << std::endl << "} TOFDIGI" << std::endl;
535 return os;
536}

◆ operator>> [1/4]

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

Definition at line 513 of file AsciiData.cc.

513 {
514 x.check_start_tag( is, "TOFDIGI" );
515 if ( !x.initialized() ) return is;
516 is >> x.nDigi;
517 x.digiCol.resize( x.nDigi );
518 {
519 for ( int i = 0; i < x.nDigi; i++ ) { is >> x.digiCol[i]; }
520 }
521 x.check_end_tag( is, "TOFDIGI" );
522 return is;
523}

◆ operator>> [2/4]

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

Definition at line 513 of file AsciiData.cc.

513 {
514 x.check_start_tag( is, "TOFDIGI" );
515 if ( !x.initialized() ) return is;
516 is >> x.nDigi;
517 x.digiCol.resize( x.nDigi );
518 {
519 for ( int i = 0; i < x.nDigi; i++ ) { is >> x.digiCol[i]; }
520 }
521 x.check_end_tag( is, "TOFDIGI" );
522 return is;
523}

◆ operator>> [3/4]

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

Definition at line 513 of file AsciiData.cc.

513 {
514 x.check_start_tag( is, "TOFDIGI" );
515 if ( !x.initialized() ) return is;
516 is >> x.nDigi;
517 x.digiCol.resize( x.nDigi );
518 {
519 for ( int i = 0; i < x.nDigi; i++ ) { is >> x.digiCol[i]; }
520 }
521 x.check_end_tag( is, "TOFDIGI" );
522 return is;
523}

◆ operator>> [4/4]

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

Definition at line 513 of file AsciiData.cc.

513 {
514 x.check_start_tag( is, "TOFDIGI" );
515 if ( !x.initialized() ) return is;
516 is >> x.nDigi;
517 x.digiCol.resize( x.nDigi );
518 {
519 for ( int i = 0; i < x.nDigi; i++ ) { is >> x.digiCol[i]; }
520 }
521 x.check_end_tag( is, "TOFDIGI" );
522 return is;
523}

Member Data Documentation

◆ digiCol

std::vector< TofDigiType > TOFDIGI::digiCol

◆ nDigi

int TOFDIGI::nDigi

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