BOSS 7.0.4
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 169 of file Event/AsciiDmp/AsciiDmp-01-03-01/AsciiDmp/AsciiData.hh.

169{};

◆ EMCTRUTH() [2/4]

EMCTRUTH::EMCTRUTH ( )
inline

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

169{};

◆ 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 343 of file AsciiData.cc.

344{
345 os << std::endl << "{ EMCTRUTH" << std::endl;
346 if(x.initialized()) {
347 os << " " << x.nTruth;
348 {for(int i = 0; i < x.nTruth; i++) {
349 os << " " << x.truthCol[i];
350 }}
351 }
352 os << std::endl << "} EMCTRUTH" << std::endl;
353 return os;
354}
Double_t x[10]

◆ operator<< [2/4]

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

Definition at line 343 of file AsciiData.cc.

344{
345 os << std::endl << "{ EMCTRUTH" << std::endl;
346 if(x.initialized()) {
347 os << " " << x.nTruth;
348 {for(int i = 0; i < x.nTruth; i++) {
349 os << " " << x.truthCol[i];
350 }}
351 }
352 os << std::endl << "} EMCTRUTH" << std::endl;
353 return os;
354}

◆ operator<< [3/4]

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

Definition at line 343 of file AsciiData.cc.

344{
345 os << std::endl << "{ EMCTRUTH" << std::endl;
346 if(x.initialized()) {
347 os << " " << x.nTruth;
348 {for(int i = 0; i < x.nTruth; i++) {
349 os << " " << x.truthCol[i];
350 }}
351 }
352 os << std::endl << "} EMCTRUTH" << std::endl;
353 return os;
354}

◆ operator<< [4/4]

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

Definition at line 343 of file AsciiData.cc.

344{
345 os << std::endl << "{ EMCTRUTH" << std::endl;
346 if(x.initialized()) {
347 os << " " << x.nTruth;
348 {for(int i = 0; i < x.nTruth; i++) {
349 os << " " << x.truthCol[i];
350 }}
351 }
352 os << std::endl << "} EMCTRUTH" << std::endl;
353 return os;
354}

◆ operator>> [1/4]

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

Definition at line 330 of file AsciiData.cc.

331{
332 x.check_start_tag(is,"EMCTRUTH");
333 if(!x.initialized()) return is;
334 is >> x.nTruth;
335 x.truthCol.resize(x.nTruth);
336 {for(int i = 0; i < x.nTruth; i++) {
337 is >> x.truthCol[i];
338 }}
339 x.check_end_tag(is, "EMCTRUTH");
340 return is;
341}

◆ operator>> [2/4]

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

Definition at line 330 of file AsciiData.cc.

331{
332 x.check_start_tag(is,"EMCTRUTH");
333 if(!x.initialized()) return is;
334 is >> x.nTruth;
335 x.truthCol.resize(x.nTruth);
336 {for(int i = 0; i < x.nTruth; i++) {
337 is >> x.truthCol[i];
338 }}
339 x.check_end_tag(is, "EMCTRUTH");
340 return is;
341}

◆ operator>> [3/4]

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

Definition at line 330 of file AsciiData.cc.

331{
332 x.check_start_tag(is,"EMCTRUTH");
333 if(!x.initialized()) return is;
334 is >> x.nTruth;
335 x.truthCol.resize(x.nTruth);
336 {for(int i = 0; i < x.nTruth; i++) {
337 is >> x.truthCol[i];
338 }}
339 x.check_end_tag(is, "EMCTRUTH");
340 return is;
341}

◆ operator>> [4/4]

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

Definition at line 330 of file AsciiData.cc.

331{
332 x.check_start_tag(is,"EMCTRUTH");
333 if(!x.initialized()) return is;
334 is >> x.nTruth;
335 x.truthCol.resize(x.nTruth);
336 {for(int i = 0; i < x.nTruth; i++) {
337 is >> x.truthCol[i];
338 }}
339 x.check_end_tag(is, "EMCTRUTH");
340 return is;
341}

Member Data Documentation

◆ nTruth

int EMCTRUTH::nTruth

◆ truthCol

std::vector< EmcTruthType > EMCTRUTH::truthCol

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