BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
MUCHIT Class Reference

#include <AsciiData.hh>

+ Inheritance diagram for MUCHIT:

Public Member Functions

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

Friends

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

◆ MUCHIT() [1/2]

MUCHIT::MUCHIT ( )
inline

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

381{};

◆ MUCHIT() [2/2]

MUCHIT::MUCHIT ( )
inline

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

381{};

Friends And Related Function Documentation

◆ operator<< [1/2]

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

Definition at line 773 of file AsciiData.cc.

774{
775 os << std::endl << "{ MUCHIT" << std::endl;
776 if(x.initialized()) {
777 os << " " << x.nHit;
778 {for(int i = 0; i < x.nHit; i++) {
779 os << " " << x.hitCol[i];
780 }}
781 }
782 os << std::endl << "} MUCHIT" << std::endl;
783 return os;
784}
Double_t x[10]

◆ operator<< [2/2]

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

Definition at line 773 of file AsciiData.cc.

774{
775 os << std::endl << "{ MUCHIT" << std::endl;
776 if(x.initialized()) {
777 os << " " << x.nHit;
778 {for(int i = 0; i < x.nHit; i++) {
779 os << " " << x.hitCol[i];
780 }}
781 }
782 os << std::endl << "} MUCHIT" << std::endl;
783 return os;
784}

◆ operator>> [1/2]

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

Definition at line 760 of file AsciiData.cc.

761{
762 x.check_start_tag(is,"MUCHIT");
763 if(!x.initialized()) return is;
764 is >> x.nHit;
765 x.hitCol.resize(x.nHit);
766 {for(int i = 0; i < x.nHit; i++) {
767 is >> x.hitCol[i];
768 }}
769 x.check_end_tag(is, "MUCHIT");
770 return is;
771}

◆ operator>> [2/2]

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

Definition at line 760 of file AsciiData.cc.

761{
762 x.check_start_tag(is,"MUCHIT");
763 if(!x.initialized()) return is;
764 is >> x.nHit;
765 x.hitCol.resize(x.nHit);
766 {for(int i = 0; i < x.nHit; i++) {
767 is >> x.hitCol[i];
768 }}
769 x.check_end_tag(is, "MUCHIT");
770 return is;
771}

Member Data Documentation

◆ hitCol

std::vector< MucHitType > MUCHIT::hitCol

◆ nHit

int MUCHIT::nHit

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