BOSS 7.0.9
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 119 of file AsciiData.hh.

Constructor & Destructor Documentation

◆ TofTruthType() [1/2]

TofTruthType::TofTruthType ( )
inline

Definition at line 121 of file AsciiData.hh.

121{};

◆ 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 253 of file AsciiData.cc.

254{
255 os << " " << x.trackIndex;
256 os << " " << x.partId;
257 os << " " << x.scinNb;
258 os << " " << x.posX;
259 os << " " << x.posY;
260 os << " " << x.posZ;
261 os << " " << x.px;
262 os << " " << x.py;
263 os << " " << x.pz;
264 os << " " << x.trackL;
265 os << " " << x.time;
266 os << std::endl;
267 return os;
268}
Double_t x[10]

◆ operator<< [2/2]

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

Definition at line 253 of file AsciiData.cc.

254{
255 os << " " << x.trackIndex;
256 os << " " << x.partId;
257 os << " " << x.scinNb;
258 os << " " << x.posX;
259 os << " " << x.posY;
260 os << " " << x.posZ;
261 os << " " << x.px;
262 os << " " << x.py;
263 os << " " << x.pz;
264 os << " " << x.trackL;
265 os << " " << x.time;
266 os << std::endl;
267 return os;
268}

◆ operator>> [1/2]

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

Definition at line 237 of file AsciiData.cc.

238{
239 is >> x.trackIndex;
240 is >> x.partId;
241 is >> x.scinNb;
242 is >> x.posX;
243 is >> x.posY;
244 is >> x.posZ;
245 is >> x.px;
246 is >> x.py;
247 is >> x.pz;
248 is >> x.trackL;
249 is >> x.time;
250 return is;
251}

◆ operator>> [2/2]

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

Definition at line 237 of file AsciiData.cc.

238{
239 is >> x.trackIndex;
240 is >> x.partId;
241 is >> x.scinNb;
242 is >> x.posX;
243 is >> x.posY;
244 is >> x.posZ;
245 is >> x.px;
246 is >> x.py;
247 is >> x.pz;
248 is >> x.trackL;
249 is >> x.time;
250 return is;
251}

Member Data Documentation

◆ partId

int TofTruthType::partId

Definition at line 124 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().

◆ posX

float TofTruthType::posX

Definition at line 126 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().

◆ posY

float TofTruthType::posY

Definition at line 127 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().

◆ posZ

float TofTruthType::posZ

Definition at line 128 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().

◆ px

float TofTruthType::px

Definition at line 129 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().

◆ py

float TofTruthType::py

Definition at line 130 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().

◆ pz

float TofTruthType::pz

Definition at line 131 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().

◆ scinNb

int TofTruthType::scinNb

Definition at line 125 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().

◆ time

float TofTruthType::time

Definition at line 133 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().

◆ trackIndex

int TofTruthType::trackIndex

Definition at line 123 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().

◆ trackL

float TofTruthType::trackL

Definition at line 132 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveTofTruth().


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