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

#include <AsciiData.hh>

+ Inheritance diagram for MUCDIGI:

Public Member Functions

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

Public Attributes

int nDigi
 
std::vector< MucDigiTypedigiCol
 

Friends

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

Detailed Description

Definition at line 360 of file AsciiData.hh.

Constructor & Destructor Documentation

◆ MUCDIGI() [1/2]

MUCDIGI::MUCDIGI ( )
inline

Definition at line 362 of file AsciiData.hh.

362{};

◆ MUCDIGI() [2/2]

MUCDIGI::MUCDIGI ( )
inline

Definition at line 294 of file AsciiData.h.

294{};

Friends And Related Function Documentation

◆ operator<< [1/2]

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

Definition at line 735 of file AsciiData.cc.

736{
737 os << std::endl << "{ MUCDIGI" << std::endl;
738 if(x.initialized()) {
739 os << " " << x.nDigi;
740 {for(int i = 0; i < x.nDigi; i++) {
741 os << " " << x.digiCol[i];
742 }}
743 }
744 os << std::endl << "} MUCDIGI" << std::endl;
745 return os;
746}
double x[1000]

◆ operator<< [2/2]

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

Definition at line 735 of file AsciiData.cc.

736{
737 os << std::endl << "{ MUCDIGI" << std::endl;
738 if(x.initialized()) {
739 os << " " << x.nDigi;
740 {for(int i = 0; i < x.nDigi; i++) {
741 os << " " << x.digiCol[i];
742 }}
743 }
744 os << std::endl << "} MUCDIGI" << std::endl;
745 return os;
746}

◆ operator>> [1/2]

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

Definition at line 722 of file AsciiData.cc.

723{
724 x.check_start_tag(is,"MUCDIGI");
725 if(!x.initialized()) return is;
726 is >> x.nDigi;
727 x.digiCol.resize(x.nDigi);
728 {for(int i = 0; i < x.nDigi; i++) {
729 is >> x.digiCol[i];
730 }}
731 x.check_end_tag(is, "MUCDIGI");
732 return is;
733}

◆ operator>> [2/2]

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

Definition at line 722 of file AsciiData.cc.

723{
724 x.check_start_tag(is,"MUCDIGI");
725 if(!x.initialized()) return is;
726 is >> x.nDigi;
727 x.digiCol.resize(x.nDigi);
728 {for(int i = 0; i < x.nDigi; i++) {
729 is >> x.digiCol[i];
730 }}
731 x.check_end_tag(is, "MUCDIGI");
732 return is;
733}

Member Data Documentation

◆ digiCol

std::vector< MucDigiType > MUCDIGI::digiCol

Definition at line 365 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveMucDigits().

◆ nDigi

int MUCDIGI::nDigi

Definition at line 364 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveMucDigits().


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