BOSS 7.0.2
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 &, MUCTRUTH &x)
 
std::ostream & operator<< (std::ostream &, const MUCTRUTH &x)
 
std::istream & operator>> (std::istream &, MUCTRUTH &x)
 
std::ostream & operator<< (std::ostream &, const MUCTRUTH &x)
 
std::istream & operator>> (std::istream &, MUCTRUTH &x)
 
std::ostream & operator<< (std::ostream &, const MUCTRUTH &x)
 
std::istream & operator>> (std::istream &, MUCTRUTH &x)
 
std::ostream & operator<< (std::ostream &, 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 198 of file Event/AsciiDmp/AsciiDmp-01-03-01/AsciiDmp/AsciiData.hh.

198{};

◆ MUCTRUTH() [2/4]

MUCTRUTH::MUCTRUTH ( )
inline

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

198{};

◆ MUCTRUTH() [3/4]

MUCTRUTH::MUCTRUTH ( )
inline

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

198{};

◆ MUCTRUTH() [4/4]

MUCTRUTH::MUCTRUTH ( )
inline

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

198{};

Friends And Related Function Documentation

◆ operator<< [1/4]

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

Definition at line 402 of file AsciiData.cc.

403{
404 os << std::endl << "{ MUCTRUTH" << std::endl;
405 if(x.initialized()) {
406 os << " " << x.nTruth;
407 {for(int i = 0; i < x.nTruth; i++) {
408 os << " " << x.truthCol[i];
409 }}
410 }
411 os << std::endl << "} MUCTRUTH" << std::endl;
412 return os;
413}
Double_t x[10]

◆ operator<< [2/4]

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

Definition at line 402 of file AsciiData.cc.

403{
404 os << std::endl << "{ MUCTRUTH" << std::endl;
405 if(x.initialized()) {
406 os << " " << x.nTruth;
407 {for(int i = 0; i < x.nTruth; i++) {
408 os << " " << x.truthCol[i];
409 }}
410 }
411 os << std::endl << "} MUCTRUTH" << std::endl;
412 return os;
413}

◆ operator<< [3/4]

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

Definition at line 402 of file AsciiData.cc.

403{
404 os << std::endl << "{ MUCTRUTH" << std::endl;
405 if(x.initialized()) {
406 os << " " << x.nTruth;
407 {for(int i = 0; i < x.nTruth; i++) {
408 os << " " << x.truthCol[i];
409 }}
410 }
411 os << std::endl << "} MUCTRUTH" << std::endl;
412 return os;
413}

◆ operator<< [4/4]

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

Definition at line 402 of file AsciiData.cc.

403{
404 os << std::endl << "{ MUCTRUTH" << std::endl;
405 if(x.initialized()) {
406 os << " " << x.nTruth;
407 {for(int i = 0; i < x.nTruth; i++) {
408 os << " " << x.truthCol[i];
409 }}
410 }
411 os << std::endl << "} MUCTRUTH" << std::endl;
412 return os;
413}

◆ operator>> [1/4]

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

Definition at line 389 of file AsciiData.cc.

390{
391 x.check_start_tag(is,"MUCTRUTH");
392 if(!x.initialized()) return is;
393 is >> x.nTruth;
394 x.truthCol.resize(x.nTruth);
395 {for(int i = 0; i < x.nTruth; i++) {
396 is >> x.truthCol[i];
397 }}
398 x.check_end_tag(is, "MUCTRUTH");
399 return is;
400}

◆ operator>> [2/4]

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

Definition at line 389 of file AsciiData.cc.

390{
391 x.check_start_tag(is,"MUCTRUTH");
392 if(!x.initialized()) return is;
393 is >> x.nTruth;
394 x.truthCol.resize(x.nTruth);
395 {for(int i = 0; i < x.nTruth; i++) {
396 is >> x.truthCol[i];
397 }}
398 x.check_end_tag(is, "MUCTRUTH");
399 return is;
400}

◆ operator>> [3/4]

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

Definition at line 389 of file AsciiData.cc.

390{
391 x.check_start_tag(is,"MUCTRUTH");
392 if(!x.initialized()) return is;
393 is >> x.nTruth;
394 x.truthCol.resize(x.nTruth);
395 {for(int i = 0; i < x.nTruth; i++) {
396 is >> x.truthCol[i];
397 }}
398 x.check_end_tag(is, "MUCTRUTH");
399 return is;
400}

◆ operator>> [4/4]

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

Definition at line 389 of file AsciiData.cc.

390{
391 x.check_start_tag(is,"MUCTRUTH");
392 if(!x.initialized()) return is;
393 is >> x.nTruth;
394 x.truthCol.resize(x.nTruth);
395 {for(int i = 0; i < x.nTruth; i++) {
396 is >> x.truthCol[i];
397 }}
398 x.check_end_tag(is, "MUCTRUTH");
399 return is;
400}

Member Data Documentation

◆ nTruth

int MUCTRUTH::nTruth

◆ truthCol

std::vector< MucTruthType > MUCTRUTH::truthCol

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