BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
MDCDIGI Class Reference

#include <AsciiData.hh>

+ Inheritance diagram for MDCDIGI:

Public Member Functions

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

Friends

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

◆ MDCDIGI() [1/4]

MDCDIGI::MDCDIGI ( )
inline

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

221{};

◆ MDCDIGI() [2/4]

MDCDIGI::MDCDIGI ( )
inline

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

221{};

◆ MDCDIGI() [3/4]

MDCDIGI::MDCDIGI ( )
inline

Definition at line 221 of file InstallArea/include/Trigger/Trigger/AsciiData.h.

221{};

◆ MDCDIGI() [4/4]

MDCDIGI::MDCDIGI ( )
inline

Definition at line 221 of file Trigger/Trigger/Trigger-00-01-05/Trigger/AsciiData.h.

221{};

Friends And Related Function Documentation

◆ operator<< [1/4]

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

Definition at line 449 of file AsciiData.cc.

450{
451 os << std::endl << "{ MDCDIGI" << std::endl;
452 if(x.initialized()) {
453 os << " " << x.nDigi;
454 {for(int i = 0; i < x.nDigi; i++) {
455 os << " " << x.digiCol[i];
456 }}
457 }
458 os << std::endl << "} MDCDIGI" << std::endl;
459 return os;
460}
Double_t x[10]

◆ operator<< [2/4]

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

Definition at line 449 of file AsciiData.cc.

450{
451 os << std::endl << "{ MDCDIGI" << std::endl;
452 if(x.initialized()) {
453 os << " " << x.nDigi;
454 {for(int i = 0; i < x.nDigi; i++) {
455 os << " " << x.digiCol[i];
456 }}
457 }
458 os << std::endl << "} MDCDIGI" << std::endl;
459 return os;
460}

◆ operator<< [3/4]

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

Definition at line 449 of file AsciiData.cc.

450{
451 os << std::endl << "{ MDCDIGI" << std::endl;
452 if(x.initialized()) {
453 os << " " << x.nDigi;
454 {for(int i = 0; i < x.nDigi; i++) {
455 os << " " << x.digiCol[i];
456 }}
457 }
458 os << std::endl << "} MDCDIGI" << std::endl;
459 return os;
460}

◆ operator<< [4/4]

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

Definition at line 449 of file AsciiData.cc.

450{
451 os << std::endl << "{ MDCDIGI" << std::endl;
452 if(x.initialized()) {
453 os << " " << x.nDigi;
454 {for(int i = 0; i < x.nDigi; i++) {
455 os << " " << x.digiCol[i];
456 }}
457 }
458 os << std::endl << "} MDCDIGI" << std::endl;
459 return os;
460}

◆ operator>> [1/4]

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

Definition at line 436 of file AsciiData.cc.

437{
438 x.check_start_tag(is,"MDCDIGI");
439 if(!x.initialized()) return is;
440 is >> x.nDigi;
441 x.digiCol.resize(x.nDigi);
442 {for(int i = 0; i < x.nDigi; i++) {
443 is >> x.digiCol[i];
444 }}
445 x.check_end_tag(is, "MDCDIGI");
446 return is;
447}

◆ operator>> [2/4]

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

Definition at line 436 of file AsciiData.cc.

437{
438 x.check_start_tag(is,"MDCDIGI");
439 if(!x.initialized()) return is;
440 is >> x.nDigi;
441 x.digiCol.resize(x.nDigi);
442 {for(int i = 0; i < x.nDigi; i++) {
443 is >> x.digiCol[i];
444 }}
445 x.check_end_tag(is, "MDCDIGI");
446 return is;
447}

◆ operator>> [3/4]

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

Definition at line 436 of file AsciiData.cc.

437{
438 x.check_start_tag(is,"MDCDIGI");
439 if(!x.initialized()) return is;
440 is >> x.nDigi;
441 x.digiCol.resize(x.nDigi);
442 {for(int i = 0; i < x.nDigi; i++) {
443 is >> x.digiCol[i];
444 }}
445 x.check_end_tag(is, "MDCDIGI");
446 return is;
447}

◆ operator>> [4/4]

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

Definition at line 436 of file AsciiData.cc.

437{
438 x.check_start_tag(is,"MDCDIGI");
439 if(!x.initialized()) return is;
440 is >> x.nDigi;
441 x.digiCol.resize(x.nDigi);
442 {for(int i = 0; i < x.nDigi; i++) {
443 is >> x.digiCol[i];
444 }}
445 x.check_end_tag(is, "MDCDIGI");
446 return is;
447}

Member Data Documentation

◆ digiCol

std::vector< MdcDigiType > MDCDIGI::digiCol

◆ nDigi

int MDCDIGI::nDigi

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