BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcSegUsage Class Reference

#include <MdcSegUsage.h>

Public Member Functions

 MdcSegUsage ()
 
virtual ~MdcSegUsage ()
 
bool usedSeg () const
 
bool usedAmbig (int i) const
 
void setUsedAmbig (int i)
 
void killHit ()
 
bool deadHit () const
 
 MdcSegUsage ()
 
virtual ~MdcSegUsage ()
 
bool usedSeg () const
 
bool usedAmbig (int i) const
 
void setUsedAmbig (int i)
 
void killHit ()
 
bool deadHit () const
 

Detailed Description

Constructor & Destructor Documentation

◆ MdcSegUsage() [1/2]

MdcSegUsage::MdcSegUsage ( )

Definition at line 10 of file MdcSegUsage.cxx.

10 {
11//-----------------------------------------------------------------------
12 segUse = 0;
13}

◆ ~MdcSegUsage() [1/2]

MdcSegUsage::~MdcSegUsage ( )
virtual

Definition at line 16 of file MdcSegUsage.cxx.

16{}

◆ MdcSegUsage() [2/2]

MdcSegUsage::MdcSegUsage ( )

◆ ~MdcSegUsage() [2/2]

virtual MdcSegUsage::~MdcSegUsage ( )
virtual

Member Function Documentation

◆ deadHit() [1/2]

bool MdcSegUsage::deadHit ( ) const
inline

Definition at line 28 of file InstallArea/include/MdcTrkRecon/MdcTrkRecon/MdcSegUsage.h.

28{return ((segUse & deadFlag()) != 0);}

◆ deadHit() [2/2]

bool MdcSegUsage::deadHit ( ) const
inline

Definition at line 28 of file Reconstruction/MdcPatRec/MdcTrkRecon/MdcTrkRecon-00-03-48/MdcTrkRecon/MdcSegUsage.h.

28{return ((segUse & deadFlag()) != 0);}

◆ killHit() [1/2]

void MdcSegUsage::killHit ( void  )

Definition at line 21 of file MdcSegUsage.cxx.

21 {
22//-----------------------------------------------------------------------
23 segUse |= deadFlag();
24}

Referenced by MdcSegData::loadevent().

◆ killHit() [2/2]

void MdcSegUsage::killHit ( )

◆ setUsedAmbig() [1/2]

void MdcSegUsage::setUsedAmbig ( int  i)
inline

Definition at line 49 of file InstallArea/include/MdcTrkRecon/MdcTrkRecon/MdcSegUsage.h.

49 {
50 if (i <= 0) { segUse |= usedNegAmb(); }
51 else { segUse |= usedPosAmb(); }
52}

◆ setUsedAmbig() [2/2]

void MdcSegUsage::setUsedAmbig ( int  i)
inline

◆ usedAmbig() [1/2]

bool MdcSegUsage::usedAmbig ( int  i) const
inline

Definition at line 55 of file InstallArea/include/MdcTrkRecon/MdcTrkRecon/MdcSegUsage.h.

55 {
56 if (ambig <= 0) {
57 return (usedNegAmb() & segUse) != 0;
58 }
59 else {
60 return (usedPosAmb() & segUse) != 0;
61 }
62}

◆ usedAmbig() [2/2]

bool MdcSegUsage::usedAmbig ( int  i) const
inline

◆ usedSeg() [1/2]

bool MdcSegUsage::usedSeg ( void  ) const
inline

Definition at line 45 of file InstallArea/include/MdcTrkRecon/MdcTrkRecon/MdcSegUsage.h.

45 {
46 return ( (segUse & (usedNegAmb() | usedPosAmb())) != 0);
47}

◆ usedSeg() [2/2]

bool MdcSegUsage::usedSeg ( ) const
inline

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