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

#include <AsciiData.hh>

Inheritance diagram for EMCDIGI:

Public Member Functions

 EMCDIGI ()
 EMCDIGI ()
 EMCDIGI ()
 EMCDIGI ()
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< EmcDigiTypedigiCol

Friends

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

◆ EMCDIGI() [1/4]

EMCDIGI::EMCDIGI ( )
inline

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

342{};

Referenced by operator<<, and operator>>.

◆ EMCDIGI() [2/4]

EMCDIGI::EMCDIGI ( )
inline

◆ EMCDIGI() [3/4]

EMCDIGI::EMCDIGI ( )
inline

◆ EMCDIGI() [4/4]

EMCDIGI::EMCDIGI ( )
inline

Definition at line 290 of file AsciiData.h.

290{};

◆ operator<< [1/4]

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

Definition at line 603 of file AsciiData.cc.

603 {
604 os << std::endl << "{ EMCDIGI" << std::endl;
605 if ( x.initialized() )
606 {
607 os << " " << x.nDigi;
608 {
609 for ( int i = 0; i < x.nDigi; i++ ) { os << " " << x.digiCol[i]; }
610 }
611 }
612 os << std::endl << "} EMCDIGI" << std::endl;
613 return os;
614}
Double_t x[10]

◆ operator<< [2/4]

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

Definition at line 603 of file AsciiData.cc.

603 {
604 os << std::endl << "{ EMCDIGI" << std::endl;
605 if ( x.initialized() )
606 {
607 os << " " << x.nDigi;
608 {
609 for ( int i = 0; i < x.nDigi; i++ ) { os << " " << x.digiCol[i]; }
610 }
611 }
612 os << std::endl << "} EMCDIGI" << std::endl;
613 return os;
614}

◆ operator<< [3/4]

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

Definition at line 603 of file AsciiData.cc.

603 {
604 os << std::endl << "{ EMCDIGI" << std::endl;
605 if ( x.initialized() )
606 {
607 os << " " << x.nDigi;
608 {
609 for ( int i = 0; i < x.nDigi; i++ ) { os << " " << x.digiCol[i]; }
610 }
611 }
612 os << std::endl << "} EMCDIGI" << std::endl;
613 return os;
614}

◆ operator<< [4/4]

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

Definition at line 603 of file AsciiData.cc.

603 {
604 os << std::endl << "{ EMCDIGI" << std::endl;
605 if ( x.initialized() )
606 {
607 os << " " << x.nDigi;
608 {
609 for ( int i = 0; i < x.nDigi; i++ ) { os << " " << x.digiCol[i]; }
610 }
611 }
612 os << std::endl << "} EMCDIGI" << std::endl;
613 return os;
614}

◆ operator>> [1/4]

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

Definition at line 591 of file AsciiData.cc.

591 {
592 x.check_start_tag( is, "EMCDIGI" );
593 if ( !x.initialized() ) return is;
594 is >> x.nDigi;
595 x.digiCol.resize( x.nDigi );
596 {
597 for ( int i = 0; i < x.nDigi; i++ ) { is >> x.digiCol[i]; }
598 }
599 x.check_end_tag( is, "EMCDIGI" );
600 return is;
601}

◆ operator>> [2/4]

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

Definition at line 591 of file AsciiData.cc.

591 {
592 x.check_start_tag( is, "EMCDIGI" );
593 if ( !x.initialized() ) return is;
594 is >> x.nDigi;
595 x.digiCol.resize( x.nDigi );
596 {
597 for ( int i = 0; i < x.nDigi; i++ ) { is >> x.digiCol[i]; }
598 }
599 x.check_end_tag( is, "EMCDIGI" );
600 return is;
601}

◆ operator>> [3/4]

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

Definition at line 591 of file AsciiData.cc.

591 {
592 x.check_start_tag( is, "EMCDIGI" );
593 if ( !x.initialized() ) return is;
594 is >> x.nDigi;
595 x.digiCol.resize( x.nDigi );
596 {
597 for ( int i = 0; i < x.nDigi; i++ ) { is >> x.digiCol[i]; }
598 }
599 x.check_end_tag( is, "EMCDIGI" );
600 return is;
601}

◆ operator>> [4/4]

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

Definition at line 591 of file AsciiData.cc.

591 {
592 x.check_start_tag( is, "EMCDIGI" );
593 if ( !x.initialized() ) return is;
594 is >> x.nDigi;
595 x.digiCol.resize( x.nDigi );
596 {
597 for ( int i = 0; i < x.nDigi; i++ ) { is >> x.digiCol[i]; }
598 }
599 x.check_end_tag( is, "EMCDIGI" );
600 return is;
601}

Member Data Documentation

◆ digiCol

std::vector< EmcDigiType > EMCDIGI::digiCol

◆ nDigi

int EMCDIGI::nDigi

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