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

#include <AsciiData.hh>

Inheritance diagram for VERTEXTRUTH:

Public Member Functions

 VERTEXTRUTH ()
 VERTEXTRUTH ()
 VERTEXTRUTH ()
 VERTEXTRUTH ()
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< VertexTruthTypetruthCol

Friends

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

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

Constructor & Destructor Documentation

◆ VERTEXTRUTH() [1/4]

VERTEXTRUTH::VERTEXTRUTH ( )
inline

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

89{};

Referenced by operator<<, and operator>>.

◆ VERTEXTRUTH() [2/4]

VERTEXTRUTH::VERTEXTRUTH ( )
inline

◆ VERTEXTRUTH() [3/4]

VERTEXTRUTH::VERTEXTRUTH ( )
inline

◆ VERTEXTRUTH() [4/4]

VERTEXTRUTH::VERTEXTRUTH ( )
inline

Definition at line 89 of file AsciiData.h.

89{};

◆ operator<< [1/4]

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

Definition at line 155 of file AsciiData.cc.

155 {
156 os << std::endl << "{ VERTEXTRUTH" << std::endl;
157 if ( x.initialized() )
158 {
159 os << " " << x.nTruth;
160 {
161 for ( int i = 0; i < x.nTruth; i++ ) { os << " " << x.truthCol[i]; }
162 }
163 }
164 os << std::endl << "} VERTEXTRUTH" << std::endl;
165 return os;
166}
Double_t x[10]

◆ operator<< [2/4]

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

Definition at line 155 of file AsciiData.cc.

155 {
156 os << std::endl << "{ VERTEXTRUTH" << std::endl;
157 if ( x.initialized() )
158 {
159 os << " " << x.nTruth;
160 {
161 for ( int i = 0; i < x.nTruth; i++ ) { os << " " << x.truthCol[i]; }
162 }
163 }
164 os << std::endl << "} VERTEXTRUTH" << std::endl;
165 return os;
166}

◆ operator<< [3/4]

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

Definition at line 155 of file AsciiData.cc.

155 {
156 os << std::endl << "{ VERTEXTRUTH" << std::endl;
157 if ( x.initialized() )
158 {
159 os << " " << x.nTruth;
160 {
161 for ( int i = 0; i < x.nTruth; i++ ) { os << " " << x.truthCol[i]; }
162 }
163 }
164 os << std::endl << "} VERTEXTRUTH" << std::endl;
165 return os;
166}

◆ operator<< [4/4]

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

Definition at line 155 of file AsciiData.cc.

155 {
156 os << std::endl << "{ VERTEXTRUTH" << std::endl;
157 if ( x.initialized() )
158 {
159 os << " " << x.nTruth;
160 {
161 for ( int i = 0; i < x.nTruth; i++ ) { os << " " << x.truthCol[i]; }
162 }
163 }
164 os << std::endl << "} VERTEXTRUTH" << std::endl;
165 return os;
166}

◆ operator>> [1/4]

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

Definition at line 143 of file AsciiData.cc.

143 {
144 x.check_start_tag( is, "VERTEXTRUTH" );
145 if ( !x.initialized() ) return is;
146 is >> x.nTruth;
147 x.truthCol.resize( x.nTruth );
148 {
149 for ( int i = 0; i < x.nTruth; i++ ) { is >> x.truthCol[i]; }
150 }
151 x.check_end_tag( is, "VERTEXTRUTH" );
152 return is;
153}

◆ operator>> [2/4]

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

Definition at line 143 of file AsciiData.cc.

143 {
144 x.check_start_tag( is, "VERTEXTRUTH" );
145 if ( !x.initialized() ) return is;
146 is >> x.nTruth;
147 x.truthCol.resize( x.nTruth );
148 {
149 for ( int i = 0; i < x.nTruth; i++ ) { is >> x.truthCol[i]; }
150 }
151 x.check_end_tag( is, "VERTEXTRUTH" );
152 return is;
153}

◆ operator>> [3/4]

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

Definition at line 143 of file AsciiData.cc.

143 {
144 x.check_start_tag( is, "VERTEXTRUTH" );
145 if ( !x.initialized() ) return is;
146 is >> x.nTruth;
147 x.truthCol.resize( x.nTruth );
148 {
149 for ( int i = 0; i < x.nTruth; i++ ) { is >> x.truthCol[i]; }
150 }
151 x.check_end_tag( is, "VERTEXTRUTH" );
152 return is;
153}

◆ operator>> [4/4]

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

Definition at line 143 of file AsciiData.cc.

143 {
144 x.check_start_tag( is, "VERTEXTRUTH" );
145 if ( !x.initialized() ) return is;
146 is >> x.nTruth;
147 x.truthCol.resize( x.nTruth );
148 {
149 for ( int i = 0; i < x.nTruth; i++ ) { is >> x.truthCol[i]; }
150 }
151 x.check_end_tag( is, "VERTEXTRUTH" );
152 return is;
153}

Member Data Documentation

◆ nTruth

int VERTEXTRUTH::nTruth

◆ truthCol

std::vector< VertexTruthType > VERTEXTRUTH::truthCol

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