#include <DTTSM.h>
Public Member Functions | |
void | addCand (DTTSCand *cand) |
Add a TSS candidate to the TSM, ifs is first/second track flag. More... | |
void | clear () |
Clear. More... | |
const DTConfigTSPhi * | config () const |
Configuration set. More... | |
DTTSM (int) | |
Constructor. More... | |
DTTSCand * | getDTTSCand (int ifs, unsigned n) const |
Return requested TS candidate. More... | |
DTTSCand * | getTrack (int n) const |
Return the requested track. More... | |
const DTTracoTrigData * | getTracoT (int ifs, unsigned n) const |
Return requested TRACO trigger. More... | |
void | ignoreSecondTrack () |
Set a flag to skip sort2. More... | |
unsigned | nCand (int ifs) const |
Return the number of input tracks (first/second) More... | |
int | nFirstT () const |
Return the number of input first tracks. More... | |
int | nSecondT () const |
Return the number of input second tracks. More... | |
int | nTracks () const |
Return the number of sorted tracks. More... | |
int | number () const |
Return identifier. More... | |
void | run (int bkmod) |
Run the TSM algorithm. More... | |
void | setConfig (const DTConfigTSPhi *config) |
Set configuration. More... | |
DTTSCand * | sortTSM1 (int bkmod) |
Sort 1. More... | |
DTTSCand * | sortTSM2 (int bkmod) |
Sort 2. More... | |
~DTTSM () | |
Destructor. More... | |
Private Attributes | |
const DTConfigTSPhi * | _config |
int | _ignoreSecondTrack |
std::vector< DTTSCand * > | _incand [2] |
int | _n |
std::vector< DTTSCand * > | _outcand |
void DTTSM::addCand | ( | DTTSCand * | cand | ) |
|
inline |
Configuration set.
Definition at line 75 of file DTTSM.h.
References _config.
Referenced by setConfig().
DTTSCand * DTTSM::getDTTSCand | ( | int | ifs, |
unsigned | n | ||
) | const |
DTTSCand * DTTSM::getTrack | ( | int | n | ) | const |
const DTTracoTrigData * DTTSM::getTracoT | ( | int | ifs, |
unsigned | n | ||
) | const |
|
inline |
unsigned DTTSM::nCand | ( | int | ifs | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
DTTSCand * DTTSM::sortTSM2 | ( | int | bkmod | ) |
|
private |
Definition at line 100 of file DTTSM.h.
Referenced by config(), and setConfig().
|
private |
Definition at line 114 of file DTTSM.h.
Referenced by ignoreSecondTrack().
|
private |
Definition at line 108 of file DTTSM.h.
Referenced by nFirstT(), and nSecondT().