CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
EMCDIGI Class Reference

#include <AsciiData.hh>

+ Inheritance diagram for EMCDIGI:

Public Member Functions

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

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)
 

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 443 of file AsciiData.hh.

Constructor & Destructor Documentation

◆ EMCDIGI() [1/2]

EMCDIGI::EMCDIGI ( )
inline

Definition at line 445 of file AsciiData.hh.

445{};

◆ EMCDIGI() [2/2]

EMCDIGI::EMCDIGI ( )
inline

Definition at line 271 of file AsciiData.h.

271{};

Friends And Related Symbol Documentation

◆ operator<< [1/2]

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

Definition at line 900 of file AsciiData.cc.

901{
902 os << std::endl << "{ EMCDIGI" << std::endl;
903 if(x.initialized()) {
904 os << " " << x.nDigi;
905 {for(int i = 0; i < x.nDigi; i++) {
906 os << " " << x.digiCol[i];
907 }}
908 }
909 os << std::endl << "} EMCDIGI" << std::endl;
910 return os;
911}
Double_t x[10]

◆ operator<< [2/2]

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

Definition at line 900 of file AsciiData.cc.

901{
902 os << std::endl << "{ EMCDIGI" << std::endl;
903 if(x.initialized()) {
904 os << " " << x.nDigi;
905 {for(int i = 0; i < x.nDigi; i++) {
906 os << " " << x.digiCol[i];
907 }}
908 }
909 os << std::endl << "} EMCDIGI" << std::endl;
910 return os;
911}

◆ operator>> [1/2]

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

Definition at line 887 of file AsciiData.cc.

888{
889 x.check_start_tag(is,"EMCDIGI");
890 if(!x.initialized()) return is;
891 is >> x.nDigi;
892 x.digiCol.resize(x.nDigi);
893 {for(int i = 0; i < x.nDigi; i++) {
894 is >> x.digiCol[i];
895 }}
896 x.check_end_tag(is, "EMCDIGI");
897 return is;
898}

◆ operator>> [2/2]

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

Definition at line 887 of file AsciiData.cc.

888{
889 x.check_start_tag(is,"EMCDIGI");
890 if(!x.initialized()) return is;
891 is >> x.nDigi;
892 x.digiCol.resize(x.nDigi);
893 {for(int i = 0; i < x.nDigi; i++) {
894 is >> x.digiCol[i];
895 }}
896 x.check_end_tag(is, "EMCDIGI");
897 return is;
898}

Member Data Documentation

◆ digiCol

std::vector< EmcDigiType > EMCDIGI::digiCol

Definition at line 448 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcDigits().

◆ nDigi

int EMCDIGI::nDigi

Definition at line 447 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcDigits().


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