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

#include <AsciiData.hh>

+ Inheritance diagram for TOFTRUTH:

Public Member Functions

 TOFTRUTH ()
 
 TOFTRUTH ()
 
 TOFTRUTH ()
 
 TOFTRUTH ()
 
- 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 nTruth
 
std::vector< TofTruthTypetruthCol
 

Friends

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

◆ TOFTRUTH() [1/4]

TOFTRUTH::TOFTRUTH ( )
inline

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

190{};

◆ TOFTRUTH() [2/4]

TOFTRUTH::TOFTRUTH ( )
inline

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

190{};

◆ TOFTRUTH() [3/4]

TOFTRUTH::TOFTRUTH ( )
inline

Definition at line 140 of file InstallArea/include/Trigger/Trigger/AsciiData.h.

140{};

◆ TOFTRUTH() [4/4]

TOFTRUTH::TOFTRUTH ( )
inline

Definition at line 140 of file Trigger/Trigger/Trigger-00-01-05/Trigger/AsciiData.h.

140{};

Friends And Related Function Documentation

◆ operator<< [1/4]

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

Definition at line 382 of file AsciiData.cc.

383{
384 os << std::endl << "{ TOFTRUTH" << std::endl;
385 if(x.initialized()) {
386 os << " " << x.nTruth;
387 {for(int i = 0; i < x.nTruth; i++) {
388 os << " " << x.truthCol[i];
389 }}
390 }
391 os << std::endl << "} TOFTRUTH" << std::endl;
392 return os;
393}
Double_t x[10]

◆ operator<< [2/4]

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

Definition at line 382 of file AsciiData.cc.

383{
384 os << std::endl << "{ TOFTRUTH" << std::endl;
385 if(x.initialized()) {
386 os << " " << x.nTruth;
387 {for(int i = 0; i < x.nTruth; i++) {
388 os << " " << x.truthCol[i];
389 }}
390 }
391 os << std::endl << "} TOFTRUTH" << std::endl;
392 return os;
393}

◆ operator<< [3/4]

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

Definition at line 382 of file AsciiData.cc.

383{
384 os << std::endl << "{ TOFTRUTH" << std::endl;
385 if(x.initialized()) {
386 os << " " << x.nTruth;
387 {for(int i = 0; i < x.nTruth; i++) {
388 os << " " << x.truthCol[i];
389 }}
390 }
391 os << std::endl << "} TOFTRUTH" << std::endl;
392 return os;
393}

◆ operator<< [4/4]

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

Definition at line 382 of file AsciiData.cc.

383{
384 os << std::endl << "{ TOFTRUTH" << std::endl;
385 if(x.initialized()) {
386 os << " " << x.nTruth;
387 {for(int i = 0; i < x.nTruth; i++) {
388 os << " " << x.truthCol[i];
389 }}
390 }
391 os << std::endl << "} TOFTRUTH" << std::endl;
392 return os;
393}

◆ operator>> [1/4]

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

Definition at line 369 of file AsciiData.cc.

370{
371 x.check_start_tag(is,"TOFTRUTH");
372 if(!x.initialized()) return is;
373 is >> x.nTruth;
374 x.truthCol.resize(x.nTruth);
375 {for(int i = 0; i < x.nTruth; i++) {
376 is >> x.truthCol[i];
377 }}
378 x.check_end_tag(is, "TOFTRUTH");
379 return is;
380}

◆ operator>> [2/4]

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

Definition at line 369 of file AsciiData.cc.

370{
371 x.check_start_tag(is,"TOFTRUTH");
372 if(!x.initialized()) return is;
373 is >> x.nTruth;
374 x.truthCol.resize(x.nTruth);
375 {for(int i = 0; i < x.nTruth; i++) {
376 is >> x.truthCol[i];
377 }}
378 x.check_end_tag(is, "TOFTRUTH");
379 return is;
380}

◆ operator>> [3/4]

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

Definition at line 369 of file AsciiData.cc.

370{
371 x.check_start_tag(is,"TOFTRUTH");
372 if(!x.initialized()) return is;
373 is >> x.nTruth;
374 x.truthCol.resize(x.nTruth);
375 {for(int i = 0; i < x.nTruth; i++) {
376 is >> x.truthCol[i];
377 }}
378 x.check_end_tag(is, "TOFTRUTH");
379 return is;
380}

◆ operator>> [4/4]

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

Definition at line 369 of file AsciiData.cc.

370{
371 x.check_start_tag(is,"TOFTRUTH");
372 if(!x.initialized()) return is;
373 is >> x.nTruth;
374 x.truthCol.resize(x.nTruth);
375 {for(int i = 0; i < x.nTruth; i++) {
376 is >> x.truthCol[i];
377 }}
378 x.check_end_tag(is, "TOFTRUTH");
379 return is;
380}

Member Data Documentation

◆ nTruth

int TOFTRUTH::nTruth

◆ truthCol

std::vector< TofTruthType > TOFTRUTH::truthCol

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