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

#include <AsciiData.hh>

Public Member Functions

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

Detailed Description

Definition at line 198 of file AsciiData.hh.

Constructor & Destructor Documentation

◆ EmcTruthType() [1/2]

EmcTruthType::EmcTruthType ( )
inline

Definition at line 200 of file AsciiData.hh.

200{};

◆ EmcTruthType() [2/2]

EmcTruthType::EmcTruthType ( )
inline

Definition at line 150 of file AsciiData.h.

150{};

Friends And Related Function Documentation

◆ operator<< [1/2]

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

Definition at line 411 of file AsciiData.cc.

412{
413 os << " " << x.trackIndex;
414 os << " " << x.partId;
415 os << " " << x.numTheta;
416 os << " " << x.numPhi;
417 os << " " << x.posX;
418 os << " " << x.posY;
419 os << " " << x.posZ;
420 os << " " << x.px;
421 os << " " << x.py;
422 os << " " << x.pz;
423 os << " " << x.totalEdep;
424 os << std::endl;
425 return os;
426
427}
Double_t x[10]

◆ operator<< [2/2]

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

Definition at line 411 of file AsciiData.cc.

412{
413 os << " " << x.trackIndex;
414 os << " " << x.partId;
415 os << " " << x.numTheta;
416 os << " " << x.numPhi;
417 os << " " << x.posX;
418 os << " " << x.posY;
419 os << " " << x.posZ;
420 os << " " << x.px;
421 os << " " << x.py;
422 os << " " << x.pz;
423 os << " " << x.totalEdep;
424 os << std::endl;
425 return os;
426
427}

◆ operator>> [1/2]

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

Definition at line 395 of file AsciiData.cc.

396{
397 is >> x.trackIndex;
398 is >> x.partId;
399 is >> x.numTheta;
400 is >> x.numPhi;
401 is >> x.posX;
402 is >> x.posY;
403 is >> x.posZ;
404 is >> x.px;
405 is >> x.py;
406 is >> x.pz;
407 is >> x.totalEdep;
408 return is;
409}

◆ operator>> [2/2]

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

Definition at line 395 of file AsciiData.cc.

396{
397 is >> x.trackIndex;
398 is >> x.partId;
399 is >> x.numTheta;
400 is >> x.numPhi;
401 is >> x.posX;
402 is >> x.posY;
403 is >> x.posZ;
404 is >> x.px;
405 is >> x.py;
406 is >> x.pz;
407 is >> x.totalEdep;
408 return is;
409}

Member Data Documentation

◆ numPhi

int EmcTruthType::numPhi

Definition at line 205 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().

◆ numTheta

int EmcTruthType::numTheta

Definition at line 204 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().

◆ partId

int EmcTruthType::partId

Definition at line 203 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().

◆ posX

float EmcTruthType::posX

Definition at line 206 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().

◆ posY

float EmcTruthType::posY

Definition at line 207 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().

◆ posZ

float EmcTruthType::posZ

Definition at line 208 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().

◆ px

float EmcTruthType::px

Definition at line 209 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().

◆ py

float EmcTruthType::py

Definition at line 210 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().

◆ pz

float EmcTruthType::pz

Definition at line 211 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().

◆ totalEdep

float EmcTruthType::totalEdep

Definition at line 212 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().

◆ trackIndex

int EmcTruthType::trackIndex

Definition at line 202 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().


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