CGEM BOSS 6.6.5.i
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 &is, MUCHIT &x)
 
std::ostream & operator<< (std::ostream &os, 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 504 of file AsciiData.hh.

Constructor & Destructor Documentation

◆ MUCHIT()

MUCHIT::MUCHIT ( )
inline

Definition at line 506 of file AsciiData.hh.

506{};

Friends And Related Symbol Documentation

◆ operator<<

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

Definition at line 1024 of file AsciiData.cc.

1025{
1026 os << std::endl << "{ MUCHIT" << std::endl;
1027 if(x.initialized()) {
1028 os << " " << x.nHit;
1029 {for(int i = 0; i < x.nHit; i++) {
1030 os << " " << x.hitCol[i];
1031 }}
1032 }
1033 os << std::endl << "} MUCHIT" << std::endl;
1034 return os;
1035}
Double_t x[10]

◆ operator>>

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

Definition at line 1011 of file AsciiData.cc.

1012{
1013 x.check_start_tag(is,"MUCHIT");
1014 if(!x.initialized()) return is;
1015 is >> x.nHit;
1016 x.hitCol.resize(x.nHit);
1017 {for(int i = 0; i < x.nHit; i++) {
1018 is >> x.hitCol[i];
1019 }}
1020 x.check_end_tag(is, "MUCHIT");
1021 return is;
1022}

Member Data Documentation

◆ hitCol

std::vector<MucHitType> MUCHIT::hitCol

Definition at line 509 of file AsciiData.hh.

◆ nHit

int MUCHIT::nHit

Definition at line 508 of file AsciiData.hh.


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