#include <TrkHotList.h>
Inheritance diagram for TrkHotList:
Public Types | |
typedef TrkHitOnTrkIter< TrkHotList::const_iterator_traits > | hot_iterator |
typedef TrkHitOnTrkIter< TrkHotList::const_iterator_traits > | hot_iterator |
typedef TrkHitOnTrkIter< TrkHotList::iterator_traits > | nc_hot_iterator |
typedef TrkHitOnTrkIter< TrkHotList::iterator_traits > | nc_hot_iterator |
Public Member Functions | |
virtual void | append (TrkHitOnTrk *)=0 |
virtual void | append (TrkHitOnTrk *)=0 |
nc_hot_iterator | begin () |
hot_iterator | begin () const |
nc_hot_iterator | begin () |
hot_iterator | begin () const |
virtual TrkHotList * | clone (TrkBase::Functors::cloneHot) const =0 |
virtual TrkHotList * | clone (TrkBase::Functors::cloneHot) const =0 |
nc_hot_iterator | end () |
hot_iterator | end () const |
nc_hot_iterator | end () |
hot_iterator | end () const |
virtual double | endFoundRange () const =0 |
virtual double | endFoundRange () const =0 |
virtual TrkHitOnTrk * | findHot (const TrkFundHit *) const =0 |
virtual TrkHitOnTrk * | findHot (const TrkFundHit *) const =0 |
virtual unsigned | firstMdcLayer () const =0 |
virtual unsigned | firstMdcLayer () const =0 |
virtual bool | hasSvtView (TrkEnums::TrkViewInfo view, int layer) const |
virtual bool | hasSvtView (TrkEnums::TrkViewInfo view, int layer) const |
virtual bool | hitCapable () const =0 |
virtual bool | hitCapable () const =0 |
virtual bool | isActive (unsigned ihot) const =0 |
virtual bool | isActive (unsigned ihot) const =0 |
virtual unsigned | lastMdcLayer () const =0 |
virtual unsigned | lastMdcLayer () const =0 |
virtual int | nActive (TrkEnums::TrkViewInfo view=TrkEnums::bothView) const =0 |
virtual int | nActive (TrkEnums::TrkViewInfo view=TrkEnums::bothView) const =0 |
virtual int | nHit (TrkEnums::TrkViewInfo view=TrkEnums::bothView) const =0 |
virtual int | nHit (TrkEnums::TrkViewInfo view=TrkEnums::bothView) const =0 |
virtual int | nMdc (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 | nSvt (TrkEnums::TrkViewInfo view=TrkEnums::bothView) const =0 |
void | print (std::ostream &o) const |
void | print (std::ostream &o) const |
void | printAll (std::ostream &o) const |
void | printAll (std::ostream &o) const |
virtual void | remove (TrkHitOnTrk *)=0 |
virtual void | remove (TrkHitOnTrk *)=0 |
virtual TrkHotList * | resetParent (TrkBase::Functors::setParent) |
virtual TrkHotList * | resetParent (TrkBase::Functors::setParent) |
virtual void | sort () |
virtual void | sort () |
virtual double | startFoundRange () const =0 |
virtual double | startFoundRange () const =0 |
virtual TrkView | svtView (int layer) const =0 |
virtual TrkView | svtView (int layer) const =0 |
TrkHotList () | |
TrkHotList () | |
virtual void | updateHots ()=0 |
virtual void | updateHots ()=0 |
virtual | ~TrkHotList () |
virtual | ~TrkHotList () |
Protected Types | |
typedef std::vector< TrkHitOnTrk * > | hotlist_t |
typedef std::vector< TrkHitOnTrk * > | hotlist_t |
Private Member Functions | |
virtual hotlist_t & | hotlist ()=0 |
virtual const hotlist_t & | hotlist () const =0 |
virtual hotlist_t & | hotlist ()=0 |
virtual const hotlist_t & | hotlist () const =0 |
TrkHotList & | operator= (const TrkHotList &) |
TrkHotList & | operator= (const TrkHotList &) |
TrkHotList (const TrkHotList &rhs) | |
TrkHotList (const TrkHotList &rhs) | |
Friends | |
struct | const_iterator_traits |
struct | iterator_traits |
class | TrkHotListFull |
class | TrkHotListUnowned |
|
|
|
|
|
|
|
|
|
|
|
|
|
00023 { 00024 }
|
|
00027 { 00028 }
|
|
|
|
|
|
|
|
|
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
00048 { return nc_hot_iterator(hotlist().begin()); }
|
|
00044 { return hot_iterator(hotlist().begin()); }
|
|
00048 { return nc_hot_iterator(hotlist().begin()); }
|
|
00044 { return hot_iterator(hotlist().begin()); }
|
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
00049 { return nc_hot_iterator(hotlist().end()); }
|
|
00045 { return hot_iterator(hotlist().end()); }
|
|
00049 { return nc_hot_iterator(hotlist().end()); }
|
|
00045 { return hot_iterator(hotlist().end()); }
|
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
|
|
00057 { 00058 TrkView need(view); 00059 TrkView have = svtView(layer); 00060 return have.contains(need); 00061 }
|
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Reimplemented in TrkHotListEmpty, and TrkHotListEmpty. |
|
Reimplemented in TrkHotListEmpty, and TrkHotListEmpty. |
|
|
|
00032 { 00033 o << " hitCapable: " << (hitCapable()?"yes":"no") 00034 << " nActive: " << nActive() 00035 << " nHit: " << nHit() 00036 << " startFoundRange: " <<startFoundRange() 00037 << " endFoundRange: " << endFoundRange(); 00038 }
|
|
|
|
00042 { 00043 print(o); o << "\n"; 00044 TrkHotList::hot_iterator i= begin(); 00045 int kk=0; 00046 while (i!=end()) { 00047 kk++; 00048 std::cout<< kk << ":" ; 00049 i->print(o); o << endl; 00050 i->hit()->printAll(o);//yzhang debug 00051 i++; 00052 } 00053 }
|
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
|
|
|
|
|
|
00072 { 00073 std::sort(hotlist().begin(), 00074 hotlist().end(), 00075 bes::Collection::PtrLess()); 00076 }
|
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned. |
|
|
|
|
|
|
|
|