#include <DTSectColl.h>
Classes | |
class | h |
Public Member Functions | |
void | addTSPhi (int step, const DTChambPhSegm *tsmsegm, int ifs, int istat) |
Add a TSM candidate (step is TSM step not SC one) More... | |
void | addTSTheta (int step, const DTChambThSegm *tsmsegm, int istat) |
Add a TS Theta candidate (step is TSTheta step not sc one) More... | |
void | addTU (DTSCTrigUnit *tru) |
Add a Trigger Unit to the Sector Collector. More... | |
std::vector< DTSectCollPhSegm > ::const_iterator | beginPh () const |
Return iterator to the beghin of Phi cache. More... | |
std::vector< DTSectCollThSegm > ::const_iterator | beginTh () const |
Return iterator to the begni of Theta cache. More... | |
void | clearCache () |
Local position in chamber of a trigger-data object. More... | |
const DTConfigSectColl * | config () const |
Configuration. More... | |
DTSectColl (DTSectCollId id) | |
Constructor. More... | |
std::vector< DTSectCollPhSegm > ::const_iterator | endPh () const |
Return iterator to the end of Phi cache. More... | |
std::vector< DTSectCollThSegm > ::const_iterator | endTh () const |
Return iterator to the end of Theta cache. More... | |
DTSC * | getDTSC (int step, int istat) const |
Get a Sector Collector (step is TS one) More... | |
DTSectCollPhCand * | getDTSectCollPhCand (int ifs, unsigned n) const |
Get a Phi Candidate for Sector Collector. More... | |
DTSectCollThCand * | getDTSectCollThCand (unsigned n) const |
Get a Candidate for Sector Collector. More... | |
DTSectCollPhCand * | getTrackPh (int n) const |
Return the requested Phi track. More... | |
DTSectCollThCand * | getTrackTh (int n) const |
Return the requested Theta track. More... | |
DTTSPhi * | getTSPhi (int istat) const |
Return TSPhi. More... | |
DTTSTheta * | getTSTheta (int istat) const |
Return TSTheta. More... | |
void | loadSectColl () |
Load a Sector Collector. More... | |
void | localClear () |
Local Clear. 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 | nSegmPh (int step) |
Return number of DTSectCollPhi segments (SC step) More... | |
int | nSegmTh (int step) |
Return number of DTSectCollTheta segments (SC step) More... | |
int | nTracksPh () const |
Return the number of output Phi tracks. More... | |
int | nTracksTh () const |
Return the number of output Theta tracks. More... | |
void | reconstruct () override |
Load Trigger Units triggers and run Sector Collector algorithm. More... | |
void | runSectColl () |
Run Sector Collector. More... | |
DTSectCollId | SectCollId () |
Return the Sector Collector Id. More... | |
const DTSectCollPhSegm * | SectCollPhSegment (int step, unsigned n) |
Return requested Sector Collector Phi Segment 1st/2nd. More... | |
const DTSectCollThSegm * | SectCollThSegment (int step) |
Return requested Sector Collector Theta Segment. More... | |
void | setConfig (const DTConfigManager *conf) |
Set configuration. More... | |
int | sizePh () const |
Return Phi cache size. More... | |
int | sizeTh () const |
Return Theta cache size. More... | |
~DTSectColl () override | |
Destructor. More... | |
Public Member Functions inherited from DTCache< T, Coll > | |
const_iterator | begin () const |
Get first cache element. More... | |
void | clearCache () |
Clear cache vector. More... | |
DTCache () | |
Constructor. More... | |
const_iterator | end () const |
Get last cache element. More... | |
int | size () const |
Get cache vector's size. More... | |
virtual | ~DTCache () |
Destructor. More... | |
Private Attributes | |
const DTConfigSectColl * | _config |
std::vector< DTSectCollPhCand * > | _incand_ph [2] |
std::vector< DTSectCollThCand * > | _incand_th |
std::vector< DTSectCollPhCand * > | _outcand_ph |
std::vector< DTSectCollThCand * > | _outcand_th |
DTSectCollId | _sectcollid |
DTSC * | _tsc [DTConfigSectColl::NSTEPL-DTConfigSectColl::NSTEPF+1][DTConfigSectColl::NDTSC] |
DTTSPhi * | _tsphi [DTConfigSectColl::NTSPSC] |
DTTSTheta * | _tstheta [DTConfigSectColl::NTSTSC] |
Additional Inherited Members | |
Public Types inherited from DTCache< T, Coll > | |
typedef my_collection::const_iterator | const_iterator |
typedef my_collection::iterator | iterator |
typedef Coll | my_collection |
typedef T | my_type |
Protected Attributes inherited from DTCache< T, Coll > | |
my_collection | _cache |
Definition at line 56 of file DTSectColl.h.
DTSectColl::DTSectColl | ( | DTSectCollId | id | ) |
Constructor.
Definition at line 47 of file DTSectColl.cc.
References _tsc, _tsphi, _tstheta, relval_steps::istep, DTConfig::NSTEPF, and DTConfig::NSTEPL.
|
override |
Destructor.
Definition at line 65 of file DTSectColl.cc.
References _tsc, relval_steps::istep, localClear(), DTConfig::NSTEPF, and DTConfig::NSTEPL.
void DTSectColl::addTSPhi | ( | int | step, |
const DTChambPhSegm * | tsmsegm, | ||
int | ifs, | ||
int | istat | ||
) |
Add a TSM candidate (step is TSM step not SC one)
Definition at line 209 of file DTSectColl.cc.
References _incand_ph, DTSC::addDTSectCollPhCand(), config(), gather_cfg::cout, debug, getDTSC(), DTConfig::NSTEPL, and DTChambPhSegm::oldCode().
Referenced by loadSectColl().
void DTSectColl::addTSTheta | ( | int | step, |
const DTChambThSegm * | tsmsegm, | ||
int | istat | ||
) |
Add a TS Theta candidate (step is TSTheta step not sc one)
Definition at line 250 of file DTSectColl.cc.
References _incand_th, DTSC::addThCand(), config(), gather_cfg::cout, debug, getDTSC(), mps_fire::i, utils::is_empty(), DTConfig::NSTEPL, and DTChambThSegm::position().
Referenced by loadSectColl().
void DTSectColl::addTU | ( | DTSCTrigUnit * | tru | ) |
Add a Trigger Unit to the Sector Collector.
Definition at line 116 of file DTSectColl.cc.
References _sectcollid, _tsphi, _tstheta, gather_cfg::cout, DTSCTrigUnit::sector(), edm_modernize_messagelogger::stat, DTSCTrigUnit::station(), DTSCTrigUnit::TSPhTrigs(), DTSCTrigUnit::TSThTrigs(), and DTSCTrigUnit::wheel().
|
inline |
Return iterator to the beghin of Phi cache.
Definition at line 148 of file DTSectColl.h.
References DTCache< T, Coll >::_cache.
Referenced by DTTrig::SCPhTrigs().
|
inline |
Return iterator to the begni of Theta cache.
Definition at line 157 of file DTSectColl.h.
References DTCache< T, Coll >::_cache.
Referenced by DTTrig::SCThTrigs().
|
inline |
Local position in chamber of a trigger-data object.
Local direction in chamber of a trigger-data object Clear both (Phi and Theta) caches
Definition at line 172 of file DTSectColl.h.
References DTCache< T, Coll >::clearCache().
Referenced by DTTrig::triggerReco().
|
inline |
Configuration.
Definition at line 75 of file DTSectColl.h.
References _config.
Referenced by addTSPhi(), addTSTheta(), runSectColl(), setConfig(), and zMuMuValidation.ZMuMuValidation::trackcollection().
|
inline |
Return iterator to the end of Phi cache.
Definition at line 154 of file DTSectColl.h.
References DTCache< T, Coll >::_cache.
Referenced by DTTrig::SCPhTrigs().
|
inline |
Return iterator to the end of Theta cache.
Definition at line 163 of file DTSectColl.h.
References DTCache< T, Coll >::_cache.
Referenced by DTTrig::SCThTrigs().
DTSC * DTSectColl::getDTSC | ( | int | step, |
int | istat | ||
) | const |
Get a Sector Collector (step is TS one)
Definition at line 290 of file DTSectColl.cc.
References _tsc, gather_cfg::cout, DTConfig::NSTEPF, and DTConfig::NSTEPL.
Referenced by addTSPhi(), and addTSTheta().
DTSectCollPhCand * DTSectColl::getDTSectCollPhCand | ( | int | ifs, |
unsigned | n | ||
) | const |
Get a Phi Candidate for Sector Collector.
Definition at line 358 of file DTSectColl.cc.
References _incand_ph, gather_cfg::cout, dqmiodumpmetadata::n, nCandPh(), and AlCaHLTBitMon_ParallelJobs::p.
DTSectCollThCand * DTSectColl::getDTSectCollThCand | ( | unsigned | n | ) | const |
Get a Candidate for Sector Collector.
Definition at line 374 of file DTSectColl.cc.
References _incand_th, gather_cfg::cout, dqmiodumpmetadata::n, nCandTh(), and AlCaHLTBitMon_ParallelJobs::p.
DTSectCollPhCand * DTSectColl::getTrackPh | ( | int | n | ) | const |
Return the requested Phi track.
Definition at line 385 of file DTSectColl.cc.
References _outcand_ph, gather_cfg::cout, dqmiodumpmetadata::n, nTracksPh(), and AlCaHLTBitMon_ParallelJobs::p.
DTSectCollThCand * DTSectColl::getTrackTh | ( | int | n | ) | const |
Return the requested Theta track.
Definition at line 396 of file DTSectColl.cc.
References _outcand_th, gather_cfg::cout, dqmiodumpmetadata::n, nTracksTh(), and AlCaHLTBitMon_ParallelJobs::p.
|
inline |
Return TSPhi.
Definition at line 69 of file DTSectColl.h.
References _tsphi.
Referenced by DTTrig::triggerReco().
|
inline |
Return TSTheta.
Definition at line 72 of file DTSectColl.h.
References _tstheta.
Referenced by DTTrig::triggerReco().
void DTSectColl::loadSectColl | ( | ) |
Load a Sector Collector.
Definition at line 171 of file DTSectColl.cc.
References _tsphi, _tstheta, addTSPhi(), addTSTheta(), DTCache< T, Coll >::begin(), DTCache< T, Coll >::end(), localClear(), and AlCaHLTBitMon_ParallelJobs::p.
Referenced by reconstruct().
void DTSectColl::localClear | ( | ) |
Local Clear.
Definition at line 79 of file DTSectColl.cc.
References _incand_ph, _incand_th, _outcand_ph, _outcand_th, _tsc, DTSC::clear(), relval_steps::istep, DTConfig::NSTEPF, and DTConfig::NSTEPL.
Referenced by loadSectColl(), and ~DTSectColl().
unsigned DTSectColl::nCandPh | ( | int | ifs | ) | const |
Return the number of Phi input tracks (first/second)
Definition at line 407 of file DTSectColl.cc.
References _incand_ph, and gather_cfg::cout.
Referenced by getDTSectCollPhCand().
unsigned DTSectColl::nCandTh | ( | ) | const |
Return the number of Theta input tracks.
Definition at line 417 of file DTSectColl.cc.
References _incand_th.
Referenced by getDTSectCollThCand(), and runSectColl().
int DTSectColl::nSegmPh | ( | int | step | ) |
Return number of DTSectCollPhi segments (SC step)
Definition at line 419 of file DTSectColl.cc.
References DTCache< T, Coll >::begin(), DTCache< T, Coll >::end(), dqmiodumpmetadata::n, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by DTTrig::chSectCollPhSegm1(), and DTTrig::chSectCollPhSegm2().
int DTSectColl::nSegmTh | ( | int | step | ) |
Return number of DTSectCollTheta segments (SC step)
Definition at line 431 of file DTSectColl.cc.
References DTCache< T, Coll >::begin(), DTCache< T, Coll >::end(), dqmiodumpmetadata::n, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by DTTrig::chSectCollThSegm().
|
inline |
Return the number of output Phi tracks.
Definition at line 136 of file DTSectColl.h.
References _outcand_ph.
Referenced by getTrackPh(), and runSectColl().
|
inline |
Return the number of output Theta tracks.
Definition at line 139 of file DTSectColl.h.
References _outcand_th.
Referenced by getTrackTh(), and runSectColl().
|
inlineoverridevirtual |
Load Trigger Units triggers and run Sector Collector algorithm.
Reimplemented from DTCache< T, Coll >.
Definition at line 178 of file DTSectColl.h.
References loadSectColl(), and runSectColl().
Referenced by DTTrig::triggerReco().
void DTSectColl::runSectColl | ( | ) |
Run Sector Collector.
Definition at line 306 of file DTSectColl.cc.
References DTCache< T, Coll >::_cache, _outcand_ph, _outcand_th, _tsc, DTCache< T, Coll >::begin(), DTSectCollThCand::CoarseSync(), DTSectCollPhCand::CoarseSync(), config(), gather_cfg::cout, debug, relativeConstraints::empty, DTSC::getTrackPh(), DTSC::getTrackTh(), relval_steps::istep, nCandTh(), DTConfig::NSTEPF, DTConfig::NSTEPL, nTracksPh(), nTracksTh(), DTSC::run(), SectCollId(), DTSectCollThCand::tsTr(), and DTSectCollPhCand::tsTr().
Referenced by reconstruct().
|
inline |
Return the Sector Collector Id.
Definition at line 184 of file DTSectColl.h.
References _sectcollid.
Referenced by runSectColl().
const DTSectCollPhSegm * DTSectColl::SectCollPhSegment | ( | int | step, |
unsigned | n | ||
) |
Return requested Sector Collector Phi Segment 1st/2nd.
Definition at line 443 of file DTSectColl.cc.
References DTCache< T, Coll >::begin(), DTCache< T, Coll >::end(), and AlCaHLTBitMon_ParallelJobs::p.
Referenced by DTTrig::chSectCollPhSegm1(), and DTTrig::chSectCollPhSegm2().
const DTSectCollThSegm * DTSectColl::SectCollThSegment | ( | int | step | ) |
Return requested Sector Collector Theta Segment.
Definition at line 454 of file DTSectColl.cc.
References DTCache< T, Coll >::begin(), DTCache< T, Coll >::end(), and AlCaHLTBitMon_ParallelJobs::p.
Referenced by DTTrig::chSectCollThSegm().
void DTSectColl::setConfig | ( | const DTConfigManager * | conf | ) |
Set configuration.
Definition at line 106 of file DTSectColl.cc.
References _config, _sectcollid, _tsc, config(), DTConfigManager::getDTConfigSectColl(), relval_steps::istep, DTConfig::NSTEPF, DTConfig::NSTEPL, and DTSC::setConfig().
|
inline |
Return Phi cache size.
Definition at line 151 of file DTSectColl.h.
References DTCache< T, Coll >::_cache.
Referenced by DTTrig::triggerReco().
|
inline |
Return Theta cache size.
Definition at line 160 of file DTSectColl.h.
References DTCache< T, Coll >::_cache.
Referenced by DTTrig::triggerReco().
|
private |
Definition at line 188 of file DTSectColl.h.
Referenced by config(), and setConfig().
|
private |
Definition at line 200 of file DTSectColl.h.
Referenced by addTSPhi(), getDTSectCollPhCand(), localClear(), and nCandPh().
|
private |
Definition at line 206 of file DTSectColl.h.
Referenced by addTSTheta(), getDTSectCollThCand(), localClear(), and nCandTh().
|
private |
Definition at line 203 of file DTSectColl.h.
Referenced by getTrackPh(), localClear(), nTracksPh(), and runSectColl().
|
private |
Definition at line 209 of file DTSectColl.h.
Referenced by getTrackTh(), localClear(), nTracksTh(), and runSectColl().
|
private |
Definition at line 191 of file DTSectColl.h.
Referenced by addTU(), SectCollId(), and setConfig().
|
private |
Definition at line 197 of file DTSectColl.h.
Referenced by DTSectColl(), getDTSC(), localClear(), runSectColl(), setConfig(), and ~DTSectColl().
|
private |
Definition at line 193 of file DTSectColl.h.
Referenced by addTU(), DTSectColl(), getTSPhi(), and loadSectColl().
|
private |
Definition at line 194 of file DTSectColl.h.
Referenced by addTU(), DTSectColl(), getTSTheta(), and loadSectColl().