Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TrkHotList Class Reference

#include <TrkHotList.h>

Inheritance diagram for TrkHotList:

TrkHotListEmpty TrkHotListEmpty TrkHotListFull TrkHotListFull TrkHotListUnowned TrkHotListUnowned List of all members.

Public Types

typedef TrkHitOnTrkIter< TrkHotList::const_iterator_traitshot_iterator
typedef TrkHitOnTrkIter< TrkHotList::const_iterator_traitshot_iterator
typedef TrkHitOnTrkIter< TrkHotList::iterator_traitsnc_hot_iterator
typedef TrkHitOnTrkIter< TrkHotList::iterator_traitsnc_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 TrkHotListclone (TrkBase::Functors::cloneHot) const =0
virtual TrkHotListclone (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 TrkHitOnTrkfindHot (const TrkFundHit *) const =0
virtual TrkHitOnTrkfindHot (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 TrkHotListresetParent (TrkBase::Functors::setParent)
virtual TrkHotListresetParent (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_thotlist ()=0
virtual const hotlist_thotlist () const =0
virtual hotlist_thotlist ()=0
virtual const hotlist_thotlist () const =0
TrkHotListoperator= (const TrkHotList &)
TrkHotListoperator= (const TrkHotList &)
 TrkHotList (const TrkHotList &rhs)
 TrkHotList (const TrkHotList &rhs)

Friends

struct const_iterator_traits
struct iterator_traits
class TrkHotListFull
class TrkHotListUnowned

Member Typedef Documentation

typedef TrkHitOnTrkIter<TrkHotList::const_iterator_traits> TrkHotList::hot_iterator
 

typedef TrkHitOnTrkIter<TrkHotList::const_iterator_traits> TrkHotList::hot_iterator
 

typedef std::vector<TrkHitOnTrk*> TrkHotList::hotlist_t [protected]
 

typedef std::vector<TrkHitOnTrk*> TrkHotList::hotlist_t [protected]
 

typedef TrkHitOnTrkIter<TrkHotList::iterator_traits> TrkHotList::nc_hot_iterator
 

typedef TrkHitOnTrkIter<TrkHotList::iterator_traits> TrkHotList::nc_hot_iterator
 


Constructor & Destructor Documentation

TrkHotList::TrkHotList  ) 
 

00023 {
00024 }

TrkHotList::~TrkHotList  )  [virtual]
 

00027 {
00028 }

TrkHotList::TrkHotList const TrkHotList rhs  )  [private]
 

TrkHotList::TrkHotList  ) 
 

virtual TrkHotList::~TrkHotList  )  [virtual]
 

TrkHotList::TrkHotList const TrkHotList rhs  )  [private]
 


Member Function Documentation

virtual void TrkHotList::append TrkHitOnTrk  )  [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual void TrkHotList::append TrkHitOnTrk  )  [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

nc_hot_iterator TrkHotList::begin void   )  [inline]
 

00048 { return nc_hot_iterator(hotlist().begin()); }

hot_iterator TrkHotList::begin void   )  const [inline]
 

00044 { return hot_iterator(hotlist().begin()); }

nc_hot_iterator TrkHotList::begin void   )  [inline]
 

00048 { return nc_hot_iterator(hotlist().begin()); }

hot_iterator TrkHotList::begin void   )  const [inline]
 

00044 { return hot_iterator(hotlist().begin()); }

virtual TrkHotList* TrkHotList::clone TrkBase::Functors::cloneHot   )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual TrkHotList* TrkHotList::clone TrkBase::Functors::cloneHot   )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

nc_hot_iterator TrkHotList::end void   )  [inline]
 

00049 { return nc_hot_iterator(hotlist().end()); }

hot_iterator TrkHotList::end void   )  const [inline]
 

00045 { return hot_iterator(hotlist().end()); }

nc_hot_iterator TrkHotList::end void   )  [inline]
 

00049 { return nc_hot_iterator(hotlist().end()); }

hot_iterator TrkHotList::end void   )  const [inline]
 

00045 { return hot_iterator(hotlist().end()); }

virtual double TrkHotList::endFoundRange  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual double TrkHotList::endFoundRange  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual TrkHitOnTrk* TrkHotList::findHot const TrkFundHit  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual TrkHitOnTrk* TrkHotList::findHot const TrkFundHit  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual unsigned TrkHotList::firstMdcLayer  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual unsigned TrkHotList::firstMdcLayer  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual bool TrkHotList::hasSvtView TrkEnums::TrkViewInfo  view,
int  layer
const [virtual]
 

