BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
HoughTrackList Class Reference

#include <HoughTrackList.h>

Public Member Functions

 HoughTrackList ()
 
 HoughTrackList (const HoughMap &houghMap)
 
int getTrackNum () const
 
HoughTrackgetTrack (int i)
 
void remove (HoughTrack *)
 
void add (HoughTrack *track)
 
 HoughTrackList ()
 
 HoughTrackList (const HoughMap &houghMap)
 
int getTrackNum () const
 
HoughTrackgetTrack (int i)
 
void remove (HoughTrack *)
 
void add (HoughTrack *track)
 

Detailed Description

Constructor & Destructor Documentation

◆ HoughTrackList() [1/4]

HoughTrackList::HoughTrackList ( )

Definition at line 7 of file HoughTrackList.cxx.

7 {
8}

◆ HoughTrackList() [2/4]

HoughTrackList::HoughTrackList ( const HoughMap houghMap)

Definition at line 9 of file HoughTrackList.cxx.

9 {
10// _trackhoughmap=houghMap;
11 _tracklist=houghMap.getTrackList();
12}
const vector< HoughTrack > getTrackList() const

◆ HoughTrackList() [3/4]

HoughTrackList::HoughTrackList ( )

◆ HoughTrackList() [4/4]

HoughTrackList::HoughTrackList ( const HoughMap houghMap)

Member Function Documentation

◆ add() [1/2]

void HoughTrackList::add ( HoughTrack track)

Definition at line 21 of file HoughTrackList.cxx.

21 {
22 _tracklist.push_back(*track);
23}

◆ add() [2/2]

void HoughTrackList::add ( HoughTrack track)

◆ getTrack() [1/2]

HoughTrack & HoughTrackList::getTrack ( int  i)
inline

Definition at line 14 of file InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughTrackList.h.

14{return (_tracklist[i]); }

Referenced by MdcHoughFinder::execute().

◆ getTrack() [2/2]

HoughTrack & HoughTrackList::getTrack ( int  i)
inline

Definition at line 14 of file Reconstruction/MdcHoughFinder/MdcHoughFinder-00-00-13/MdcHoughFinder/HoughTrackList.h.

14{return (_tracklist[i]); }

◆ getTrackNum() [1/2]

int HoughTrackList::getTrackNum ( ) const
inline

Definition at line 13 of file InstallArea/include/MdcHoughFinder/MdcHoughFinder/HoughTrackList.h.

13{return _tracklist.size(); }

Referenced by MdcHoughFinder::execute().

◆ getTrackNum() [2/2]

int HoughTrackList::getTrackNum ( ) const
inline

Definition at line 13 of file Reconstruction/MdcHoughFinder/MdcHoughFinder-00-00-13/MdcHoughFinder/HoughTrackList.h.

13{return _tracklist.size(); }

◆ remove() [1/2]

void HoughTrackList::remove ( HoughTrack track)

Definition at line 13 of file HoughTrackList.cxx.

13 {
14
15 vector<HoughTrack>::iterator iter = _tracklist.begin();
16 for(;iter!=_tracklist.end();iter++){
17 if( track == &(*iter) ) { _tracklist.erase(iter);iter--;}
18 }
19 //if( iter !=_tracklist.end() ) _tracklist.erase(iter);
20}
EvtStreamInputIterator< typename Generator::result_type > iter(Generator gen, int N=0)

◆ remove() [2/2]

void HoughTrackList::remove ( HoughTrack )

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