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

#include <AsciiData.hh>

Public Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

◆ MdcTruthType() [1/4]

MdcTruthType::MdcTruthType ( )
inline

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

100{};

Referenced by operator<<, and operator>>.

◆ MdcTruthType() [2/4]

MdcTruthType::MdcTruthType ( )
inline

◆ MdcTruthType() [3/4]

MdcTruthType::MdcTruthType ( )
inline

◆ MdcTruthType() [4/4]

MdcTruthType::MdcTruthType ( )
inline

Definition at line 100 of file AsciiData.h.

100{};

◆ operator<< [1/4]

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

Definition at line 181 of file AsciiData.cc.

181 {
182 os << " " << x.trackIndex;
183 os << " " << x.layerNo;
184 os << " " << x.cellNo;
185 os << " " << x.edep;
186 os << " " << x.driftD;
187 os << " " << x.posX;
188 os << " " << x.posY;
189 os << " " << x.posZ;
190 os << " " << x.posFlag;
191 os << std::endl;
192 return os;
193}
Double_t x[10]

◆ operator<< [2/4]

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

Definition at line 181 of file AsciiData.cc.

181 {
182 os << " " << x.trackIndex;
183 os << " " << x.layerNo;
184 os << " " << x.cellNo;
185 os << " " << x.edep;
186 os << " " << x.driftD;
187 os << " " << x.posX;
188 os << " " << x.posY;
189 os << " " << x.posZ;
190 os << " " << x.posFlag;
191 os << std::endl;
192 return os;
193}

◆ operator<< [3/4]

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

Definition at line 181 of file AsciiData.cc.

181 {
182 os << " " << x.trackIndex;
183 os << " " << x.layerNo;
184 os << " " << x.cellNo;
185 os << " " << x.edep;
186 os << " " << x.driftD;
187 os << " " << x.posX;
188 os << " " << x.posY;
189 os << " " << x.posZ;
190 os << " " << x.posFlag;
191 os << std::endl;
192 return os;
193}

◆ operator<< [4/4]

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

Definition at line 181 of file AsciiData.cc.

181 {
182 os << " " << x.trackIndex;
183 os << " " << x.layerNo;
184 os << " " << x.cellNo;
185 os << " " << x.edep;
186 os << " " << x.driftD;
187 os << " " << x.posX;
188 os << " " << x.posY;
189 os << " " << x.posZ;
190 os << " " << x.posFlag;
191 os << std::endl;
192 return os;
193}

◆ operator>> [1/4]

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

Definition at line 168 of file AsciiData.cc.

168 {
169 is >> x.trackIndex;
170 is >> x.layerNo;
171 is >> x.cellNo;
172 is >> x.edep;
173 is >> x.driftD;
174 is >> x.posX;
175 is >> x.posY;
176 is >> x.posZ;
177 is >> x.posFlag;
178 return is;
179}

◆ operator>> [2/4]

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

Definition at line 168 of file AsciiData.cc.

168 {
169 is >> x.trackIndex;
170 is >> x.layerNo;
171 is >> x.cellNo;
172 is >> x.edep;
173 is >> x.driftD;
174 is >> x.posX;
175 is >> x.posY;
176 is >> x.posZ;
177 is >> x.posFlag;
178 return is;
179}

◆ operator>> [3/4]

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

Definition at line 168 of file AsciiData.cc.

168 {
169 is >> x.trackIndex;
170 is >> x.layerNo;
171 is >> x.cellNo;
172 is >> x.edep;
173 is >> x.driftD;
174 is >> x.posX;
175 is >> x.posY;
176 is >> x.posZ;
177 is >> x.posFlag;
178 return is;
179}

◆ operator>> [4/4]

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

Definition at line 168 of file AsciiData.cc.

168 {
169 is >> x.trackIndex;
170 is >> x.layerNo;
171 is >> x.cellNo;
172 is >> x.edep;
173 is >> x.driftD;
174 is >> x.posX;
175 is >> x.posY;
176 is >> x.posZ;
177 is >> x.posFlag;
178 return is;
179}

Member Data Documentation

◆ cellNo

int MdcTruthType::cellNo

◆ driftD

float MdcTruthType::driftD

◆ edep

float MdcTruthType::edep

◆ layerNo

int MdcTruthType::layerNo

◆ posFlag

int MdcTruthType::posFlag

◆ posX

float MdcTruthType::posX

◆ posY

float MdcTruthType::posY

◆ posZ

float MdcTruthType::posZ

◆ trackIndex

int MdcTruthType::trackIndex

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