CGEM BOSS 6.6.5.f
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 ()
 
 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 TrkHotListclone (TrkBase::Functors::cloneHot) const =0
 
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 hitCapable () const =0
 
virtual int nActive (TrkEnums::TrkViewInfo view=TrkEnums::bothView) const =0
 
virtual int nMdc (TrkEnums::TrkViewInfo view=TrkEnums::bothView) const =0
 
virtual int nSvt (TrkEnums::TrkViewInfo view=TrkEnums::bothView) const =0
 
virtual int nHit (TrkEnums::TrkViewInfo view=TrkEnums::bothView) const =0
 
virtual bool hasSvtView (TrkEnums::TrkViewInfo view, int layer) const
 
virtual TrkView svtView (int layer) const =0
 
virtual unsigned firstMdcLayer () const =0
 
virtual unsigned lastMdcLayer () const =0
 
virtual double startFoundRange () const =0
 
virtual double endFoundRange () const =0
 
virtual bool isActive (unsigned ihot) const =0
 
virtual void append (TrkHitOnTrk *)=0
 
virtual void remove (TrkHitOnTrk *)=0
 
virtual void updateHots ()=0
 
virtual TrkHitOnTrkfindHot (const TrkFundHit *) const =0
 
virtual void sort ()
 
void print (std::ostream &o) const
 
void printAll (std::ostream &o) const
 
 TrkHotList ()
 
virtual TrkHotListclone (TrkBase::Functors::cloneHot) const =0
 
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 hitCapable () const =0
 
virtual int nActive (TrkEnums::TrkViewInfo view=TrkEnums::bothView) const =0
 
virtual int nMdc (TrkEnums::TrkViewInfo view=TrkEnums::bothView) const =0
 
virtual int nSvt (TrkEnums::TrkViewInfo view=TrkEnums::bothView) const =0
 
virtual int nHit (TrkEnums::TrkViewInfo view=TrkEnums::bothView) const =0
 
virtual bool hasSvtView (TrkEnums::TrkViewInfo view, int layer) const
 
virtual TrkView svtView (int layer) const =0
 
virtual unsigned firstMdcLayer () const =0
 
virtual unsigned lastMdcLayer () const =0
 
virtual double startFoundRange () const =0
 
virtual double endFoundRange () const =0
 
virtual bool isActive (unsigned ihot) const =0
 
virtual void append (TrkHitOnTrk *)=0
 
virtual void remove (TrkHitOnTrk *)=0
 
virtual void updateHots ()=0
 
virtual TrkHitOnTrkfindHot (const TrkFundHit *) const =0
 
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 ()
 
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
 
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
 
typedef std::vector< TrkHitOnTrk * > hotlist_t
 

Detailed Description

Constructor & Destructor Documentation

◆ TrkHotListUnowned() [1/4]

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/4]

TrkHotListUnowned::TrkHotListUnowned ( const TrkHotListUnowned rhs)

◆ ~TrkHotListUnowned() [1/2]

TrkHotListUnowned::~TrkHotListUnowned ( )
virtual

Definition at line 37 of file TrkHotListUnowned.cxx.

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

◆ TrkHotListUnowned() [3/4]

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

◆ TrkHotListUnowned() [4/4]

TrkHotListUnowned::TrkHotListUnowned ( const TrkHotListUnowned rhs)

◆ ~TrkHotListUnowned() [2/2]

virtual TrkHotListUnowned::~TrkHotListUnowned ( )
virtual

Member Function Documentation

◆ append() [1/2]

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

◆ append() [2/2]

void TrkHotListUnowned::append ( TrkHitOnTrk )
virtual

Implements TrkHotList.

◆ clone() [1/2]

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}

◆ clone() [2/2]

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

Implements TrkHotList.

◆ endFoundRange() [1/2]

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

◆ endFoundRange() [2/2]

virtual double TrkHotListUnowned::endFoundRange ( ) const
virtual

Implements TrkHotList.

◆ findHot() [1/2]

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

◆ findHot() [2/2]

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

Implements TrkHotList.

◆ firstMdcLayer() [1/2]

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

◆ firstMdcLayer() [2/2]

virtual unsigned TrkHotListUnowned::firstMdcLayer ( ) const
virtual

Implements TrkHotList.

◆ hitCapable() [1/2]

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

◆ hitCapable() [2/2]

virtual bool TrkHotListUnowned::hitCapable ( ) const
virtual

Implements TrkHotList.

◆ hotlist() [1/4]

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

Implements TrkHotList.

Definition at line 132 of file TrkHotListUnowned.cxx.

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

◆ hotlist() [2/4]

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

Implements TrkHotList.

◆ hotlist() [3/4]

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

Implements TrkHotList.

Definition at line 126 of file TrkHotListUnowned.cxx.

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

◆ hotlist() [4/4]

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

Implements TrkHotList.

◆ isActive() [1/2]

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

◆ isActive() [2/2]

virtual bool TrkHotListUnowned::isActive ( unsigned  ihot) const
virtual

Implements TrkHotList.

◆ lastMdcLayer() [1/2]

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

◆ lastMdcLayer() [2/2]

virtual unsigned TrkHotListUnowned::lastMdcLayer ( ) const
virtual

Implements TrkHotList.

◆ myHotList() [1/2]

const TrkHotList * TrkHotListUnowned::myHotList ( ) const
inline

Definition at line 58 of file InstallArea/include/TrkBase/TrkBase/TrkHotListUnowned.h.

58{ return _hotl; }

◆ myHotList() [2/2]

const TrkHotList * TrkHotListUnowned::myHotList ( ) const
inline

◆ nActive() [1/2]

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

◆ nActive() [2/2]

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

Implements TrkHotList.

◆ nHit() [1/2]

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

◆ nHit() [2/2]

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

Implements TrkHotList.

◆ nMdc() [1/2]

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

◆ nMdc() [2/2]

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

Implements TrkHotList.

◆ nSvt() [1/2]

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

◆ nSvt() [2/2]

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

Implements TrkHotList.

◆ operator=() [1/2]

TrkHotListUnowned & TrkHotListUnowned::operator= ( const TrkHotListUnowned )

◆ operator=() [2/2]

TrkHotListUnowned & TrkHotListUnowned::operator= ( const TrkHotListUnowned )

◆ remove() [1/2]

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

◆ remove() [2/2]

void TrkHotListUnowned::remove ( TrkHitOnTrk )
virtual

Implements TrkHotList.

◆ startFoundRange() [1/2]

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

◆ startFoundRange() [2/2]

virtual double TrkHotListUnowned::startFoundRange ( ) const
virtual

Implements TrkHotList.

◆ svtView() [1/2]

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

◆ svtView() [2/2]

virtual TrkView TrkHotListUnowned::svtView ( int  layer) const
virtual

Implements TrkHotList.

◆ takeHotList() [1/2]

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}

◆ takeHotList() [2/2]

TrkHotList * TrkHotListUnowned::takeHotList ( )

◆ updateHots() [1/2]

void TrkHotListUnowned::updateHots ( )
virtual

Implements TrkHotList.

Definition at line 104 of file TrkHotListUnowned.cxx.

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

◆ updateHots() [2/2]

virtual void TrkHotListUnowned::updateHots ( )
virtual

Implements TrkHotList.


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