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

#include <AsciiData.hh>

Public Member Functions

 EmcTruthType ()
 EmcTruthType ()
 EmcTruthType ()
 EmcTruthType ()

Public Attributes

int trackIndex
int partId
int numTheta
int numPhi
float posX
float posY
float posZ
float px
float py
float pz
float totalEdep

Friends

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

Detailed Description

Constructor & Destructor Documentation

◆ EmcTruthType() [1/4]

EmcTruthType::EmcTruthType ( )
inline

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

160{};

Referenced by operator<<, and operator>>.

◆ EmcTruthType() [2/4]

EmcTruthType::EmcTruthType ( )
inline

◆ EmcTruthType() [3/4]

EmcTruthType::EmcTruthType ( )
inline

◆ EmcTruthType() [4/4]

EmcTruthType::EmcTruthType ( )
inline

Definition at line 160 of file AsciiData.h.

160{};

◆ operator<< [1/4]

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

Definition at line 291 of file AsciiData.cc.

291 {
292 os << " " << x.trackIndex;
293 os << " " << x.partId;
294 os << " " << x.numTheta;
295 os << " " << x.numPhi;
296 os << " " << x.posX;
297 os << " " << x.posY;
298 os << " " << x.posZ;
299 os << " " << x.px;
300 os << " " << x.py;
301 os << " " << x.pz;
302 os << " " << x.totalEdep;
303 os << std::endl;
304 return os;
305}
Double_t x[10]

◆ operator<< [2/4]

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

Definition at line 291 of file AsciiData.cc.

291 {
292 os << " " << x.trackIndex;
293 os << " " << x.partId;
294 os << " " << x.numTheta;
295 os << " " << x.numPhi;
296 os << " " << x.posX;
297 os << " " << x.posY;
298 os << " " << x.posZ;
299 os << " " << x.px;
300 os << " " << x.py;
301 os << " " << x.pz;
302 os << " " << x.totalEdep;
303 os << std::endl;
304 return os;
305}

◆ operator<< [3/4]

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

Definition at line 291 of file AsciiData.cc.

291 {
292 os << " " << x.trackIndex;
293 os << " " << x.partId;
294 os << " " << x.numTheta;
295 os << " " << x.numPhi;
296 os << " " << x.posX;
297 os << " " << x.posY;
298 os << " " << x.posZ;
299 os << " " << x.px;
300 os << " " << x.py;
301 os << " " << x.pz;
302 os << " " << x.totalEdep;
303 os << std::endl;
304 return os;
305}

◆ operator<< [4/4]

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

Definition at line 291 of file AsciiData.cc.

291 {
292 os << " " << x.trackIndex;
293 os << " " << x.partId;
294 os << " " << x.numTheta;
295 os << " " << x.numPhi;
296 os << " " << x.posX;
297 os << " " << x.posY;
298 os << " " << x.posZ;
299 os << " " << x.px;
300 os << " " << x.py;
301 os << " " << x.pz;
302 os << " " << x.totalEdep;
303 os << std::endl;
304 return os;
305}

◆ operator>> [1/4]

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

Definition at line 276 of file AsciiData.cc.

276 {
277 is >> x.trackIndex;
278 is >> x.partId;
279 is >> x.numTheta;
280 is >> x.numPhi;
281 is >> x.posX;
282 is >> x.posY;
283 is >> x.posZ;
284 is >> x.px;
285 is >> x.py;
286 is >> x.pz;
287 is >> x.totalEdep;
288 return is;
289}

◆ operator>> [2/4]

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

Definition at line 276 of file AsciiData.cc.

276 {
277 is >> x.trackIndex;
278 is >> x.partId;
279 is >> x.numTheta;
280 is >> x.numPhi;
281 is >> x.posX;
282 is >> x.posY;
283 is >> x.posZ;
284 is >> x.px;
285 is >> x.py;
286 is >> x.pz;
287 is >> x.totalEdep;
288 return is;
289}

◆ operator>> [3/4]

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

Definition at line 276 of file AsciiData.cc.

276 {
277 is >> x.trackIndex;
278 is >> x.partId;
279 is >> x.numTheta;
280 is >> x.numPhi;
281 is >> x.posX;
282 is >> x.posY;
283 is >> x.posZ;
284 is >> x.px;
285 is >> x.py;
286 is >> x.pz;
287 is >> x.totalEdep;
288 return is;
289}

◆ operator>> [4/4]

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

Definition at line 276 of file AsciiData.cc.

276 {
277 is >> x.trackIndex;
278 is >> x.partId;
279 is >> x.numTheta;
280 is >> x.numPhi;
281 is >> x.posX;
282 is >> x.posY;
283 is >> x.posZ;
284 is >> x.px;
285 is >> x.py;
286 is >> x.pz;
287 is >> x.totalEdep;
288 return is;
289}

Member Data Documentation

◆ numPhi

int EmcTruthType::numPhi

◆ numTheta

int EmcTruthType::numTheta

◆ partId

int EmcTruthType::partId

◆ posX

float EmcTruthType::posX

◆ posY

float EmcTruthType::posY

◆ posZ

float EmcTruthType::posZ

◆ px

float EmcTruthType::px

◆ py

float EmcTruthType::py

◆ pz

float EmcTruthType::pz

◆ totalEdep

float EmcTruthType::totalEdep

◆ trackIndex

int EmcTruthType::trackIndex

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