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

#include <AsciiData.hh>

+ Inheritance diagram for CGEMDIGI:

Public Member Functions

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

◆ CGEMDIGI() [1/2]

CGEMDIGI::CGEMDIGI ( )
inline

Definition at line 326 of file Event/AsciiDmp/AsciiDmp-01-04-03/AsciiDmp/AsciiData.hh.

326{};

◆ CGEMDIGI() [2/2]

CGEMDIGI::CGEMDIGI ( )
inline

Definition at line 326 of file InstallArea/include/AsciiDmp/AsciiDmp/AsciiData.hh.

326{};

Friends And Related Function Documentation

◆ operator<< [1/2]

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<< [2/2]

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}

◆ operator>> [1/2]

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}

◆ operator>> [2/2]

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

◆ nDigi

int CGEMDIGI::nDigi

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