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

#include <AsciiData.hh>

Public Member Functions

 MdcHitType ()
 MdcHitType ()
 MdcHitType ()

Public Attributes

int trackIndex
int layerNo
int cellNo
float posX
float posY
float posZ
float energyDeposit
float driftDistance
float globalT
float theta
float enterAngle
float posFlag

Friends

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

Detailed Description

Constructor & Destructor Documentation

◆ MdcHitType() [1/3]

MdcHitType::MdcHitType ( )
inline

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

247{};

Referenced by operator<<, and operator>>.

◆ MdcHitType() [2/3]

MdcHitType::MdcHitType ( )
inline

◆ MdcHitType() [3/3]

MdcHitType::MdcHitType ( )
inline

◆ operator<< [1/3]

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

Definition at line 448 of file AsciiData.cc.

448 {
449 os << " " << x.trackIndex;
450 os << " " << x.layerNo;
451 os << " " << x.cellNo;
452 os << " " << x.posX;
453 os << " " << x.posY;
454 os << " " << x.posZ;
455 os << " " << x.energyDeposit;
456 os << " " << x.driftDistance;
457 os << " " << x.globalT;
458 os << " " << x.theta;
459 os << " " << x.enterAngle;
460 os << " " << x.posFlag;
461 os << std::endl;
462 return os;
463}
Double_t x[10]

◆ operator<< [2/3]

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

Definition at line 448 of file AsciiData.cc.

448 {
449 os << " " << x.trackIndex;
450 os << " " << x.layerNo;
451 os << " " << x.cellNo;
452 os << " " << x.posX;
453 os << " " << x.posY;
454 os << " " << x.posZ;
455 os << " " << x.energyDeposit;
456 os << " " << x.driftDistance;
457 os << " " << x.globalT;
458 os << " " << x.theta;
459 os << " " << x.enterAngle;
460 os << " " << x.posFlag;
461 os << std::endl;
462 return os;
463}

◆ operator<< [3/3]

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

Definition at line 448 of file AsciiData.cc.

448 {
449 os << " " << x.trackIndex;
450 os << " " << x.layerNo;
451 os << " " << x.cellNo;
452 os << " " << x.posX;
453 os << " " << x.posY;
454 os << " " << x.posZ;
455 os << " " << x.energyDeposit;
456 os << " " << x.driftDistance;
457 os << " " << x.globalT;
458 os << " " << x.theta;
459 os << " " << x.enterAngle;
460 os << " " << x.posFlag;
461 os << std::endl;
462 return os;
463}

◆ operator>> [1/3]

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

Definition at line 432 of file AsciiData.cc.

432 {
433 is >> x.trackIndex;
434 is >> x.layerNo;
435 is >> x.cellNo;
436 is >> x.posX;
437 is >> x.posY;
438 is >> x.posZ;
439 is >> x.energyDeposit;
440 is >> x.driftDistance;
441 is >> x.globalT;
442 is >> x.theta;
443 is >> x.enterAngle;
444 is >> x.posFlag;
445 return is;
446}

◆ operator>> [2/3]

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

Definition at line 432 of file AsciiData.cc.

432 {
433 is >> x.trackIndex;
434 is >> x.layerNo;
435 is >> x.cellNo;
436 is >> x.posX;
437 is >> x.posY;
438 is >> x.posZ;
439 is >> x.energyDeposit;
440 is >> x.driftDistance;
441 is >> x.globalT;
442 is >> x.theta;
443 is >> x.enterAngle;
444 is >> x.posFlag;
445 return is;
446}

◆ operator>> [3/3]

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

Definition at line 432 of file AsciiData.cc.

432 {
433 is >> x.trackIndex;
434 is >> x.layerNo;
435 is >> x.cellNo;
436 is >> x.posX;
437 is >> x.posY;
438 is >> x.posZ;
439 is >> x.energyDeposit;
440 is >> x.driftDistance;
441 is >> x.globalT;
442 is >> x.theta;
443 is >> x.enterAngle;
444 is >> x.posFlag;
445 return is;
446}

Member Data Documentation

◆ cellNo

int MdcHitType::cellNo

◆ driftDistance

float MdcHitType::driftDistance

◆ energyDeposit

float MdcHitType::energyDeposit

◆ enterAngle

float MdcHitType::enterAngle

◆ globalT

float MdcHitType::globalT

◆ layerNo

int MdcHitType::layerNo

◆ posFlag

float MdcHitType::posFlag

◆ posX

float MdcHitType::posX

◆ posY

float MdcHitType::posY

◆ posZ

float MdcHitType::posZ

◆ theta

float MdcHitType::theta

◆ trackIndex

int MdcHitType::trackIndex

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