#include <DTSC.h>
Public Member Functions | |
void | addCand (DTTSCand *cand) |
Add a TSM candidate to the Sect Coll, ifs is first/second track flag. More... | |
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... | |
void | clear () |
Clear. More... | |
DTConfigSectColl * | config () const |
Configuration set. More... | |
const DTConfigSectColl * | config () const |
Configuration set. More... | |
DTSC (DTConfigSectColl *) | |
Constructor. More... | |
DTSC (int istat) | |
Constructor. More... | |
DTTSCand * | DTSectCollsort1 () |
Sort 1. More... | |
DTSectCollPhCand * | DTSectCollsort1 () |
Phi Sort 1. More... | |
DTTSCand * | DTSectCollsort2 () |
Sort 2. 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... | |
DTTSCand * | getDTTSCand (int ifs, unsigned n) const |
Return requested TSS candidate. More... | |
DTTSCand * | getTrack (int n) const |
Return the requested track. More... | |
DTSectCollPhCand * | getTrackPh (int n) const |
Return the requested Phi track. More... | |
DTSectCollThCand * | getTrackTh (int n) const |
Return the requested Theta track. More... | |
const DTTracoTrigData * | getTracoT (int ifs, unsigned n) const |
Return requested TRACO trigger. More... | |
void | ignoreSecondTrack () |
Set a flag to skip sort2. More... | |
void | ignoreSecondTrack () |
Set a flag to skip sort2. More... | |
unsigned | nCand (int ifs) const |
Return the number of input tracks (first/second) 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 | nFirstT () const |
Return the number of input first tracks. More... | |
int | nFirstTPh () const |
Return the number of input first tracks. More... | |
int | nSecondT () const |
Return the number of input second tracks. More... | |
int | nSecondTPh () const |
Return the number of input second tracks. More... | |
int | nTracks () const |
Return the number of sorted 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 | run () |
Run the Sector Collector algorithm. More... | |
void | setConfig (const DTConfigSectColl *conf) |
Set configuration. More... | |
~DTSC () | |
Destructor. More... | |
~DTSC () | |
Destructor. More... | |
Private Attributes | |
std::vector< DTSectCollThCand * > | _cand_th |
DTConfigSectColl * | _config |
const DTConfigSectColl * | _config |
int | _ignoreSecondTrack |
std::vector< DTTSCand * > | _incand [2] |
std::vector< DTSectCollPhCand * > | _incand_ph [2] |
std::vector< DTTSCand * > | _outcand |
std::vector< DTSectCollPhCand * > | _outcand_ph |
int | _stat |
DTSC::~DTSC | ( | ) |
DTSC::DTSC | ( | DTConfigSectColl * | ) |
Constructor.
DTSC::~DTSC | ( | ) |
Destructor.
void DTSC::addCand | ( | DTTSCand * | cand | ) |
Add a TSM candidate to the Sect Coll, ifs is first/second track flag.
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.
void DTSC::addThCand | ( | DTSectCollThCand * | cand | ) |
void DTSC::clear | ( | ) |
Clear.
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 |
|
inline |
Configuration set.
Definition at line 82 of file DTSC.h.
References _config.
Referenced by DTSectCollThCand::config(), DTSectCollPhCand::config(), DTSectCollsort1(), and run().
DTTSCand* DTSC::DTSectCollsort1 | ( | ) |
Sort 1.
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().
DTTSCand* DTSC::DTSectCollsort2 | ( | ) |
Sort 2.
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.
DTTSCand* DTSC::getDTTSCand | ( | int | ifs, |
unsigned | n | ||
) | const |
Return requested TSS candidate.
DTTSCand* DTSC::getTrack | ( | int | n | ) | const |
Return the requested track.
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().
const DTTracoTrigData* DTSC::getTracoT | ( | int | ifs, |
unsigned | n | ||
) | const |
Return requested TRACO trigger.
|
inline |
|
inline |
unsigned DTSC::nCand | ( | int | ifs | ) | const |
Return the number of input tracks (first/second)
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 |
|
inline |
Return the number of input first tracks.
Definition at line 80 of file DTSCCand.h.
References _incand.
|
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 83 of file DTSCCand.h.
References _incand.
|
inline |
Return the number of input second tracks.
Definition at line 94 of file DTSC.h.
References _incand_ph.
Referenced by run().
|
inline |
|
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.
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(), dqmdumpme::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 101 of file DTSCCand.h.
|
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 104 of file DTSCCand.h.
Referenced by nFirstT(), and nSecondT().
|
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 107 of file DTSCCand.h.
Referenced by nTracks().
|
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().