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

#include <AsciiData.hh>

+ Inheritance diagram for EMCTRUTH:

Public Member Functions

 EMCTRUTH ()
 
 EMCTRUTH ()
 
 EMCTRUTH ()
 
 EMCTRUTH ()
 
- 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< EmcTruthTypetruthCol
 

Friends

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

◆ EMCTRUTH() [1/4]

EMCTRUTH::EMCTRUTH ( )
inline

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

219{};

◆ EMCTRUTH() [2/4]

EMCTRUTH::EMCTRUTH ( )
inline

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

219{};

◆ EMCTRUTH() [3/4]

EMCTRUTH::EMCTRUTH ( )
inline

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

169{};

◆ EMCTRUTH() [4/4]

EMCTRUTH::EMCTRUTH ( )
inline

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

169{};

Friends And Related Function Documentation

◆ operator<< [1/4]

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

Definition at line 442 of file AsciiData.cc.

443{
444 os << std::endl << "{ EMCTRUTH" << std::endl;
445 if(x.initialized()) {
446 os << " " << x.nTruth;
447 {for(int i = 0; i < x.nTruth; i++) {
448 os << " " << x.truthCol[i];
449 }}
450 }
451 os << std::endl << "} EMCTRUTH" << std::endl;
452 return os;
453}
Double_t x[10]

◆ operator<< [2/4]

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

Definition at line 442 of file AsciiData.cc.

443{
444 os << std::endl << "{ EMCTRUTH" << std::endl;
445 if(x.initialized()) {
446 os << " " << x.nTruth;
447 {for(int i = 0; i < x.nTruth; i++) {
448 os << " " << x.truthCol[i];
449 }}
450 }
451 os << std::endl << "} EMCTRUTH" << std::endl;
452 return os;
453}

◆ operator<< [3/4]

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

Definition at line 442 of file AsciiData.cc.

443{
444 os << std::endl << "{ EMCTRUTH" << std::endl;
445 if(x.initialized()) {
446 os << " " << x.nTruth;
447 {for(int i = 0; i < x.nTruth; i++) {
448 os << " " << x.truthCol[i];
449 }}
450 }
451 os << std::endl << "} EMCTRUTH" << std::endl;
452 return os;
453}

◆ operator<< [4/4]

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

Definition at line 442 of file AsciiData.cc.

443{
444 os << std::endl << "{ EMCTRUTH" << std::endl;
445 if(x.initialized()) {
446 os << " " << x.nTruth;
447 {for(int i = 0; i < x.nTruth; i++) {
448 os << " " << x.truthCol[i];
449 }}
450 }
451 os << std::endl << "} EMCTRUTH" << std::endl;
452 return os;
453}

◆ operator>> [1/4]

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

Definition at line 429 of file AsciiData.cc.

430{
431 x.check_start_tag(is,"EMCTRUTH");
432 if(!x.initialized()) return is;
433 is >> x.nTruth;
434 x.truthCol.resize(x.nTruth);
435 {for(int i = 0; i < x.nTruth; i++) {
436 is >> x.truthCol[i];
437 }}
438 x.check_end_tag(is, "EMCTRUTH");
439 return is;
440}

◆ operator>> [2/4]

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

Definition at line 429 of file AsciiData.cc.

430{
431 x.check_start_tag(is,"EMCTRUTH");
432 if(!x.initialized()) return is;
433 is >> x.nTruth;
434 x.truthCol.resize(x.nTruth);
435 {for(int i = 0; i < x.nTruth; i++) {
436 is >> x.truthCol[i];
437 }}
438 x.check_end_tag(is, "EMCTRUTH");
439 return is;
440}

◆ operator>> [3/4]

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

Definition at line 429 of file AsciiData.cc.

430{
431 x.check_start_tag(is,"EMCTRUTH");
432 if(!x.initialized()) return is;
433 is >> x.nTruth;
434 x.truthCol.resize(x.nTruth);
435 {for(int i = 0; i < x.nTruth; i++) {
436 is >> x.truthCol[i];
437 }}
438 x.check_end_tag(is, "EMCTRUTH");
439 return is;
440}

◆ operator>> [4/4]

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

Definition at line 429 of file AsciiData.cc.

430{
431 x.check_start_tag(is,"EMCTRUTH");
432 if(!x.initialized()) return is;
433 is >> x.nTruth;
434 x.truthCol.resize(x.nTruth);
435 {for(int i = 0; i < x.nTruth; i++) {
436 is >> x.truthCol[i];
437 }}
438 x.check_end_tag(is, "EMCTRUTH");
439 return is;
440}

Member Data Documentation

◆ nTruth

int EMCTRUTH::nTruth

◆ truthCol

std::vector< EmcTruthType > EMCTRUTH::truthCol

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