#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] |
DTTSS::~DTTSS | ( | ) |
void DTTSS::addDTTSCand | ( | DTTSCand * | cand | ) |
Add a TS candidate to the TSS, ifs is first/second track flag.
Definition at line 274 of file DTTSS.cc.
References _tctrig.
Referenced by DTTSPhi::addTracoT().
void DTTSS::clear | ( | void | ) |
|
inline |
Configuration set.
Definition at line 69 of file DTTSS.h.
References _config.
Referenced by DTTSCand::config(), run(), setConfig(), sortTSS1(), and sortTSS2().
DTTSCand * DTTSS::getCarry | ( | ) | const |
Return the carry (for debugging)
Definition at line 328 of file DTTSS.cc.
References _tctrig, and AlCaHLTBitMon_ParallelJobs::p.
DTTSCand * DTTSS::getDTTSCand | ( | int | ifs, |
unsigned | n | ||
) | const |
Return requested TS candidate.
Definition at line 289 of file DTTSS.cc.
References _tctrig, gather_cfg::cout, dqmiodumpmetadata::n, nTracoT(), and AlCaHLTBitMon_ParallelJobs::p.
Referenced by getTracoT().
DTTSCand * DTTSS::getTrack | ( | int | n | ) | const |
Return the requested track.
Definition at line 318 of file DTTSS.cc.
References _outcand, gather_cfg::cout, dqmiodumpmetadata::n, nTracks(), and AlCaHLTBitMon_ParallelJobs::p.
Referenced by sortTSS2().
const DTTracoTrigData * DTTSS::getTracoT | ( | int | ifs, |
unsigned | n | ||
) | const |
Return requested TRACO trigger.
Definition at line 304 of file DTTSS.cc.
References gather_cfg::cout, getDTTSCand(), dqmiodumpmetadata::n, nTracoT(), and DTTSCand::tracoTr().
|
inline |
Set a flag to skip sort2.
Definition at line 51 of file DTTSS.h.
References _ignoreSecondTrack.
Referenced by DTTSPhi::ignoreSecondTrack().
std::string DTTSS::logWord | ( | int | n | ) | const |
Return the requested log word.
Definition at line 336 of file DTTSS.cc.
References _logWord1, _logWord2, gather_cfg::cout, dqmiodumpmetadata::n, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
|
inline |
|
inline |
Return the number of sorted tracks.
Definition at line 90 of file DTTSS.h.
References _outcand.
Referenced by getTrack(), and sortTSS2().
unsigned DTTSS::nTracoT | ( | int | ifs | ) | const |
Return the number of input tracks (first/second)
Definition at line 280 of file DTTSS.cc.
References _tctrig, and gather_cfg::cout.
Referenced by getDTTSCand(), and getTracoT().
|
inline |
Return identifier.
Definition at line 66 of file DTTSS.h.
References _n.
Referenced by DTTSPhi::addTracoT(), and DTTSCand::tssNumber().
void DTTSS::run | ( | ) |
Run the TSS algorithm.
Definition at line 68 of file DTTSS.cc.
References _n, _outcand, _tctrig, config(), gather_cfg::cout, debug, dqmdumpme::first, nFirstT(), nSecondT(), AlCaHLTBitMon_ParallelJobs::p, edm::second(), sortTSS1(), and sortTSS2().
|
inline |
DTTSCand * DTTSS::sortTSS1 | ( | ) |
Sort 1.
Definition at line 115 of file DTTSS.cc.
References _logWord1, _tctrig, funct::abs(), config(), DTTSCand::dataword(), DTTSCand::isCorr(), DTTSCand::isFirst(), DTTSCand::isInner(), AlCaHLTBitMon_ParallelJobs::p, DTTSCand::setBitsTss(), DTTSCand::setSecondTrack(), DTTSCand::TcPos(), and DTConfigTSPhi::TssGhost1Corr().
Referenced by run().
DTTSCand * DTTSS::sortTSS2 | ( | ) |
Sort 2.
curr->isInner() && // outer track
Definition at line 187 of file DTTSS.cc.
References _ignoreSecondTrack, _logWord2, _tctrig, config(), gather_cfg::cout, DTTSCand::dataword(), getTrack(), DTTSCand::isCarry(), DTTSCand::isCorr(), DTTSCand::isFirst(), DTTSCand::isInner(), nTracks(), AlCaHLTBitMon_ParallelJobs::p, edm::second(), DTTSCand::setBitsTss(), DTTSCand::TcPos(), DTConfigTSPhi::TssGhost2Corr(), and DTConfigTSPhi::TssGhost2Flag().
Referenced by run().
|
private |
Definition at line 99 of file DTTSS.h.
Referenced by config(), and setConfig().
|
private |
Definition at line 111 of file DTTSS.h.
Referenced by clear(), ignoreSecondTrack(), and sortTSS2().
|
private |
|
private |
|
private |
|
private |
Definition at line 105 of file DTTSS.h.
Referenced by addDTTSCand(), clear(), getCarry(), getDTTSCand(), nFirstT(), nSecondT(), nTracoT(), run(), sortTSS1(), and sortTSS2().