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

#include <AsciiData.hh>

+ Inheritance diagram for MDCHIT:

Public Member Functions

 MDCHIT ()
 
 MDCHIT ()
 
- 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 nHit
 
std::vector< MdcHitTypehitCol
 

Friends

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

◆ MDCHIT() [1/2]

MDCHIT::MDCHIT ( )
inline

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

251{};

◆ MDCHIT() [2/2]

MDCHIT::MDCHIT ( )
inline

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

251{};

Friends And Related Function Documentation

◆ operator<< [1/2]

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

Definition at line 510 of file AsciiData.cc.

511{
512 os << std::endl << "{ MDCHIT" << std::endl;
513 if(x.initialized()) {
514 os << " " << x.nHit;
515 {for(int i = 0; i < x.nHit; i++) {
516 os << " " << x.hitCol[i];
517 }}
518 }
519 os << std::endl << "} MDCHIT" << std::endl;
520 return os;
521}
Double_t x[10]

◆ operator<< [2/2]

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

Definition at line 510 of file AsciiData.cc.

511{
512 os << std::endl << "{ MDCHIT" << std::endl;
513 if(x.initialized()) {
514 os << " " << x.nHit;
515 {for(int i = 0; i < x.nHit; i++) {
516 os << " " << x.hitCol[i];
517 }}
518 }
519 os << std::endl << "} MDCHIT" << std::endl;
520 return os;
521}

◆ operator>> [1/2]

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

Definition at line 497 of file AsciiData.cc.

498{
499 x.check_start_tag(is,"MDCHIT");
500 if(!x.initialized()) return is;
501 is >> x.nHit;
502 x.hitCol.resize(x.nHit);
503 {for(int i = 0; i < x.nHit; i++) {
504 is >> x.hitCol[i];
505 }}
506 x.check_end_tag(is, "MDCHIT");
507 return is;
508}

◆ operator>> [2/2]

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

Definition at line 497 of file AsciiData.cc.

498{
499 x.check_start_tag(is,"MDCHIT");
500 if(!x.initialized()) return is;
501 is >> x.nHit;
502 x.hitCol.resize(x.nHit);
503 {for(int i = 0; i < x.nHit; i++) {
504 is >> x.hitCol[i];
505 }}
506 x.check_end_tag(is, "MDCHIT");
507 return is;
508}

Member Data Documentation

◆ hitCol

std::vector< MdcHitType > MDCHIT::hitCol

◆ nHit

int MDCHIT::nHit

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