CGEM BOSS 6.6.5.f
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 301 of file Event/AsciiDmp/AsciiDmp-01-04-03/AsciiDmp/AsciiData.hh.

301{};

◆ MDCHIT() [2/2]

MDCHIT::MDCHIT ( )
inline

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

301{};

Friends And Related Function Documentation

◆ operator<< [1/2]

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

Definition at line 609 of file AsciiData.cc.

610{
611 os << std::endl << "{ MDCHIT" << std::endl;
612 if(x.initialized()) {
613 os << " " << x.nHit;
614 {for(int i = 0; i < x.nHit; i++) {
615 os << " " << x.hitCol[i];
616 }}
617 }
618 os << std::endl << "} MDCHIT" << std::endl;
619 return os;
620}
Double_t x[10]

◆ operator<< [2/2]

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

Definition at line 609 of file AsciiData.cc.

610{
611 os << std::endl << "{ MDCHIT" << std::endl;
612 if(x.initialized()) {
613 os << " " << x.nHit;
614 {for(int i = 0; i < x.nHit; i++) {
615 os << " " << x.hitCol[i];
616 }}
617 }
618 os << std::endl << "} MDCHIT" << std::endl;
619 return os;
620}

◆ operator>> [1/2]

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

Definition at line 596 of file AsciiData.cc.

597{
598 x.check_start_tag(is,"MDCHIT");
599 if(!x.initialized()) return is;
600 is >> x.nHit;
601 x.hitCol.resize(x.nHit);
602 {for(int i = 0; i < x.nHit; i++) {
603 is >> x.hitCol[i];
604 }}
605 x.check_end_tag(is, "MDCHIT");
606 return is;
607}

◆ operator>> [2/2]

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

Definition at line 596 of file AsciiData.cc.

597{
598 x.check_start_tag(is,"MDCHIT");
599 if(!x.initialized()) return is;
600 is >> x.nHit;
601 x.hitCol.resize(x.nHit);
602 {for(int i = 0; i < x.nHit; i++) {
603 is >> x.hitCol[i];
604 }}
605 x.check_end_tag(is, "MDCHIT");
606 return is;
607}

Member Data Documentation

◆ hitCol

std::vector< MdcHitType > MDCHIT::hitCol

◆ nHit

int MDCHIT::nHit

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