BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
HoughTrackList.cxx
Go to the documentation of this file.
1#include "MdcHoughFinder/HoughTrackList.h"
2#include "MdcHoughFinder/HoughMap.h"
3#include <vector>
4#include <map>
5#include <math.h>
6
8}
10// _trackhoughmap=houghMap;
11 _tracklist=houghMap.getTrackList();
12}
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}
22 _tracklist.push_back(*track);
23}
24
25
EvtStreamInputIterator< typename Generator::result_type > iter(Generator gen, int N=0)
const vector< HoughTrack > getTrackList() const
void add(HoughTrack *track)
void remove(HoughTrack *)