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

#include <AsciiData.hh>

+ Inheritance diagram for MUCHIT:

Public Member Functions

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

Public Attributes

int nHit
 
std::vector< MucHitTypehitCol
 

Friends

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)
 

Detailed Description

Definition at line 379 of file AsciiData.hh.

Constructor & Destructor Documentation

◆ MUCHIT()

MUCHIT::MUCHIT ( )
inline

Definition at line 381 of file AsciiData.hh.

381{};

Friends And Related Function Documentation

◆ operator<<

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>>

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

Definition at line 384 of file AsciiData.hh.

◆ nHit

int MUCHIT::nHit

Definition at line 383 of file AsciiData.hh.


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