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

#include <AsciiData.hh>

+ Inheritance diagram for TOFHIT:

Public Member Functions

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

Friends

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

◆ TOFHIT() [1/2]

TOFHIT::TOFHIT ( )
inline

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

421{};

◆ TOFHIT() [2/2]

TOFHIT::TOFHIT ( )
inline

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

421{};

Friends And Related Function Documentation

◆ operator<< [1/2]

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

Definition at line 851 of file AsciiData.cc.

852{
853 os << std::endl << "{ TOFHIT" << std::endl;
854 if(x.initialized()) {
855 os << " " << x.nHit;
856 {for(int i = 0; i < x.nHit; i++) {
857 os << " " << x.hitCol[i];
858 }}
859 }
860 os << std::endl << "} TOFHIT" << std::endl;
861 return os;
862}
Double_t x[10]

◆ operator<< [2/2]

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

Definition at line 851 of file AsciiData.cc.

852{
853 os << std::endl << "{ TOFHIT" << std::endl;
854 if(x.initialized()) {
855 os << " " << x.nHit;
856 {for(int i = 0; i < x.nHit; i++) {
857 os << " " << x.hitCol[i];
858 }}
859 }
860 os << std::endl << "} TOFHIT" << std::endl;
861 return os;
862}

◆ operator>> [1/2]

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

Definition at line 838 of file AsciiData.cc.

839{
840 x.check_start_tag(is,"TOFHIT");
841 if(!x.initialized()) return is;
842 is >> x.nHit;
843 x.hitCol.resize(x.nHit);
844 {for(int i = 0; i < x.nHit; i++) {
845 is >> x.hitCol[i];
846 }}
847 x.check_end_tag(is, "TOFHIT");
848 return is;
849}

◆ operator>> [2/2]

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

Definition at line 838 of file AsciiData.cc.

839{
840 x.check_start_tag(is,"TOFHIT");
841 if(!x.initialized()) return is;
842 is >> x.nHit;
843 x.hitCol.resize(x.nHit);
844 {for(int i = 0; i < x.nHit; i++) {
845 is >> x.hitCol[i];
846 }}
847 x.check_end_tag(is, "TOFHIT");
848 return is;
849}

Member Data Documentation

◆ hitCol

std::vector< TofHitType > TOFHIT::hitCol

◆ nHit

int TOFHIT::nHit

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