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

Constructor & Destructor Documentation

◆ VERTEXTRUTH() [1/4]

VERTEXTRUTH::VERTEXTRUTH ( )
inline

◆ VERTEXTRUTH() [2/4]

VERTEXTRUTH::VERTEXTRUTH ( )
inline

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

83{};

◆ VERTEXTRUTH() [3/4]

VERTEXTRUTH::VERTEXTRUTH ( )
inline

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

83{};

◆ VERTEXTRUTH() [4/4]

VERTEXTRUTH::VERTEXTRUTH ( )
inline

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

83{};

Friends And Related Function Documentation

◆ operator<< [1/4]

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

Definition at line 168 of file AsciiData.cc.

169{
170 os << std::endl << "{ VERTEXTRUTH" << std::endl;
171 if(x.initialized()) {
172 os << " " << x.nTruth;
173 {for(int i = 0; i < x.nTruth; i++) {
174 os << " " << x.truthCol[i];
175 }}
176 }
177 os << std::endl << "} VERTEXTRUTH" << std::endl;
178 return os;
179}
Double_t x[10]

◆ operator<< [2/4]

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

Definition at line 168 of file AsciiData.cc.

169{
170 os << std::endl << "{ VERTEXTRUTH" << std::endl;
171 if(x.initialized()) {
172 os << " " << x.nTruth;
173 {for(int i = 0; i < x.nTruth; i++) {
174 os << " " << x.truthCol[i];
175 }}
176 }
177 os << std::endl << "} VERTEXTRUTH" << std::endl;
178 return os;
179}

◆ operator<< [3/4]

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

Definition at line 168 of file AsciiData.cc.

169{
170 os << std::endl << "{ VERTEXTRUTH" << std::endl;
171 if(x.initialized()) {
172 os << " " << x.nTruth;
173 {for(int i = 0; i < x.nTruth; i++) {
174 os << " " << x.truthCol[i];
175 }}
176 }
177 os << std::endl << "} VERTEXTRUTH" << std::endl;
178 return os;
179}

◆ operator<< [4/4]

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

Definition at line 168 of file AsciiData.cc.

169{
170 os << std::endl << "{ VERTEXTRUTH" << std::endl;
171 if(x.initialized()) {
172 os << " " << x.nTruth;
173 {for(int i = 0; i < x.nTruth; i++) {
174 os << " " << x.truthCol[i];
175 }}
176 }
177 os << std::endl << "} VERTEXTRUTH" << std::endl;
178 return os;
179}

◆ operator>> [1/4]

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

Definition at line 155 of file AsciiData.cc.

156{
157 x.check_start_tag(is,"VERTEXTRUTH");
158 if(!x.initialized()) return is;
159 is >> x.nTruth;
160 x.truthCol.resize(x.nTruth);
161 {for(int i = 0; i < x.nTruth; i++) {
162 is >> x.truthCol[i];
163 }}
164 x.check_end_tag(is, "VERTEXTRUTH");
165 return is;
166}

◆ operator>> [2/4]

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

Definition at line 155 of file AsciiData.cc.

156{
157 x.check_start_tag(is,"VERTEXTRUTH");
158 if(!x.initialized()) return is;
159 is >> x.nTruth;
160 x.truthCol.resize(x.nTruth);
161 {for(int i = 0; i < x.nTruth; i++) {
162 is >> x.truthCol[i];
163 }}
164 x.check_end_tag(is, "VERTEXTRUTH");
165 return is;
166}

◆ operator>> [3/4]

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

Definition at line 155 of file AsciiData.cc.

156{
157 x.check_start_tag(is,"VERTEXTRUTH");
158 if(!x.initialized()) return is;
159 is >> x.nTruth;
160 x.truthCol.resize(x.nTruth);
161 {for(int i = 0; i < x.nTruth; i++) {
162 is >> x.truthCol[i];
163 }}
164 x.check_end_tag(is, "VERTEXTRUTH");
165 return is;
166}

◆ operator>> [4/4]

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

Definition at line 155 of file AsciiData.cc.

156{
157 x.check_start_tag(is,"VERTEXTRUTH");
158 if(!x.initialized()) return is;
159 is >> x.nTruth;
160 x.truthCol.resize(x.nTruth);
161 {for(int i = 0; i < x.nTruth; i++) {
162 is >> x.truthCol[i];
163 }}
164 x.check_end_tag(is, "VERTEXTRUTH");
165 return is;
166}

Member Data Documentation

◆ nTruth

int VERTEXTRUTH::nTruth

◆ truthCol

std::vector< VertexTruthType > VERTEXTRUTH::truthCol

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