BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkHotListUnowned Class Reference

#include <TrkHotListUnowned.h>

+ Inheritance diagram for TrkHotListUnowned:

Public Member Functions

 TrkHotListUnowned (TrkHotList *other, bool takehotlist=false)
 
 TrkHotListUnowned (const TrkHotListUnowned &rhs)
 
TrkHotListUnownedoperator= (const TrkHotListUnowned &)
 
TrkHotListclone (TrkBase::Functors::cloneHot) const
 
virtual ~TrkHotListUnowned ()
 
virtual bool hitCapable () const
 
virtual int nActive (TrkEnums::TrkViewInfo view=TrkEnums::bothView) const
 
virtual int nMdc (TrkEnums::TrkViewInfo view=TrkEnums::bothView) const
 
virtual int nSvt (TrkEnums::TrkViewInfo view=TrkEnums::bothView) const
 
virtual int nHit (TrkEnums::TrkViewInfo view=TrkEnums::bothView) const
 
virtual TrkView svtView (int layer) const
 
virtual unsigned firstMdcLayer () const
 
virtual unsigned lastMdcLayer () const
 
virtual double startFoundRange () const
 
virtual double endFoundRange () const
 
virtual bool isActive (unsigned ihot) const
 
void append (TrkHitOnTrk *)
 
void remove (TrkHitOnTrk *)
 
TrkHitOnTrkfindHot (const TrkFundHit *) const
 
virtual void updateHots ()
 
const TrkHotListmyHotList () const
 
TrkHotListtakeHotList ()
 
- Public Member Functions inherited from TrkHotList
 TrkHotList ()
 
virtual TrkHotListresetParent (TrkBase::Functors::setParent)
 
virtual ~TrkHotList ()
 
hot_iterator begin () const
 
hot_iterator end () const
 
nc_hot_iterator begin ()
 
nc_hot_iterator end ()
 
virtual bool hasSvtView (TrkEnums::TrkViewInfo view, int layer) const
 
virtual void sort ()
 
void print (std::ostream &o) const
 
void printAll (std::ostream &o) const
 

Protected Member Functions

virtual const std::vector< TrkHitOnTrk * > & hotlist () const
 
virtual std::vector< TrkHitOnTrk * > & hotlist ()
 

Additional Inherited Members

- Public Types inherited from TrkHotList
typedef TrkHitOnTrkIter< TrkHotList::const_iterator_traits > hot_iterator
 
typedef TrkHitOnTrkIter< TrkHotList::iterator_traits > nc_hot_iterator
 
- Protected Types inherited from TrkHotList
typedef std::vector< TrkHitOnTrk * > hotlist_t
 

Detailed Description

Definition at line 30 of file TrkHotListUnowned.h.

Constructor & Destructor Documentation

◆ TrkHotListUnowned() [1/2]

TrkHotListUnowned::TrkHotListUnowned ( TrkHotList * other,
bool takehotlist = false )

Definition at line 26 of file TrkHotListUnowned.cxx.

26 :
27 _hotl(other),_ownhots(take)
28{
29}

◆ TrkHotListUnowned() [2/2]

TrkHotListUnowned::TrkHotListUnowned ( const TrkHotListUnowned & rhs)

◆ ~TrkHotListUnowned()

TrkHotListUnowned::~TrkHotListUnowned ( )
virtual

Definition at line 37 of file TrkHotListUnowned.cxx.

38{
39 if(_ownhots)delete _hotl;
40}

Member Function Documentation

◆ append()

void TrkHotListUnowned::append ( TrkHitOnTrk * newHot)
virtual

Implements TrkHotList.

Definition at line 43 of file TrkHotListUnowned.cxx.

44{
45 _hotl->append(newHot);
46}
virtual void append(TrkHitOnTrk *)=0

◆ clone()

TrkHotList * TrkHotListUnowned::clone ( TrkBase::Functors::cloneHot ) const
virtual

Implements TrkHotList.

Definition at line 32 of file TrkHotListUnowned.cxx.

33{
34 return new TrkHotListUnowned(_hotl);
35}
friend class TrkHotListUnowned
Definition TrkHotList.h:92

◆ endFoundRange()

double TrkHotListUnowned::endFoundRange ( ) const
virtual

Implements TrkHotList.

Definition at line 98 of file TrkHotListUnowned.cxx.

99{
100 return _hotl->endFoundRange();
101}
virtual double endFoundRange() const =0

◆ findHot()

TrkHitOnTrk * TrkHotListUnowned::findHot ( const TrkFundHit * theHit) const
virtual

Implements TrkHotList.

Definition at line 55 of file TrkHotListUnowned.cxx.

56{
57 return _hotl->findHot(theHit);
58}
virtual TrkHitOnTrk * findHot(const TrkFundHit *) const =0

◆ firstMdcLayer()

unsigned TrkHotListUnowned::firstMdcLayer ( ) const
virtual

Implements TrkHotList.

Definition at line 115 of file TrkHotListUnowned.cxx.

