CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
CGEMHIT Class Reference

#include <AsciiData.hh>

+ Inheritance diagram for CGEMHIT:

Public Member Functions

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

Friends

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

◆ CGEMHIT() [1/2]

CGEMHIT::CGEMHIT ( )
inline

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

376{};

◆ CGEMHIT() [2/2]

CGEMHIT::CGEMHIT ( )
inline

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

376{};

Friends And Related Function Documentation

◆ operator<< [1/2]

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

Definition at line 761 of file AsciiData.cc.

762{
763 os << std::endl << "{ CGEMHIT" << std::endl;
764 if(x.initialized()) {
765 os << " " << x.nHit;
766 {for(int i = 0; i < x.nHit; i++) {
767 os << " " << x.hitCol[i];
768 }}
769 }
770 os << std::endl << "} CGEMHIT" << std::endl;
771 return os;
772}
Double_t x[10]

◆ operator<< [2/2]

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

Definition at line 761 of file AsciiData.cc.

762{
763 os << std::endl << "{ CGEMHIT" << std::endl;
764 if(x.initialized()) {
765 os << " " << x.nHit;
766 {for(int i = 0; i < x.nHit; i++) {
767 os << " " << x.hitCol[i];
768 }}
769 }
770 os << std::endl << "} CGEMHIT" << std::endl;
771 return os;
772}

◆ operator>> [1/2]

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

Definition at line 748 of file AsciiData.cc.

749{
750 x.check_start_tag(is,"CGEMHIT");
751 if(!x.initialized()) return is;
752 is >> x.nHit;
753 x.hitCol.resize(x.nHit);
754 {for(int i = 0; i < x.nHit; i++) {
755 is >> x.hitCol[i];
756 }}
757 x.check_end_tag(is, "CGEMHIT");
758 return is;
759}

◆ operator>> [2/2]

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

Definition at line 748 of file AsciiData.cc.

749{
750 x.check_start_tag(is,"CGEMHIT");
751 if(!x.initialized()) return is;
752 is >> x.nHit;
753 x.hitCol.resize(x.nHit);
754 {for(int i = 0; i < x.nHit; i++) {
755 is >> x.hitCol[i];
756 }}
757 x.check_end_tag(is, "CGEMHIT");
758 return is;
759}

Member Data Documentation

◆ hitCol

std::vector< CgemHitType > CGEMHIT::hitCol

◆ nHit

int CGEMHIT::nHit

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