BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkExpectedHot Class Referenceabstract

#include <TrkExpectedHot.h>

Public Member Functions

 TrkExpectedHot (const TrkExpectedHot &)
 
virtual ~TrkExpectedHot ()
 
const TrkDetElemIdid () const
 
bool operator== (const TrkExpectedHot &rhs) const
 
bool operator< (const TrkExpectedHot &rhs) const
 
virtual bool setHot (const TrkHitOnTrk *aHot)=0
 
virtual bool setHots (const TrkExpectedHot *aHot)=0
 
virtual bool hasHot () const =0
 
virtual bool hasGHit () const =0
 
bool isSvt () const
 
bool isMdc () const
 
virtual bool getHots (std::vector< TrkHitOnTrk * > &hots) const =0
 
virtual void printAll (std::ostream &os) const =0
 
const TrkExpectedTrkexTrk () const
 

Protected Member Functions

 TrkExpectedHot (const TrkDetElemId &id)
 
 TrkExpectedHot (const int &id, TrkDetElemId::systemIndex sysInd)
 
void setExTrk (const TrkExpectedTrk *anExTrk)
 

Friends

class TrkExpectedHotSet
 

Detailed Description

Definition at line 37 of file TrkExpectedHot.h.

Constructor & Destructor Documentation

◆ TrkExpectedHot() [1/3]

TrkExpectedHot::TrkExpectedHot ( const TrkExpectedHot rhs)

Definition at line 74 of file TrkExpectedHot.cxx.

75 :_id(rhs.id()),
76 _exTrk(0){
77}
const TrkDetElemId & id() const

◆ ~TrkExpectedHot()

TrkExpectedHot::~TrkExpectedHot ( )
virtual

Definition at line 83 of file TrkExpectedHot.cxx.

83{}

◆ TrkExpectedHot() [2/3]

TrkExpectedHot::TrkExpectedHot ( const TrkDetElemId id)
protected

Definition at line 61 of file TrkExpectedHot.cxx.

62 :_id(id),
63 _exTrk(0){
64}

◆ TrkExpectedHot() [3/3]

TrkExpectedHot::TrkExpectedHot ( const int &  id,
TrkDetElemId::systemIndex  sysInd 
)
protected

Definition at line 66 of file TrkExpectedHot.cxx.

68 :_id(id,sysInd),
69 _exTrk(0){
70}

Member Function Documentation

◆ exTrk()

const TrkExpectedTrk * TrkExpectedHot::exTrk ( ) const
inline

Definition at line 69 of file TrkExpectedHot.h.

69{ return _exTrk; };

◆ getHots()

virtual bool TrkExpectedHot::getHots ( std::vector< TrkHitOnTrk * > &  hots) const
pure virtual

◆ hasGHit()

virtual bool TrkExpectedHot::hasGHit ( ) const
pure virtual

◆ hasHot()

virtual bool TrkExpectedHot::hasHot ( ) const
pure virtual

◆ id()

const TrkDetElemId & TrkExpectedHot::id ( ) const
inline

Definition at line 49 of file TrkExpectedHot.h.

49{ return _id; }

Referenced by operator<(), and operator==().

◆ isMdc()

bool TrkExpectedHot::isMdc ( ) const

Definition at line 105 of file TrkExpectedHot.cxx.

105 {
106 return _id.sysInd() == TrkDetElemId::mdc;
107}
const TrkDetElemId::systemIndex & sysInd() const
Definition: TrkDetElemId.h:96

◆ isSvt()

bool TrkExpectedHot::isSvt ( ) const

Definition at line 100 of file TrkExpectedHot.cxx.

100 {
101 return _id.sysInd() == TrkDetElemId::svt;
102}

◆ operator<()

bool TrkExpectedHot::operator< ( const TrkExpectedHot rhs) const

Definition at line 94 of file TrkExpectedHot.cxx.

95 {
96 return _id < rhs.id();
97}

◆ operator==()

bool TrkExpectedHot::operator== ( const TrkExpectedHot rhs) const

Definition at line 90 of file TrkExpectedHot.cxx.

90 {
91 return _id == rhs.id();
92}

◆ printAll()

virtual void TrkExpectedHot::printAll ( std::ostream &  os) const
pure virtual

◆ setExTrk()

void TrkExpectedHot::setExTrk ( const TrkExpectedTrk anExTrk)
inlineprotected

Definition at line 77 of file TrkExpectedHot.h.

77{ _exTrk = anExTrk; }

Referenced by TrkExpectedHotSet::addInfo(), and TrkExpectedHotSet::setExTrk().

◆ setHot()

virtual bool TrkExpectedHot::setHot ( const TrkHitOnTrk aHot)
pure virtual

◆ setHots()

virtual bool TrkExpectedHot::setHots ( const TrkExpectedHot aHot)
pure virtual

Friends And Related Function Documentation

◆ TrkExpectedHotSet

friend class TrkExpectedHotSet
friend

Definition at line 85 of file TrkExpectedHot.h.


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