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

#include <AsciiData.hh>

Public Member Functions

 TofTruthType ()
 TofTruthType ()
 TofTruthType ()
 TofTruthType ()

Public Attributes

int trackIndex
int partId
int scinNb
float posX
float posY
float posZ
float px
float py
float pz
float trackL
float time

Friends

std::istream & operator>> (std::istream &is, TofTruthType &x)
std::ostream & operator<< (std::ostream &os, const TofTruthType &x)
std::istream & operator>> (std::istream &is, TofTruthType &x)
std::ostream & operator<< (std::ostream &os, const TofTruthType &x)
std::istream & operator>> (std::istream &is, TofTruthType &x)
std::ostream & operator<< (std::ostream &os, const TofTruthType &x)
std::istream & operator>> (std::istream &is, TofTruthType &x)
std::ostream & operator<< (std::ostream &os, const TofTruthType &x)

Detailed Description

Constructor & Destructor Documentation

◆ TofTruthType() [1/4]

TofTruthType::TofTruthType ( )
inline

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

129{};

Referenced by operator<<, and operator>>.

◆ TofTruthType() [2/4]

TofTruthType::TofTruthType ( )
inline

◆ TofTruthType() [3/4]

TofTruthType::TofTruthType ( )
inline

◆ TofTruthType() [4/4]

TofTruthType::TofTruthType ( )
inline

Definition at line 129 of file AsciiData.h.

129{};

◆ operator<< [1/4]

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

Definition at line 235 of file AsciiData.cc.

235 {
236 os << " " << x.trackIndex;
237 os << " " << x.partId;
238 os << " " << x.scinNb;
239 os << " " << x.posX;
240 os << " " << x.posY;
241 os << " " << x.posZ;
242 os << " " << x.px;
243 os << " " << x.py;
244 os << " " << x.pz;
245 os << " " << x.trackL;
246 os << " " << x.time;
247 os << std::endl;
248 return os;
249}
Double_t x[10]

◆ operator<< [2/4]

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

Definition at line 235 of file AsciiData.cc.

235 {
236 os << " " << x.trackIndex;
237 os << " " << x.partId;
238 os << " " << x.scinNb;
239 os << " " << x.posX;
240 os << " " << x.posY;
241 os << " " << x.posZ;
242 os << " " << x.px;
243 os << " " << x.py;
244 os << " " << x.pz;
245 os << " " << x.trackL;
246 os << " " << x.time;
247 os << std::endl;
248 return os;
249}

◆ operator<< [3/4]

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

Definition at line 235 of file AsciiData.cc.

235 {
236 os << " " << x.trackIndex;
237 os << " " << x.partId;
238 os << " " << x.scinNb;
239 os << " " << x.posX;
240 os << " " << x.posY;
241 os << " " << x.posZ;
242 os << " " << x.px;
243 os << " " << x.py;
244 os << " " << x.pz;
245 os << " " << x.trackL;
246 os << " " << x.time;
247 os << std::endl;
248 return os;
249}

◆ operator<< [4/4]

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

Definition at line 235 of file AsciiData.cc.

235 {
236 os << " " << x.trackIndex;
237 os << " " << x.partId;
238 os << " " << x.scinNb;
239 os << " " << x.posX;
240 os << " " << x.posY;
241 os << " " << x.posZ;
242 os << " " << x.px;
243 os << " " << x.py;
244 os << " " << x.pz;
245 os << " " << x.trackL;
246 os << " " << x.time;
247 os << std::endl;
248 return os;
249}

◆ operator>> [1/4]

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

Definition at line 220 of file AsciiData.cc.

220 {
221 is >> x.trackIndex;
222 is >> x.partId;
223 is >> x.scinNb;
224 is >> x.posX;
225 is >> x.posY;
226 is >> x.posZ;
227 is >> x.px;
228 is >> x.py;
229 is >> x.pz;
230 is >> x.trackL;
231 is >> x.time;
232 return is;
233}

◆ operator>> [2/4]

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

Definition at line 220 of file AsciiData.cc.

220 {
221 is >> x.trackIndex;
222 is >> x.partId;
223 is >> x.scinNb;
224 is >> x.posX;
225 is >> x.posY;
226 is >> x.posZ;
227 is >> x.px;
228 is >> x.py;
229 is >> x.pz;
230 is >> x.trackL;
231 is >> x.time;
232 return is;
233}

◆ operator>> [3/4]

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

Definition at line 220 of file AsciiData.cc.

220 {
221 is >> x.trackIndex;
222 is >> x.partId;
223 is >> x.scinNb;
224 is >> x.posX;
225 is >> x.posY;
226 is >> x.posZ;
227 is >> x.px;
228 is >> x.py;
229 is >> x.pz;
230 is >> x.trackL;
231 is >> x.time;
232 return is;
233}

◆ operator>> [4/4]

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

Definition at line 220 of file AsciiData.cc.

220 {
221 is >> x.trackIndex;
222 is >> x.partId;
223 is >> x.scinNb;
224 is >> x.posX;
225 is >> x.posY;
226 is >> x.posZ;
227 is >> x.px;
228 is >> x.py;
229 is >> x.pz;
230 is >> x.trackL;
231 is >> x.time;
232 return is;
233}

Member Data Documentation

◆ partId

int TofTruthType::partId

◆ posX

float TofTruthType::posX

◆ posY

float TofTruthType::posY

◆ posZ

float TofTruthType::posZ

◆ px

float TofTruthType::px

◆ py

float TofTruthType::py

◆ pz

float TofTruthType::pz

◆ scinNb

int TofTruthType::scinNb

◆ time

float TofTruthType::time

◆ trackIndex

int TofTruthType::trackIndex

◆ trackL

float TofTruthType::trackL

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