BOSS
7.0.9
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
7
HoughTrackList::HoughTrackList
(){
8
}
9
HoughTrackList::HoughTrackList
(
const
HoughMap
& houghMap){
10
// _trackhoughmap=houghMap;
11
_tracklist=houghMap.
getTrackList
();
12
}
13
void
HoughTrackList::remove
(
HoughTrack
* track ){
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
}
21
void
HoughTrackList::add
(
HoughTrack
* track ){
22
_tracklist.push_back(*track);
23
}
24
25
HoughMap.h
HoughTrackList.h
iter
EvtStreamInputIterator< typename Generator::result_type > iter(Generator gen, int N=0)
Definition:
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtStreamInputIterator.hh:100
HoughMap
Definition:
HoughMap.h:18
HoughMap::getTrackList
const vector< HoughTrack > getTrackList() const
Definition:
HoughMap.h:37
HoughTrackList::HoughTrackList
HoughTrackList()
Definition:
HoughTrackList.cxx:7
HoughTrackList::add
void add(HoughTrack *track)
Definition:
HoughTrackList.cxx:21
HoughTrackList::remove
void remove(HoughTrack *)
Definition:
HoughTrackList.cxx:13
HoughTrack
Definition:
HoughTrack.h:14
source
Reconstruction
MdcHoughFinder
MdcHoughFinder-00-00-15
src
HoughTrackList.cxx
Generated by
1.9.6