bool TrkHotList::hasSvtView TrkEnums::TrkViewInfo  view,
int  layer
const [virtual]
 

00057 {
00058   TrkView need(view);
00059   TrkView have = svtView(layer);
00060   return have.contains(need);
00061 }

virtual bool TrkHotList::hitCapable  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual bool TrkHotList::hitCapable  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual hotlist_t& TrkHotList::hotlist  )  [private, pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual const hotlist_t& TrkHotList::hotlist  )  const [private, pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual hotlist_t& TrkHotList::hotlist  )  [private, pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual const hotlist_t& TrkHotList::hotlist  )  const [private, pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual bool TrkHotList::isActive unsigned  ihot  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual bool TrkHotList::isActive unsigned  ihot  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual unsigned TrkHotList::lastMdcLayer  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual unsigned TrkHotList::lastMdcLayer  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual int TrkHotList::nActive TrkEnums::TrkViewInfo  view = TrkEnums::bothView  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual int TrkHotList::nActive TrkEnums::TrkViewInfo  view = TrkEnums::bothView  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual int TrkHotList::nHit TrkEnums::TrkViewInfo  view = TrkEnums::bothView  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual int TrkHotList::nHit TrkEnums::TrkViewInfo  view = TrkEnums::bothView  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual int TrkHotList::nMdc TrkEnums::TrkViewInfo  view = TrkEnums::bothView  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual int TrkHotList::nMdc TrkEnums::TrkViewInfo  view = TrkEnums::bothView  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual int TrkHotList::nSvt TrkEnums::TrkViewInfo  view = TrkEnums::bothView  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual int TrkHotList::nSvt TrkEnums::TrkViewInfo  view = TrkEnums::bothView  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

TrkHotList& TrkHotList::operator= const TrkHotList  )  [private]
 

Reimplemented in TrkHotListEmpty, and TrkHotListEmpty.

TrkHotList& TrkHotList::operator= const TrkHotList  )  [private]
 

Reimplemented in TrkHotListEmpty, and TrkHotListEmpty.

void TrkHotList::print std::ostream o  )  const
 

void TrkHotList::print std::ostream o  )  const
 

00032 {
00033   o << " hitCapable: " << (hitCapable()?"yes":"no")
00034     << " nActive: " << nActive()
00035     << " nHit: " << nHit()
00036     << " startFoundRange: " <<startFoundRange()
00037     << " endFoundRange: " << endFoundRange();
00038 }

void TrkHotList::printAll std::ostream o  )  const
 

void TrkHotList::printAll std::ostream o  )  const
 

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 }

virtual void TrkHotList::remove TrkHitOnTrk  )  [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual void TrkHotList::remove TrkHitOnTrk  )  [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual TrkHotList* TrkHotList::resetParent TrkBase::Functors::setParent   )  [virtual]
 

TrkHotList * TrkHotList::resetParent TrkBase::Functors::setParent   )  [virtual]
 

00065 {
00066   std::for_each(begin(),end(),f);
00067   return this;
00068 }

virtual void TrkHotList::sort  )  [virtual]
 

void TrkHotList::sort  )  [virtual]
 

00072 {
00073   std::sort(hotlist().begin(),
00074       hotlist().end(),
00075       bes::Collection::PtrLess());
00076 }

virtual double TrkHotList::startFoundRange  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual double TrkHotList::startFoundRange  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual TrkView TrkHotList::svtView int  layer  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual TrkView TrkHotList::svtView int  layer  )  const [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual void TrkHotList::updateHots  )  [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.

virtual void TrkHotList::updateHots  )  [pure virtual]
 

Implemented in TrkHotListEmpty, TrkHotListFull, TrkHotListUnowned, TrkHotListEmpty, TrkHotListFull, and TrkHotListUnowned.


Friends And Related Function Documentation

const_iterator_traits [friend]
 

iterator_traits [friend]
 

TrkHotListFull [friend]
 

TrkHotListUnowned [friend]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 19:08:08 2011 for BOSS6.5.5 by  doxygen 1.3.9.1