115 {
116 return _hotl->firstMdcLayer();
117}
virtual unsigned firstMdcLayer() const =0

◆ hitCapable()

bool TrkHotListUnowned::hitCapable ( ) const
virtual

Implements TrkHotList.

Definition at line 74 of file TrkHotListUnowned.cxx.

75{
76 return _hotl->hitCapable();
77}
virtual bool hitCapable() const =0

◆ hotlist() [1/2]

std::vector< TrkHitOnTrk * > & TrkHotListUnowned::hotlist ( )
protectedvirtual

Implements TrkHotList.

Definition at line 132 of file TrkHotListUnowned.cxx.

133{
134 return _hotl->hotlist();
135}

◆ hotlist() [2/2]

const std::vector< TrkHitOnTrk * > & TrkHotListUnowned::hotlist ( ) const
protectedvirtual

Implements TrkHotList.

Definition at line 126 of file TrkHotListUnowned.cxx.

127{
128 return _hotl->hotlist();
129}

◆ isActive()

bool TrkHotListUnowned::isActive ( unsigned ihot) const
virtual

Implements TrkHotList.

Definition at line 147 of file TrkHotListUnowned.cxx.

147 {
148 return _hotl->isActive(ihot);
149}
virtual bool isActive(unsigned ihot) const =0

◆ lastMdcLayer()

unsigned TrkHotListUnowned::lastMdcLayer ( ) const
virtual

Implements TrkHotList.

Definition at line 120 of file TrkHotListUnowned.cxx.

121{
122 return _hotl->lastMdcLayer();
123}
virtual unsigned lastMdcLayer() const =0

◆ myHotList()

const TrkHotList * TrkHotListUnowned::myHotList ( ) const
inline

Definition at line 58 of file TrkHotListUnowned.h.

58{ return _hotl; }

◆ nActive()

int TrkHotListUnowned::nActive ( TrkEnums::TrkViewInfo view = TrkEnums::bothView) const
virtual

Implements TrkHotList.

Definition at line 61 of file TrkHotListUnowned.cxx.

62{
63 return _hotl->nActive(view);
64}
virtual int nActive(TrkEnums::TrkViewInfo view=TrkEnums::bothView) const =0

◆ nHit()

int TrkHotListUnowned::nHit ( TrkEnums::TrkViewInfo view = TrkEnums::bothView) const
virtual

Implements TrkHotList.

Definition at line 67 of file TrkHotListUnowned.cxx.

68{
69 return _hotl->nHit(view);
70}
virtual int nHit(TrkEnums::TrkViewInfo view=TrkEnums::bothView) const =0

◆ nMdc()

int TrkHotListUnowned::nMdc ( TrkEnums::TrkViewInfo view = TrkEnums::bothView) const
virtual

Implements TrkHotList.

Definition at line 80 of file TrkHotListUnowned.cxx.

81{
82 return _hotl->nMdc(view);
83}
virtual int nMdc(TrkEnums::TrkViewInfo view=TrkEnums::bothView) const =0

◆ nSvt()

int TrkHotListUnowned::nSvt ( TrkEnums::TrkViewInfo view = TrkEnums::bothView) const
virtual

Implements TrkHotList.

Definition at line 86 of file TrkHotListUnowned.cxx.

87{
88 return _hotl->nSvt(view);
89}
virtual int nSvt(TrkEnums::TrkViewInfo view=TrkEnums::bothView) const =0

◆ operator=()

TrkHotListUnowned & TrkHotListUnowned::operator= ( const TrkHotListUnowned & )

◆ remove()

void TrkHotListUnowned::remove ( TrkHitOnTrk * deadHot)
virtual

Implements TrkHotList.

Definition at line 49 of file TrkHotListUnowned.cxx.

50{
51 _hotl->remove(deadHot);
52}
virtual void remove(TrkHitOnTrk *)=0

◆ startFoundRange()

double TrkHotListUnowned::startFoundRange ( ) const
virtual

Implements TrkHotList.

Definition at line 92 of file TrkHotListUnowned.cxx.

93{
94 return _hotl->startFoundRange();
95}
virtual double startFoundRange() const =0

◆ svtView()

TrkView TrkHotListUnowned::svtView ( int layer) const
virtual

Implements TrkHotList.

Definition at line 110 of file TrkHotListUnowned.cxx.

110 {
111 return _hotl->svtView(layer);
112}
virtual TrkView svtView(int layer) const =0

◆ takeHotList()

TrkHotList * TrkHotListUnowned::takeHotList ( )

Definition at line 138 of file TrkHotListUnowned.cxx.

138 {
139 if(_ownhots){
140 _ownhots = false;
141 return _hotl;
142 } else
143 return 0;
144}

◆ updateHots()

void TrkHotListUnowned::updateHots ( )
virtual

Implements TrkHotList.

Definition at line 104 of file TrkHotListUnowned.cxx.

105{
106 _hotl->updateHots();
107}
virtual void updateHots()=0

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