#include <DTTSPhi.h>
Public Member Functions | |
const DTConfigTSPhi * | config () const |
Return the configuration class. More... | |
DTTSPhi (DTTrigGeom *, DTTracoCard *) | |
Constructor. More... | |
LocalVector | localDirection (const DTTrigData *) const override |
Local direction in chamber of a trigger-data object. More... | |
LocalPoint | localPosition (const DTTrigData *) const override |
Local position in chamber of a trigger-data object. More... | |
int | nSegm (int step) |
Return number of DTTSPhi segments. More... | |
void | reconstruct () override |
Load TRACO triggers and run TSPhi algorithm. More... | |
const DTChambPhSegm * | segment (int step, unsigned n) |
Return the requested DTTSPhi segment. More... | |
void | setConfig (const DTConfigManager *conf) |
Set configuration. More... | |
~DTTSPhi () 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... | |
Public Member Functions inherited from DTGeomSupplier | |
DTChamberId | ChamberId () const |
Identifier of the associated chamber. More... | |
GlobalVector | CMSDirection (const DTTrigData *trig) const |
CMS direction in chamber of a trigger -data object. More... | |
GlobalPoint | CMSPosition (const DTTrigData *trig) const |
CMS position in chamber of a trigger-data object. More... | |
DTGeomSupplier (DTTrigGeom *geom) | |
Constructor. More... | |
DTTrigGeom * | geom () const |
Associated geometry. More... | |
virtual void | print (const DTTrigData *trig) const |
Print a trigger-data object with also local and global position/direction. More... | |
int | sector () const |
Return sector number. More... | |
const DTChamber * | stat () const |
Associated chamber. More... | |
int | station () const |
Return station number. More... | |
int | wheel () const |
Return wheel number. More... | |
virtual | ~DTGeomSupplier () |
Destructor. More... | |
Private Member Functions | |
void | addTracoT (int step, const DTTracoTrigData *tracotrig, int ifs) |
DTTSM * | getDTTSM (int step, unsigned n) const |
DTTSS * | getDTTSS (int step, unsigned n) const |
void | ignoreSecondTrack (int step, int tracon) |
Set a flag to ignore second tracks (if first track at following BX) More... | |
void | loadTSPhi () |
store DTTracoChip triggers in the DTTSS's More... | |
void | localClear () |
Clear. More... | |
void | runTSPhi () |
run DTTSPhi algorithm (DTTSS+DTTSM) More... | |
Private Attributes | |
const DTConfigTSPhi * | _config |
std::vector< DTTSCand * > | _tctrig [DTConfigTSPhi::NSTEPL - DTConfigTSPhi::NSTEPF+1] |
DTTracoCard * | _tracocard |
std::vector< DTTSM * > | _tsm [DTConfigTSPhi::NSTEPL - DTConfigTSPhi::NSTEPF+1] |
std::vector< DTTSS * > | _tss [DTConfigTSPhi::NSTEPL - DTConfigTSPhi::NSTEPF+1] |
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 |
Protected Attributes inherited from DTGeomSupplier | |
DTTrigGeom * | _geom |
DTTSPhi::DTTSPhi | ( | DTTrigGeom * | geom, |
DTTracoCard * | tracocard | ||
) |
Constructor.
Definition at line 46 of file DTTSPhi.cc.
References _tsm, _tss, mps_fire::i, DTConfig::NSTEPF, DTConfig::NSTEPL, DTConfigTSPhi::NTSMD, and DTConfigTSPhi::NTSSTSM.
|
override |
Destructor.
Definition at line 73 of file DTTSPhi.cc.
References _tsm, _tss, DTCache< T, Coll >::begin(), localClear(), DTConfig::NSTEPF, and DTConfig::NSTEPL.
|
private |
Add a DTTracoChip trigger to the DTTSPhi, ifs is track number (first or second)
Definition at line 164 of file DTTSPhi.cc.
References _tctrig, DTTSS::addDTTSCand(), DTTracoTrigData::code(), config(), debug, getDTTSS(), DTConfig::NSTEPF, DTConfig::NSTEPL, DTConfig::NTCTSS, DTConfigTSPhi::NTSSTSM, DTTSS::number(), DTTracoTrigData::print(), DTTracoTrigData::pvCode(), and DTTracoTrigData::tracoNumber().
Referenced by loadTSPhi().
|
inline |
Return the configuration class.
Definition at line 62 of file DTTSPhi.h.
References _config.
Referenced by addTracoT(), ignoreSecondTrack(), loadTSPhi(), runTSPhi(), and setConfig().
|
private |
Definition at line 448 of file DTTSPhi.cc.
References _tsm, dqmiodumpmetadata::n, DTConfig::NSTEPF, DTConfig::NSTEPL, and DTCache< T, Coll >::size().
Referenced by ignoreSecondTrack(), and runTSPhi().
|
private |
Definition at line 433 of file DTTSPhi.cc.
References _tss, dqmiodumpmetadata::n, DTConfig::NSTEPF, DTConfig::NSTEPL, AlCaHLTBitMon_ParallelJobs::p, and DTCache< T, Coll >::size().
Referenced by addTracoT(), and ignoreSecondTrack().
|
private |
Set a flag to ignore second tracks (if first track at following BX)
Definition at line 406 of file DTTSPhi.cc.
References config(), BitArray< N >::element(), getDTTSM(), getDTTSS(), DTTSS::ignoreSecondTrack(), DTTSM::ignoreSecondTrack(), DTConfig::NSTEPL, DTConfig::NTCTSS, DTConfigTSPhi::NTSSTSM, DTGeomSupplier::sector(), DTGeomSupplier::station(), DTConfigTSPhi::TsmStatus(), and DTConfigTSPhi::TSSinTSMD().
Referenced by loadTSPhi().
|
private |
store DTTracoChip triggers in the DTTSS's
Definition at line 137 of file DTTSPhi.cc.
References _tracocard, addTracoT(), DTCache< T, Coll >::begin(), config(), debug, DTCache< T, Coll >::end(), compareTotals::fs, ignoreSecondTrack(), localClear(), DTConfig::NSTEPF, AlCaHLTBitMon_ParallelJobs::p, DTGeomSupplier::sector(), DTGeomSupplier::station(), DTConfigTSPhi::usedTraco(), and DTGeomSupplier::wheel().
Referenced by reconstruct().
|
private |
Clear.
Definition at line 98 of file DTTSPhi.cc.
References _tctrig, _tsm, _tss, DTCache< T, Coll >::begin(), DTConfig::NSTEPF, DTConfig::NSTEPL, and LaserDQM_cfg::p1.
Referenced by loadTSPhi(), and ~DTTSPhi().
|
overridevirtual |
Local direction in chamber of a trigger-data object.
Implements DTGeomSupplier.
Definition at line 493 of file DTTSPhi.cc.
References _tracocard, DTTracoCard::localDirection(), and ClusterTask_cfi::trig.
|
overridevirtual |
Local position in chamber of a trigger-data object.
Implements DTGeomSupplier.
Definition at line 481 of file DTTSPhi.cc.
References _tracocard, DTTracoCard::localPosition(), and ClusterTask_cfi::trig.
int DTTSPhi::nSegm | ( | int | step | ) |
Return number of DTTSPhi segments.
Definition at line 462 of file DTTSPhi.cc.
References DTCache< T, Coll >::begin(), DTCache< T, Coll >::end(), dqmiodumpmetadata::n, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by DTSCTrigUnit::nPhiSegm().
|
inlineoverridevirtual |
Load TRACO triggers and run TSPhi algorithm.
Reimplemented from DTCache< T, Coll >.
Definition at line 80 of file DTTSPhi.h.
References loadTSPhi(), and runTSPhi().
Referenced by DTTrig::triggerReco().
|
private |
run DTTSPhi algorithm (DTTSS+DTTSM)
Definition at line 215 of file DTTSPhi.cc.
References DTCache< T, Coll >::_cache, _tsm, _tss, DTTSM::addCand(), DTCache< T, Coll >::begin(), DTGeomSupplier::ChamberId(), DTTracoTrigData::code(), config(), DTConfigTSPhi::debug(), BitArray< N >::element(), first, getDTTSM(), DTTSCand::isCorr(), DTTSCand::isHtrig(), DTTSCand::isInner(), DTConfig::NSTEPF, DTConfig::NSTEPL, DTConfigTSPhi::NTSMD, DTConfigTSPhi::NTSSTSMD, AlCaHLTBitMon_ParallelJobs::p, DTGeomSupplier::sector(), DTGeomSupplier::station(), DTTSCand::tracoTr(), DTConfigTSPhi::TsmGetCarryFlag(), DTConfigTSPhi::TsmStatus(), and DTConfigTSPhi::TSSinTSMD().
Referenced by reconstruct().
const DTChambPhSegm * DTTSPhi::segment | ( | int | step, |
unsigned | n | ||
) |
Return the requested DTTSPhi segment.
Definition at line 472 of file DTTSPhi.cc.
References DTCache< T, Coll >::begin(), DTCache< T, Coll >::end(), dqmiodumpmetadata::n, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by DTSCTrigUnit::phiSegment().
void DTTSPhi::setConfig | ( | const DTConfigManager * | conf | ) |
Set configuration.
Definition at line 119 of file DTTSPhi.cc.
References _config, _tsm, _tss, DTCache< T, Coll >::begin(), DTGeomSupplier::ChamberId(), config(), DTConfigManager::getDTConfigTSPhi(), DTConfig::NSTEPF, and DTConfig::NSTEPL.
Referenced by DTSCTrigUnit::setConfig().
|
private |
Definition at line 112 of file DTTSPhi.h.
Referenced by config(), and setConfig().
|
private |
Definition at line 120 of file DTTSPhi.h.
Referenced by addTracoT(), and localClear().
|
private |
Definition at line 110 of file DTTSPhi.h.
Referenced by loadTSPhi(), localDirection(), and localPosition().
|
private |
Definition at line 117 of file DTTSPhi.h.
Referenced by DTTSPhi(), getDTTSM(), localClear(), runTSPhi(), setConfig(), and ~DTTSPhi().
|
private |
Definition at line 115 of file DTTSPhi.h.
Referenced by DTTSPhi(), getDTTSS(), localClear(), runTSPhi(), setConfig(), and ~DTTSPhi().