#include <DTTSS.h>
Public Member Functions | |
void | addDTTSCand (DTTSCand *cand) |
Add a TS candidate to the TSS, ifs is first/second track flag. More... | |
void | clear () |
Clear. More... | |
const DTConfigTSPhi * | config () const |
Configuration set. More... | |
DTTSS (int) | |
Constructor. More... | |
DTTSCand * | getCarry () const |
Return the carry (for debugging) 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... | |
std::string | logWord (int n) const |
Return the requested log word. 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... | |
unsigned | nTracoT (int ifs) const |
Return the number of input tracks (first/second) More... | |
int | number () const |
Return identifier. More... | |
void | run () |
Run the TSS algorithm. More... | |
void | setConfig (const DTConfigTSPhi *config) |
Set configuration. More... | |
DTTSCand * | sortTSS1 () |
Sort 1. More... | |
DTTSCand * | sortTSS2 () |
Sort 2. More... | |
~DTTSS () | |
Destructor. More... | |
Private Attributes | |
const DTConfigTSPhi * | _config |
int | _ignoreSecondTrack |
std::string | _logWord1 |
std::string | _logWord2 |
int | _n |
std::vector< DTTSCand * > | _outcand |
std::vector< DTTSCand * > | _tctrig [2] |
void DTTSS::addDTTSCand | ( | DTTSCand * | cand | ) |
|
inline |
Configuration set.
Definition at line 71 of file DTTSS.h.
References _config.
Referenced by DTTSCand::config(), and setConfig().
DTTSCand * DTTSS::getCarry | ( | ) | const |
DTTSCand * DTTSS::getDTTSCand | ( | int | ifs, |
unsigned | n | ||
) | const |
DTTSCand * DTTSS::getTrack | ( | int | n | ) | const |
const DTTracoTrigData * DTTSS::getTracoT | ( | int | ifs, |
unsigned | n | ||
) | const |
|
inline |
std::string DTTSS::logWord | ( | int | n | ) | const |
|
inline |
|
inline |
|
inline |
unsigned DTTSS::nTracoT | ( | int | ifs | ) | const |
|
inline |
Return identifier.
Definition at line 68 of file DTTSS.h.
References _n.
Referenced by DTTSCand::tssNumber().
|
inline |
DTTSCand * DTTSS::sortTSS2 | ( | ) |
|
private |
Definition at line 102 of file DTTSS.h.
Referenced by config(), and setConfig().
|
private |
Definition at line 114 of file DTTSS.h.
Referenced by ignoreSecondTrack().
|
private |
|
private |
Definition at line 108 of file DTTSS.h.
Referenced by nFirstT(), and nSecondT().