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

#include <AsciiData.hh>

+ Inheritance diagram for CGEMDIGI:

Public Member Functions

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

Friends

std::istream & operator>> (std::istream &is, CGEMDIGI &x)
 
std::ostream & operator<< (std::ostream &os, const CGEMDIGI &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 324 of file AsciiData.hh.

Constructor & Destructor Documentation

◆ CGEMDIGI()

CGEMDIGI::CGEMDIGI ( )
inline

Definition at line 326 of file AsciiData.hh.

326{};

Friends And Related Symbol Documentation

◆ operator<<

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

Definition at line 660 of file AsciiData.cc.

661{
662 os << std::endl << "{ CGEMDIGI" << std::endl;
663 if(x.initialized()) {
664 os << " " << x.nDigi;
665 {for(int i = 0; i < x.nDigi; i++) {
666 os << " " << x.digiCol[i];
667 }}
668 }
669 os << std::endl << "} CGEMDIGI" << std::endl;
670 return os;
671}
Double_t x[10]

◆ operator>>

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

Definition at line 647 of file AsciiData.cc.

648{
649 x.check_start_tag(is,"CGEMDIGI");
650 if(!x.initialized()) return is;
651 is >> x.nDigi;
652 x.digiCol.resize(x.nDigi);
653 {for(int i = 0; i < x.nDigi; i++) {
654 is >> x.digiCol[i];
655 }}
656 x.check_end_tag(is, "CGEMDIGI");
657 return is;
658}

Member Data Documentation

◆ digiCol

std::vector<CgemDigiType> CGEMDIGI::digiCol

Definition at line 329 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveCgemDigits().

◆ nDigi

int CGEMDIGI::nDigi

Definition at line 328 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveCgemDigits().


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