MarlinTPC
1.2.0
|
Equivalence classes. More...
#include <RowTripletBasedTrackFinderProcessor.h>
Public Member Functions | |
simpleEquiClasses () | |
Construct simple equivalence class. | |
void | addIndex (int) |
Add index. More... | |
void | addMatch (std::pair< int, int >) |
Add match. More... | |
std::map< int, std::vector< int > > | getClasses () |
Get equivalence classes. More... | |
Equivalence classes.
From (integer) indices of matching (list) objects.
Adopted from (H1) Fortran version by V. Blobel
void marlintpc::simpleEquiClasses::addIndex | ( | int | aIndex | ) |
Add index.
[in] | aIndex | index |
Referenced by marlintpc::RowTripletBasedTrackFinderProcessor::processEvent(), and marlintpc::tp_PixelSegmentCombiner::run().
void marlintpc::simpleEquiClasses::addMatch | ( | std::pair< int, int > | aMatch | ) |
Add match.
[in] | aMatch | pair of matching indices |
Referenced by marlintpc::RowTripletBasedTrackFinderProcessor::processEvent(), and marlintpc::tp_PixelSegmentCombiner::run().
std::map< int, std::vector< int > > marlintpc::simpleEquiClasses::getClasses | ( | ) |
Get equivalence classes.
Determine (from matching indices) and return equivalence classes. Each class is identified by one index and contains a list of all contributing indices.
Referenced by marlintpc::RowTripletBasedTrackFinderProcessor::processEvent(), and marlintpc::tp_PixelSegmentCombiner::run().