#include <DTSC.h>
Classes | |
class | h |
Public Member Functions | |
void | addDTSectCollPhCand (DTSectCollPhCand *cand) |
Add a Sector Collector. More... | |
void | addPhCand (DTSectCollPhCand *cand) |
Add a TSM candidate to the Sect Coll, ifs is first/second track flag. More... | |
void | addThCand (DTSectCollThCand *cand) |
Add a Theta candidate to sect coll. More... | |
void | clear () |
Clear. More... | |
const DTConfigSectColl * | config () const |
Configuration set. More... | |
DTSC (int istat) | |
Constructor. More... | |
DTSectCollPhCand * | DTSectCollsort1 () |
Phi Sort 1. More... | |
DTSectCollPhCand * | DTSectCollsort2 () |
Phi Sort 2. More... | |
DTSectCollPhCand * | getDTSectCollPhCand (int ifs, unsigned n) const |
Return requested TSS candidate. More... | |
DTSectCollThCand * | getDTSectCollThCand (unsigned n) const |
Return requested Theta candidate. More... | |
DTSectCollPhCand * | getTrackPh (int n) const |
Return the requested Phi track. More... | |
DTSectCollThCand * | getTrackTh (int n) const |
Return the requested Theta track. More... | |
void | ignoreSecondTrack () |
Set a flag to skip sort2. More... | |
unsigned | nCandPh (int ifs) const |
Return the number of Phi input tracks (first/second) More... | |
unsigned | nCandTh () const |
Return the number of Theta input tracks. More... | |
int | nFirstTPh () const |
Return the number of input first tracks. More... | |
int | nSecondTPh () const |
Return the number of input second tracks. More... | |
int | nTracksPh () const |
Return the number of output Phi tracks. More... | |
int | nTracksTh () const |
Return the number of output Theta tracks. More... | |
void | run () |
Run the Sector Collector algorithm. More... | |
void | setConfig (const DTConfigSectColl *conf) |
Set configuration. More... | |
~DTSC () | |
Destructor. More... | |
Private Attributes | |
std::vector< DTSectCollThCand * > | _cand_th |
const DTConfigSectColl * | _config |
int | _ignoreSecondTrack |
std::vector< DTSectCollPhCand * > | _incand_ph [2] |
std::vector< DTSectCollPhCand * > | _outcand_ph |
int | _stat |
void DTSC::addDTSectCollPhCand | ( | DTSectCollPhCand * | cand | ) |
Add a Sector Collector.
Definition at line 238 of file DTSC.cc.
References _incand_ph.
Referenced by DTSectColl::addTSPhi().
void DTSC::addPhCand | ( | DTSectCollPhCand * | cand | ) |
Add a TSM candidate to the Sect Coll, ifs is first/second track flag.
Definition at line 196 of file DTSC.cc.
References _incand_ph, and push_back().
void DTSC::addThCand | ( | DTSectCollThCand * | cand | ) |
Add a Theta candidate to sect coll.
Definition at line 198 of file DTSC.cc.
References _cand_th.
Referenced by DTSectColl::addTSTheta().
void DTSC::clear | ( | void | ) |
Clear.
Definition at line 57 of file DTSC.cc.
References _cand_th, _ignoreSecondTrack, _incand_ph, and _outcand_ph.
Referenced by DTSectColl::localClear(), and ~DTSC().
|
inline |
Configuration set.
Definition at line 82 of file DTSC.h.
References _config.
Referenced by DTSectCollThCand::config(), DTSectCollPhCand::config(), DTSectCollsort1(), and run().
DTSectCollPhCand * DTSC::DTSectCollsort1 | ( | ) |
Phi Sort 1.
Definition at line 122 of file DTSC.cc.
References _incand_ph, _stat, config(), AlCaHLTBitMon_ParallelJobs::p, DTSectCollPhCand::setBitsSectColl(), and DTSectCollPhCand::setSecondTrack().
Referenced by run().
DTSectCollPhCand * DTSC::DTSectCollsort2 | ( | ) |
Phi Sort 2.
Definition at line 163 of file DTSC.cc.
References _ignoreSecondTrack, _incand_ph, gather_cfg::cout, nTracksPh(), AlCaHLTBitMon_ParallelJobs::p, edm::second(), and DTSectCollPhCand::setBitsSectColl().
Referenced by run().
DTSectCollPhCand * DTSC::getDTSectCollPhCand | ( | int | ifs, |
unsigned | n | ||
) | const |
Return requested TSS candidate.
Definition at line 211 of file DTSC.cc.
References _incand_ph, gather_cfg::cout, dqmiodumpmetadata::n, nCandPh(), and AlCaHLTBitMon_ParallelJobs::p.
DTSectCollThCand * DTSC::getDTSectCollThCand | ( | unsigned | n | ) | const |
Return requested Theta candidate.
Definition at line 227 of file DTSC.cc.
References _cand_th, gather_cfg::cout, dqmiodumpmetadata::n, nCandTh(), and AlCaHLTBitMon_ParallelJobs::p.
DTSectCollPhCand * DTSC::getTrackPh | ( | int | n | ) | const |
Return the requested Phi track.
Definition at line 244 of file DTSC.cc.
References _outcand_ph, gather_cfg::cout, dqmiodumpmetadata::n, nTracksPh(), and AlCaHLTBitMon_ParallelJobs::p.
Referenced by DTSectColl::runSectColl().
DTSectCollThCand * DTSC::getTrackTh | ( | int | n | ) | const |
Return the requested Theta track.
Definition at line 256 of file DTSC.cc.
References _cand_th, gather_cfg::cout, dqmiodumpmetadata::n, nTracksTh(), and AlCaHLTBitMon_ParallelJobs::p.
Referenced by DTSectColl::runSectColl().
|
inline |
unsigned DTSC::nCandPh | ( | int | ifs | ) | const |
Return the number of Phi input tracks (first/second)
Definition at line 200 of file DTSC.cc.
References _incand_ph, and gather_cfg::cout.
Referenced by getDTSectCollPhCand().
unsigned DTSC::nCandTh | ( | ) | const |
Return the number of Theta input tracks.
Definition at line 209 of file DTSC.cc.
References _cand_th.
Referenced by getDTSectCollThCand(), and run().
|
inline |
Return the number of input first tracks.
Definition at line 91 of file DTSC.h.
References _incand_ph.
Referenced by run().
|
inline |
Return the number of input second tracks.
Definition at line 94 of file DTSC.h.
References _incand_ph.
Referenced by run().
|
inline |
Return the number of output Phi tracks.
Definition at line 103 of file DTSC.h.
References _outcand_ph.
Referenced by DTSectCollsort2(), and getTrackPh().
|
inline |
Return the number of output Theta tracks.
Definition at line 106 of file DTSC.h.
References _cand_th.
Referenced by getTrackTh().
void DTSC::run | ( | ) |
Run the Sector Collector algorithm.
Definition at line 69 of file DTSC.cc.
References _incand_ph, _outcand_ph, config(), gather_cfg::cout, debug, DTSectCollsort1(), DTSectCollsort2(), first, nCandTh(), nFirstTPh(), nSecondTPh(), AlCaHLTBitMon_ParallelJobs::p, and edm::second().
Referenced by DTSectColl::runSectColl().
|
inline |
Set configuration.
Definition at line 52 of file DTSC.h.
References _config.
Referenced by DTSectColl::setConfig().
|
private |
Definition at line 125 of file DTSC.h.
Referenced by addThCand(), clear(), getDTSectCollThCand(), getTrackTh(), nCandTh(), and nTracksTh().
|
private |
Definition at line 116 of file DTSC.h.
Referenced by config(), and setConfig().
|
private |
Definition at line 128 of file DTSC.h.
Referenced by clear(), DTSectCollsort2(), and ignoreSecondTrack().
|
private |
Definition at line 119 of file DTSC.h.
Referenced by addDTSectCollPhCand(), addPhCand(), clear(), DTSectCollsort1(), DTSectCollsort2(), getDTSectCollPhCand(), nCandPh(), nFirstTPh(), nSecondTPh(), and run().
|
private |
Definition at line 122 of file DTSC.h.
Referenced by clear(), getTrackPh(), nTracksPh(), and run().
|
private |
Definition at line 131 of file DTSC.h.
Referenced by plotting.Plot::_setStats(), and DTSectCollsort1().