BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkHotList Class Referenceabstract

#include <TrkHotList.h>

+ Inheritance diagram for TrkHotList:

Public Types

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
 

Public Member Functions

 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 Types

typedef std::vector< TrkHitOnTrk * > hotlist_t
 
typedef std::vector< TrkHitOnTrk * > hotlist_t
 

Friends

struct iterator_traits
 
struct const_iterator_traits
 
class TrkHotListUnowned
 
class TrkHotListFull
 

Detailed Description

Member Typedef Documentation

◆ hot_iterator [1/2]

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

◆ hot_iterator [2/2]

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

◆ hotlist_t [1/2]

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

◆ hotlist_t [2/2]

◆ nc_hot_iterator [1/2]

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

◆ nc_hot_iterator [2/2]

Constructor & Destructor Documentation

◆ TrkHotList() [1/2]

TrkHotList::TrkHotList ( )

Definition at line 22 of file TrkHotList.cxx.

23{
24}

◆ ~TrkHotList() [1/2]

TrkHotList::~TrkHotList ( )
virtual

Definition at line 26 of file TrkHotList.cxx.

27{
28}

◆ TrkHotList() [2/2]

TrkHotList::TrkHotList ( )

◆ ~TrkHotList() [2/2]

virtual TrkHotList::~TrkHotList ( )
virtual

Member Function Documentation

◆ append() [1/2]

virtual void TrkHotList::append ( TrkHitOnTrk )
pure virtual

◆ append() [2/2]

virtual void TrkHotList::append ( TrkHitOnTrk )
pure virtual

◆ begin() [1/4]

nc_hot_iterator TrkHotList::begin ( )
inline

Definition at line 48 of file InstallArea/include/TrkBase/TrkBase/TrkHotList.h.

48{ return nc_hot_iterator(hotlist().begin()); }
TrkHitOnTrkIter< TrkHotList::iterator_traits > nc_hot_iterator

Referenced by begin().

◆ begin() [2/4]

nc_hot_iterator TrkHotList::begin ( )
inline

Definition at line 48 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHotList.h.

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

Referenced by begin().

◆ begin() [3/4]

◆ begin() [4/4]

hot_iterator TrkHotList::begin ( ) const
inline

Definition at line 44 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHotList.h.

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

Referenced by begin().

◆ clone() [1/2]

◆ clone() [2/2]

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

◆ end() [1/4]

nc_hot_iterator TrkHotList::end ( )
inline

Definition at line 49 of file InstallArea/include/TrkBase/TrkBase/TrkHotList.h.

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

Referenced by end().

◆ end() [2/4]

nc_hot_iterator TrkHotList::end ( )
inline

Definition at line 49 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHotList.h.

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

Referenced by end().

◆ end() [3/4]

◆ end() [4/4]

hot_iterator TrkHotList::end ( ) const
inline

Definition at line 45 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHotList.h.

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

Referenced by end().

◆ endFoundRange() [1/2]

virtual double TrkHotList::endFoundRange ( ) const
pure virtual

◆ endFoundRange() [2/2]

virtual double TrkHotList::endFoundRange ( ) const
pure virtual

◆ findHot() [1/2]

virtual TrkHitOnTrk * TrkHotList::findHot ( const TrkFundHit ) const
pure virtual

◆ findHot() [2/2]

virtual TrkHitOnTrk * TrkHotList::findHot ( const TrkFundHit ) const
pure virtual

◆ firstMdcLayer() [1/2]

virtual unsigned TrkHotList::firstMdcLayer ( ) const
pure virtual

◆ firstMdcLayer() [2/2]

virtual unsigned TrkHotList::firstMdcLayer ( ) const
pure virtual

◆ hasSvtView() [1/2]

bool TrkHotList::hasSvtView ( TrkEnums::TrkViewInfo  view,
int  layer 
) const
virtual

Definition at line 56 of file TrkHotList.cxx.

57{
58 TrkView need(view);
59 TrkView have = svtView(layer);
60 return have.contains(need);
61}
virtual TrkView svtView(int layer) const =0
bool contains(const TrkView &other) const
Definition: TrkView.cxx:84

◆ hasSvtView() [2/2]

virtual bool TrkHotList::hasSvtView ( TrkEnums::TrkViewInfo  view,
int  layer 
) const
virtual

◆ hitCapable() [1/2]

virtual bool TrkHotList::hitCapable ( ) const
pure virtual

◆ hitCapable() [2/2]

virtual bool TrkHotList::hitCapable ( ) const
pure virtual

◆ isActive() [1/2]

virtual bool TrkHotList::isActive ( unsigned  ihot) const
pure virtual

◆ isActive() [2/2]

virtual bool TrkHotList::isActive ( unsigned  ihot) const
pure virtual

◆ lastMdcLayer() [1/2]

virtual unsigned TrkHotList::lastMdcLayer ( ) const
pure virtual

◆ lastMdcLayer() [2/2]

virtual unsigned TrkHotList::lastMdcLayer ( ) const
pure virtual

◆ nActive() [1/2]

◆ nActive() [2/2]

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

◆ nHit() [1/2]

◆ nHit() [2/2]

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

◆ nMdc() [1/2]

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

◆ nMdc() [2/2]

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

◆ nSvt() [1/2]

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

◆ nSvt() [2/2]

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

◆ print() [1/2]

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

Referenced by MdcTrackList::pickHits().

◆ print() [2/2]

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

◆ printAll() [1/2]

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

◆ printAll() [2/2]

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

◆ remove() [1/2]

virtual void TrkHotList::remove ( TrkHitOnTrk )
pure virtual

◆ remove() [2/2]

virtual void TrkHotList::remove ( TrkHitOnTrk )
pure virtual

◆ resetParent() [1/2]

TrkHotList * TrkHotList::resetParent ( TrkBase::Functors::setParent  f)
virtual

Definition at line 64 of file TrkHotList.cxx.

65{
66 std::for_each(begin(),end(),f);
67 return this;
68}

Referenced by TrkRep::TrkRep().

◆ resetParent() [2/2]

virtual TrkHotList * TrkHotList::resetParent ( TrkBase::Functors::setParent  )
virtual

◆ sort() [1/2]

void TrkHotList::sort ( )
virtual

Definition at line 71 of file TrkHotList.cxx.

Referenced by TrkHitList::fit(), and TrkHotListFull::updateHots().

◆ sort() [2/2]

virtual void TrkHotList::sort ( )
virtual

◆ startFoundRange() [1/2]

virtual double TrkHotList::startFoundRange ( ) const
pure virtual

◆ startFoundRange() [2/2]

virtual double TrkHotList::startFoundRange ( ) const
pure virtual

◆ svtView() [1/2]

virtual TrkView TrkHotList::svtView ( int  layer) const
pure virtual

◆ svtView() [2/2]

virtual TrkView TrkHotList::svtView ( int  layer) const
pure virtual

◆ updateHots() [1/2]

virtual void TrkHotList::updateHots ( )
pure virtual

◆ updateHots() [2/2]

virtual void TrkHotList::updateHots ( )
pure virtual

Friends And Related Function Documentation

◆ const_iterator_traits

const_iterator_traits
friend

Definition at line 75 of file InstallArea/include/TrkBase/TrkBase/TrkHotList.h.

Referenced by printAll().

◆ iterator_traits

iterator_traits
friend

Definition at line 74 of file InstallArea/include/TrkBase/TrkBase/TrkHotList.h.

Referenced by printAll().

◆ TrkHotListFull

◆ TrkHotListUnowned


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