#include <DTSC.h>
Classes | |
class | 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 | ( | 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 303 of file DTSC.cc.
References _incand_ph, and DTSectCollPhCand::isFirst().
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 235 of file DTSC.cc.
References _incand_ph, and DTSectCollPhCand::isFirst().
void DTSC::addThCand | ( | DTSectCollThCand * | cand | ) |
Add a Theta candidate to sect coll.
Definition at line 242 of file DTSC.cc.
References _cand_th.
Referenced by DTSectColl::addTSTheta().
void DTSC::clear | ( | ) |
Clear.
void DTSC::clear | ( | void | ) |
Clear.
Definition at line 67 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 86 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 141 of file DTSC.cc.
References _incand_ph, _stat, begin, 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 194 of file DTSC.cc.
References _ignoreSecondTrack, _incand_ph, begin, 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 270 of file DTSC.cc.
References _incand_ph, gather_cfg::cout, gen::n, nCandPh(), and AlCaHLTBitMon_ParallelJobs::p.
DTSectCollThCand * DTSC::getDTSectCollThCand | ( | unsigned | n | ) | const |
Return requested Theta candidate.
Definition at line 289 of file DTSC.cc.
References _cand_th, gather_cfg::cout, gen::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 312 of file DTSC.cc.
References _outcand_ph, gather_cfg::cout, gen::n, nTracksPh(), and AlCaHLTBitMon_ParallelJobs::p.
Referenced by DTSectColl::runSectColl().
DTSectCollThCand * DTSC::getTrackTh | ( | int | n | ) | const |
Return the requested Theta track.
Definition at line 328 of file DTSC.cc.
References _cand_th, gather_cfg::cout, gen::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 250 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 262 of file DTSC.cc.
References _cand_th.
Referenced by getDTSectCollThCand(), and run().
|
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 95 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 98 of file DTSC.h.
References _incand_ph.
Referenced by run().
|
inline |
|
inline |
Return the number of output Phi tracks.
Definition at line 107 of file DTSC.h.
References _outcand_ph.
Referenced by DTSectCollsort2(), and getTrackPh().
|
inline |
Return the number of output Theta tracks.
Definition at line 110 of file DTSC.h.
References _cand_th.
Referenced by getTrackTh().
void DTSC::run | ( | ) |
Run the Sector Collector algorithm.
void DTSC::run | ( | void | ) |
Run the Sector Collector algorithm.
Definition at line 84 of file DTSC.cc.
References _incand_ph, _outcand_ph, begin, config(), gather_cfg::cout, debug, DTSectCollsort1(), DTSectCollsort2(), plotBeamSpotDB::first, nCandTh(), nFirstTPh(), nSecondTPh(), AlCaHLTBitMon_ParallelJobs::p, and edm::second().
Referenced by DTSectColl::runSectColl().
|
inline |
Set configuration.
Definition at line 55 of file DTSC.h.
References _config, and dbtoconf::conf.
Referenced by DTSectColl::setConfig().
|
private |
Definition at line 130 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 121 of file DTSC.h.
Referenced by config(), and setConfig().
|
private |
Definition at line 133 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 124 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 127 of file DTSC.h.
Referenced by clear(), getTrackPh(), nTracksPh(), and run().
|
private |
Definition at line 136 of file DTSC.h.
Referenced by DTSectCollsort1().