CGEM BOSS 6.6.5.h
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 &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)
 

Detailed Description

Definition at line 485 of file AsciiData.hh.

Constructor & Destructor Documentation

◆ MUCDIGI() [1/2]

MUCDIGI::MUCDIGI ( )
inline

Definition at line 487 of file AsciiData.hh.

487{};

◆ MUCDIGI() [2/2]

MUCDIGI::MUCDIGI ( )
inline

Definition at line 294 of file AsciiData.h.

294{};

Friends And Related Symbol Documentation

◆ operator<< [1/2]

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

Definition at line 986 of file AsciiData.cc.

987{
988 os << std::endl << "{ MUCDIGI" << std::endl;
989 if(x.initialized()) {
990 os << " " << x.nDigi;
991 {for(int i = 0; i < x.nDigi; i++) {
992 os << " " << x.digiCol[i];
993 }}
994 }
995 os << std::endl << "} MUCDIGI" << std::endl;
996 return os;
997}
Double_t x[10]

◆ operator<< [2/2]

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

Definition at line 986 of file AsciiData.cc.

987{
988 os << std::endl << "{ MUCDIGI" << std::endl;
989 if(x.initialized()) {
990 os << " " << x.nDigi;
991 {for(int i = 0; i < x.nDigi; i++) {
992 os << " " << x.digiCol[i];
993 }}
994 }
995 os << std::endl << "} MUCDIGI" << std::endl;
996 return os;
997}

◆ operator>> [1/2]

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

Definition at line 973 of file AsciiData.cc.

974{
975 x.check_start_tag(is,"MUCDIGI");
976 if(!x.initialized()) return is;
977 is >> x.nDigi;
978 x.digiCol.resize(x.nDigi);
979 {for(int i = 0; i < x.nDigi; i++) {
980 is >> x.digiCol[i];
981 }}
982 x.check_end_tag(is, "MUCDIGI");
983 return is;
984}

◆ operator>> [2/2]

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

Definition at line 973 of file AsciiData.cc.

974{
975 x.check_start_tag(is,"MUCDIGI");
976 if(!x.initialized()) return is;
977 is >> x.nDigi;
978 x.digiCol.resize(x.nDigi);
979 {for(int i = 0; i < x.nDigi; i++) {
980 is >> x.digiCol[i];
981 }}
982 x.check_end_tag(is, "MUCDIGI");
983 return is;
984}

Member Data Documentation

◆ digiCol

std::vector< MucDigiType > MUCDIGI::digiCol

Definition at line 490 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveMucDigits().

◆ nDigi

int MUCDIGI::nDigi

Definition at line 489 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveMucDigits().


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