BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcTruthType Class Reference

#include <AsciiData.hh>

Public Member Functions

 MdcTruthType ()
 
 MdcTruthType ()
 

Public Attributes

int trackIndex
 
int layerNo
 
int cellNo
 
float edep
 
float driftD
 
float posX
 
float posY
 
float posZ
 
int posFlag
 

Friends

std::istream & operator>> (std::istream &, MdcTruthType &x)
 
std::ostream & operator<< (std::ostream &, const MdcTruthType &x)
 
std::istream & operator>> (std::istream &, MdcTruthType &x)
 
std::ostream & operator<< (std::ostream &, const MdcTruthType &x)
 

Detailed Description

Definition at line 92 of file AsciiData.hh.

Constructor & Destructor Documentation

◆ MdcTruthType() [1/2]

MdcTruthType::MdcTruthType ( )
inline

Definition at line 94 of file AsciiData.hh.

94{};

◆ MdcTruthType() [2/2]

MdcTruthType::MdcTruthType ( )
inline

Definition at line 94 of file AsciiData.h.

94{};

Friends And Related Function Documentation

◆ operator<< [1/2]

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

Definition at line 196 of file AsciiData.cc.

197{
198 os << " " << x.trackIndex;
199 os << " " << x.layerNo;
200 os << " " << x.cellNo;
201 os << " " << x.edep;
202 os << " " << x.driftD;
203 os << " " << x.posX;
204 os << " " << x.posY;
205 os << " " << x.posZ;
206 os << " " << x.posFlag;
207 os << std::endl;
208 return os;
209}
Double_t x[10]

◆ operator<< [2/2]

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

Definition at line 196 of file AsciiData.cc.

197{
198 os << " " << x.trackIndex;
199 os << " " << x.layerNo;
200 os << " " << x.cellNo;
201 os << " " << x.edep;
202 os << " " << x.driftD;
203 os << " " << x.posX;
204 os << " " << x.posY;
205 os << " " << x.posZ;
206 os << " " << x.posFlag;
207 os << std::endl;
208 return os;
209}

◆ operator>> [1/2]

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

Definition at line 182 of file AsciiData.cc.

183{
184 is >> x.trackIndex;
185 is >> x.layerNo;
186 is >> x.cellNo;
187 is >> x.edep;
188 is >> x.driftD;
189 is >> x.posX;
190 is >> x.posY;
191 is >> x.posZ;
192 is >> x.posFlag;
193 return is;
194}

◆ operator>> [2/2]

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

Definition at line 182 of file AsciiData.cc.

183{
184 is >> x.trackIndex;
185 is >> x.layerNo;
186 is >> x.cellNo;
187 is >> x.edep;
188 is >> x.driftD;
189 is >> x.posX;
190 is >> x.posY;
191 is >> x.posZ;
192 is >> x.posFlag;
193 return is;
194}

Member Data Documentation

◆ cellNo

int MdcTruthType::cellNo

Definition at line 98 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveMdcTruth().

◆ driftD

float MdcTruthType::driftD

Definition at line 100 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveMdcTruth().

◆ edep

float MdcTruthType::edep

Definition at line 99 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveMdcTruth().

◆ layerNo

int MdcTruthType::layerNo

Definition at line 97 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveMdcTruth().

◆ posFlag

int MdcTruthType::posFlag

Definition at line 104 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveMdcTruth().

◆ posX

float MdcTruthType::posX

Definition at line 101 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveMdcTruth().

◆ posY

float MdcTruthType::posY

Definition at line 102 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveMdcTruth().

◆ posZ

float MdcTruthType::posZ

Definition at line 103 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveMdcTruth().

◆ trackIndex

int MdcTruthType::trackIndex

Definition at line 96 of file AsciiData.hh.

Referenced by BesAsciiIO::SaveMdcTruth().


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