CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
TofTruthType Class Reference

#include <AsciiData.hh>

Public Member Functions

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

Detailed Description

Definition at line 169 of file AsciiData.hh.

Constructor & Destructor Documentation

◆ TofTruthType() [1/2]

TofTruthType::TofTruthType ( )
inline

Definition at line 171 of file AsciiData.hh.

171{};

◆ TofTruthType() [2/2]

TofTruthType::TofTruthType ( )
inline

Definition at line 121 of file AsciiData.h.

121{};

Friends And Related Function Documentation

◆ operator<< [1/2]

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

Definition at line 352 of file AsciiData.cc.

353{
354 os << " " << x.trackIndex;
355 os << " " << x.partId;
356 os << " " << x.scinNb;
357 os << " " << x.posX;
358 os << " " << x.posY;
359 os << " " << x.posZ;
360 os << " " << x.px;
361 os << " " << x.py;
362 os << " " << x.pz;
363 os << " " << x.trackL;
364 os << " " << x.time;
365 os << std::endl;
366 return os;
367}
Double_t x[10]

◆ operator<< [2/2]

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

Definition at line 352 of file AsciiData.cc.

353{
354 os << " " << x.trackIndex;
355 os << " " << x.partId;
356 os << " " << x.scinNb;
357 os << " " << x.posX;
358 os << " " << x.posY;
359 os << " " << x.posZ;
360 os << " " << x.px;
361 os << " " << x.py;
362 os << " " << x.pz;
363 os << " " << x.trackL;
364 os << " " << x.time;
365 os << std::endl;
366 return os;
367}

◆ operator>> [1/2]

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

Definition at line 336 of file AsciiData.cc.

337{
338 is >> x.trackIndex;
339 is >> x.partId;
340 is >> x.scinNb;
341 is >> x.posX;
342 is >> x.posY;
343 is >> x.posZ;
344 is >> x.px;
345 is >> x.py;
346 is >> x.pz;
347 is >> x.trackL;
348 is >> x.time;
349 return is;
350}

◆ operator>> [2/2]

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

Definition at line 336 of file AsciiData.cc.

337{
338 is >> x.trackIndex;
339 is >> x.partId;
340 is >> x.scinNb;
341 is >> x.posX;
342 is >> x.posY;
343 is >> x.posZ;
344 is >> x.px;
345 is >> x.py;
346 is >> x.pz;
347 is >> x.trackL;
348 is >> x.time;
349 return is;
350}

Member Data Documentation

◆ partId

int TofTruthType::partId

Definition at line 174 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().

◆ posX

float TofTruthType::posX

Definition at line 176 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().

◆ posY

float TofTruthType::posY

Definition at line 177 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().

◆ posZ

float TofTruthType::posZ

Definition at line 178 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().

◆ px

float TofTruthType::px

Definition at line 179 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().

◆ py

float TofTruthType::py

Definition at line 180 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().

◆ pz

float TofTruthType::pz

Definition at line 181 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().

◆ scinNb

int TofTruthType::scinNb

Definition at line 175 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().

◆ time

float TofTruthType::time

Definition at line 183 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().

◆ trackIndex

int TofTruthType::trackIndex

Definition at line 173 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().

◆ trackL

float TofTruthType::trackL

Definition at line 182 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().


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