BOSS 7.1.2
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 &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

Definition at line 148 of file AsciiData.hh.

Constructor & Destructor Documentation

◆ EmcTruthType() [1/2]

EmcTruthType::EmcTruthType ( )
inline

Definition at line 150 of file AsciiData.hh.

150{};

◆ EmcTruthType() [2/2]

EmcTruthType::EmcTruthType ( )
inline

Definition at line 150 of file AsciiData.h.

150{};

Friends And Related Symbol Documentation

◆ operator<< [1/2]

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

Definition at line 312 of file AsciiData.cc.

313{
314 os << " " << x.trackIndex;
315 os << " " << x.partId;
316 os << " " << x.numTheta;
317 os << " " << x.numPhi;
318 os << " " << x.posX;
319 os << " " << x.posY;
320 os << " " << x.posZ;
321 os << " " << x.px;
322 os << " " << x.py;
323 os << " " << x.pz;
324 os << " " << x.totalEdep;
325 os << std::endl;
326 return os;
327
328}
Double_t x[10]

◆ operator<< [2/2]

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

Definition at line 312 of file AsciiData.cc.

313{
314 os << " " << x.trackIndex;
315 os << " " << x.partId;
316 os << " " << x.numTheta;
317 os << " " << x.numPhi;
318 os << " " << x.posX;
319 os << " " << x.posY;
320 os << " " << x.posZ;
321 os << " " << x.px;
322 os << " " << x.py;
323 os << " " << x.pz;
324 os << " " << x.totalEdep;
325 os << std::endl;
326 return os;
327
328}

◆ operator>> [1/2]

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

Definition at line 296 of file AsciiData.cc.

297{
298 is >> x.trackIndex;
299 is >> x.partId;
300 is >> x.numTheta;
301 is >> x.numPhi;
302 is >> x.posX;
303 is >> x.posY;
304 is >> x.posZ;
305 is >> x.px;
306 is >> x.py;
307 is >> x.pz;
308 is >> x.totalEdep;
309 return is;
310}

◆ operator>> [2/2]

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

Definition at line 296 of file AsciiData.cc.

297{
298 is >> x.trackIndex;
299 is >> x.partId;
300 is >> x.numTheta;
301 is >> x.numPhi;
302 is >> x.posX;
303 is >> x.posY;
304 is >> x.posZ;
305 is >> x.px;
306 is >> x.py;
307 is >> x.pz;
308 is >> x.totalEdep;
309 return is;
310}

Member Data Documentation

◆ numPhi

int EmcTruthType::numPhi

Definition at line 155 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().

◆ numTheta

int EmcTruthType::numTheta

Definition at line 154 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().

◆ partId

int EmcTruthType::partId

Definition at line 153 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().

◆ posX

float EmcTruthType::posX

Definition at line 156 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().

◆ posY

float EmcTruthType::posY

Definition at line 157 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().

◆ posZ

float EmcTruthType::posZ

Definition at line 158 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().

◆ px

float EmcTruthType::px

Definition at line 159 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().

◆ py

float EmcTruthType::py

Definition at line 160 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().

◆ pz

float EmcTruthType::pz

Definition at line 161 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().

◆ totalEdep

float EmcTruthType::totalEdep

Definition at line 162 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().

◆ trackIndex

int EmcTruthType::trackIndex

Definition at line 152 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveEmcTruth().


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