BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
TRACKTRUTH Class Reference

#include <AsciiData.hh>

+ Inheritance diagram for TRACKTRUTH:

Public Member Functions

 TRACKTRUTH ()
 
 TRACKTRUTH ()
 
 TRACKTRUTH ()
 
 TRACKTRUTH ()
 
- 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< TrackTruthTypetruthCol
 

Friends

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

◆ TRACKTRUTH() [1/4]

TRACKTRUTH::TRACKTRUTH ( )
inline

◆ TRACKTRUTH() [2/4]

TRACKTRUTH::TRACKTRUTH ( )
inline

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

61{};

◆ TRACKTRUTH() [3/4]

TRACKTRUTH::TRACKTRUTH ( )
inline

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

61{};

◆ TRACKTRUTH() [4/4]

TRACKTRUTH::TRACKTRUTH ( )
inline

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

61{};

Friends And Related Function Documentation

◆ operator<< [1/4]

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

Definition at line 119 of file AsciiData.cc.

120{
121 os << std::endl << "{ TRACKTRUTH" << std::endl;
122 if(x.initialized()) {
123 os << " " << x.nTruth;
124 {for(int i = 0; i < x.nTruth; i++) {
125 os << " " << x.truthCol[i];
126 }}
127 }
128 os << std::endl << "} TRACKTRUTH" << std::endl;
129 return os;
130}
Double_t x[10]

◆ operator<< [2/4]

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

Definition at line 119 of file AsciiData.cc.

120{
121 os << std::endl << "{ TRACKTRUTH" << std::endl;
122 if(x.initialized()) {
123 os << " " << x.nTruth;
124 {for(int i = 0; i < x.nTruth; i++) {
125 os << " " << x.truthCol[i];
126 }}
127 }
128 os << std::endl << "} TRACKTRUTH" << std::endl;
129 return os;
130}

◆ operator<< [3/4]

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

Definition at line 119 of file AsciiData.cc.

120{
121 os << std::endl << "{ TRACKTRUTH" << std::endl;
122 if(x.initialized()) {
123 os << " " << x.nTruth;
124 {for(int i = 0; i < x.nTruth; i++) {
125 os << " " << x.truthCol[i];
126 }}
127 }
128 os << std::endl << "} TRACKTRUTH" << std::endl;
129 return os;
130}

◆ operator<< [4/4]

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

Definition at line 119 of file AsciiData.cc.

120{
121 os << std::endl << "{ TRACKTRUTH" << std::endl;
122 if(x.initialized()) {
123 os << " " << x.nTruth;
124 {for(int i = 0; i < x.nTruth; i++) {
125 os << " " << x.truthCol[i];
126 }}
127 }
128 os << std::endl << "} TRACKTRUTH" << std::endl;
129 return os;
130}

◆ operator>> [1/4]

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

Definition at line 106 of file AsciiData.cc.

107{
108 x.check_start_tag(is,"TRACKTRUTH");
109 if(!x.initialized()) return is;
110 is >> x.nTruth;
111 x.truthCol.resize(x.nTruth);
112 {for(int i = 0; i < x.nTruth; i++) {
113 is >> x.truthCol[i];
114 }}
115 x.check_end_tag(is, "TRACKTRUTH");
116 return is;
117}

◆ operator>> [2/4]

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

Definition at line 106 of file AsciiData.cc.

107{
108 x.check_start_tag(is,"TRACKTRUTH");
109 if(!x.initialized()) return is;
110 is >> x.nTruth;
111 x.truthCol.resize(x.nTruth);
112 {for(int i = 0; i < x.nTruth; i++) {
113 is >> x.truthCol[i];
114 }}
115 x.check_end_tag(is, "TRACKTRUTH");
116 return is;
117}

◆ operator>> [3/4]

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

Definition at line 106 of file AsciiData.cc.

107{
108 x.check_start_tag(is,"TRACKTRUTH");
109 if(!x.initialized()) return is;
110 is >> x.nTruth;
111 x.truthCol.resize(x.nTruth);
112 {for(int i = 0; i < x.nTruth; i++) {
113 is >> x.truthCol[i];
114 }}
115 x.check_end_tag(is, "TRACKTRUTH");
116 return is;
117}

◆ operator>> [4/4]

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

Definition at line 106 of file AsciiData.cc.

107{
108 x.check_start_tag(is,"TRACKTRUTH");
109 if(!x.initialized()) return is;
110 is >> x.nTruth;
111 x.truthCol.resize(x.nTruth);
112 {for(int i = 0; i < x.nTruth; i++) {
113 is >> x.truthCol[i];
114 }}
115 x.check_end_tag(is, "TRACKTRUTH");
116 return is;
117}

Member Data Documentation

◆ nTruth

int TRACKTRUTH::nTruth

◆ truthCol

std::vector< TrackTruthType > TRACKTRUTH::truthCol

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