BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
MUCTRUTH Class Reference

#include <AsciiData.hh>

Inheritance diagram for MUCTRUTH:

Public Member Functions

 MUCTRUTH ()
 MUCTRUTH ()
 MUCTRUTH ()
 MUCTRUTH ()
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< MucTruthTypetruthCol

Friends

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

◆ MUCTRUTH() [1/4]

MUCTRUTH::MUCTRUTH ( )
inline

Definition at line 211 of file Event/AsciiDmp/include/AsciiDmp/AsciiData.hh.

211{};

Referenced by operator<<, and operator>>.

◆ MUCTRUTH() [2/4]

MUCTRUTH::MUCTRUTH ( )
inline

◆ MUCTRUTH() [3/4]

MUCTRUTH::MUCTRUTH ( )
inline

◆ MUCTRUTH() [4/4]

MUCTRUTH::MUCTRUTH ( )
inline

Definition at line 211 of file AsciiData.h.

211{};

◆ operator<< [1/4]

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

Definition at line 375 of file AsciiData.cc.

375 {
376 os << std::endl << "{ MUCTRUTH" << std::endl;
377 if ( x.initialized() )
378 {
379 os << " " << x.nTruth;
380 {
381 for ( int i = 0; i < x.nTruth; i++ ) { os << " " << x.truthCol[i]; }
382 }
383 }
384 os << std::endl << "} MUCTRUTH" << std::endl;
385 return os;
386}
Double_t x[10]

◆ operator<< [2/4]

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

Definition at line 375 of file AsciiData.cc.

375 {
376 os << std::endl << "{ MUCTRUTH" << std::endl;
377 if ( x.initialized() )
378 {
379 os << " " << x.nTruth;
380 {
381 for ( int i = 0; i < x.nTruth; i++ ) { os << " " << x.truthCol[i]; }
382 }
383 }
384 os << std::endl << "} MUCTRUTH" << std::endl;
385 return os;
386}

◆ operator<< [3/4]

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

Definition at line 375 of file AsciiData.cc.

375 {
376 os << std::endl << "{ MUCTRUTH" << std::endl;
377 if ( x.initialized() )
378 {
379 os << " " << x.nTruth;
380 {
381 for ( int i = 0; i < x.nTruth; i++ ) { os << " " << x.truthCol[i]; }
382 }
383 }
384 os << std::endl << "} MUCTRUTH" << std::endl;
385 return os;
386}

◆ operator<< [4/4]

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

Definition at line 375 of file AsciiData.cc.

375 {
376 os << std::endl << "{ MUCTRUTH" << std::endl;
377 if ( x.initialized() )
378 {
379 os << " " << x.nTruth;
380 {
381 for ( int i = 0; i < x.nTruth; i++ ) { os << " " << x.truthCol[i]; }
382 }
383 }
384 os << std::endl << "} MUCTRUTH" << std::endl;
385 return os;
386}

◆ operator>> [1/4]

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

Definition at line 363 of file AsciiData.cc.

363 {
364 x.check_start_tag( is, "MUCTRUTH" );
365 if ( !x.initialized() ) return is;
366 is >> x.nTruth;
367 x.truthCol.resize( x.nTruth );
368 {
369 for ( int i = 0; i < x.nTruth; i++ ) { is >> x.truthCol[i]; }
370 }
371 x.check_end_tag( is, "MUCTRUTH" );
372 return is;
373}

◆ operator>> [2/4]

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

Definition at line 363 of file AsciiData.cc.

363 {
364 x.check_start_tag( is, "MUCTRUTH" );
365 if ( !x.initialized() ) return is;
366 is >> x.nTruth;
367 x.truthCol.resize( x.nTruth );
368 {
369 for ( int i = 0; i < x.nTruth; i++ ) { is >> x.truthCol[i]; }
370 }
371 x.check_end_tag( is, "MUCTRUTH" );
372 return is;
373}

◆ operator>> [3/4]

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

Definition at line 363 of file AsciiData.cc.

363 {
364 x.check_start_tag( is, "MUCTRUTH" );
365 if ( !x.initialized() ) return is;
366 is >> x.nTruth;
367 x.truthCol.resize( x.nTruth );
368 {
369 for ( int i = 0; i < x.nTruth; i++ ) { is >> x.truthCol[i]; }
370 }
371 x.check_end_tag( is, "MUCTRUTH" );
372 return is;
373}

◆ operator>> [4/4]

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

Definition at line 363 of file AsciiData.cc.

363 {
364 x.check_start_tag( is, "MUCTRUTH" );
365 if ( !x.initialized() ) return is;
366 is >> x.nTruth;
367 x.truthCol.resize( x.nTruth );
368 {
369 for ( int i = 0; i < x.nTruth; i++ ) { is >> x.truthCol[i]; }
370 }
371 x.check_end_tag( is, "MUCTRUTH" );
372 return is;
373}

Member Data Documentation

◆ nTruth

int MUCTRUTH::nTruth

◆ truthCol

std::vector< MucTruthType > MUCTRUTH::truthCol

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