#include <DTTSTheta.h>
Public Member Functions | |
const DTConfigTSTheta * | config () const |
Return configuration. More... | |
DTTSTheta (DTTrigGeom *, DTBtiCard *) | |
Constructor. More... | |
LocalVector | localDirection (const DTTrigData *) const |
Local direction in chamber of a L1Trigger-data object. More... | |
LocalPoint | localPosition (const DTTrigData *) const |
Local position in chamber of a L1Trigger-data object. More... | |
int | nHTrig (int step) |
Return number of DTBtiChip fired with a HTRIG (used by DTTracoChip) More... | |
int | nSegm (int step) |
Return number of TStheta segments (just 1) More... | |
int | nTrig (int step) |
Return number of DTBtiChip fired (used by DTTracoChip) More... | |
void | print (const DTTrigData *trig) const |
Print a L1Trigger-data object with also local and global position/direction. More... | |
void | reconstruct () |
Load BTIs triggers and run TSTheta algoritm. More... | |
const DTChambThSegm * | segment (int step, unsigned n) |
Return the requested DTTSTheta segment (only the first) More... | |
void | setConfig (const DTConfigManager *conf) |
Set configuration. More... | |
~DTTSTheta () | |
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... | |
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 | add_btiT (int step, const DTBtiTrigData *btitrig) |
Add a DTBtiChip L1Trigger to the DTTSTheta. More... | |
BitArray < DTConfigTSTheta::NCELLTH > * | btiMask (int step) const |
Return the BitArray of DTBtiChip fired. More... | |
BitArray < DTConfigTSTheta::NCELLTH > * | btiQual (int step) const |
Return the BitArray of DTBtiChip fired with a HTRIG. More... | |
void | loadDTTSTheta () |
store DTBtiChip L1Triggers in the TST More... | |
void | localClear () |
Clear. More... | |
void | runDTTSTheta () |
run DTTSTheta algorithm (build the mask) More... | |
Private Attributes | |
DTBtiCard * | _bticard |
const DTConfigTSTheta * | _config |
BitArray < DTConfigTSTheta::NCELLTH > | _Htrig [DTConfigTSTheta::NSTEPL-DTConfigTSTheta::NSTEPF+1] |
int | _nHtrig [DTConfigTSTheta::NSTEPL-DTConfigTSTheta::NSTEPF+1] |
int | _ntrig [DTConfigTSTheta::NSTEPL-DTConfigTSTheta::NSTEPF+1] |
BitArray < DTConfigTSTheta::NCELLTH > | _trig [DTConfigTSTheta::NSTEPL-DTConfigTSTheta::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 |
Implementation of TS Theta L1Trigger algorithm
Definition at line 44 of file DTTSTheta.h.
DTTSTheta::DTTSTheta | ( | DTTrigGeom * | geom, |
DTBtiCard * | bticard | ||
) |
Constructor.
Definition at line 37 of file DTTSTheta.cc.
References _Htrig, _nHtrig, _ntrig, _trig, i, DTConfig::NSTEPF, DTConfig::NSTEPL, and BitArray< N >::zero().
DTTSTheta::~DTTSTheta | ( | ) |
|
private |
Add a DTBtiChip L1Trigger to the DTTSTheta.
Definition at line 107 of file DTTSTheta.cc.
References _Htrig, _nHtrig, _ntrig, _trig, DTBtiTrigData::btiNumber(), DTBtiTrigData::code(), config(), gather_cfg::cout, debug, DTGeomSupplier::geom(), gen::n, DTConfig::NSTEPF, DTConfig::NSTEPL, BitArray< N >::set(), and relval_parameters_module::step.
Referenced by loadDTTSTheta().
|
private |
Return the BitArray of DTBtiChip fired.
Definition at line 254 of file DTTSTheta.cc.
References _trig, gather_cfg::cout, DTConfig::NSTEPF, DTConfig::NSTEPL, and relval_parameters_module::step.
Referenced by runDTTSTheta().
|
private |
Return the BitArray of DTBtiChip fired with a HTRIG.
Definition at line 264 of file DTTSTheta.cc.
References _Htrig, gather_cfg::cout, DTConfig::NSTEPF, DTConfig::NSTEPL, and relval_parameters_module::step.
Referenced by runDTTSTheta().
|
inline |
Return configuration.
Definition at line 56 of file DTTSTheta.h.
References _config.
Referenced by add_btiT(), loadDTTSTheta(), and runDTTSTheta().
|
private |
store DTBtiChip L1Triggers in the TST
Definition at line 82 of file DTTSTheta.cc.
References _bticard, add_btiT(), DTCache< T, Coll >::begin(), config(), gather_cfg::cout, debug, DTCache< T, Coll >::end(), localClear(), AlCaHLTBitMon_ParallelJobs::p, DTGeomSupplier::sector(), DTGeomSupplier::station(), relval_parameters_module::step, and DTGeomSupplier::wheel().
Referenced by reconstruct().
|
private |
Clear.
Definition at line 63 of file DTTSTheta.cc.
References _Htrig, _nHtrig, _ntrig, _trig, DTConfig::NSTEPF, DTConfig::NSTEPL, and BitArray< N >::zero().
Referenced by loadDTTSTheta().
|
virtual |
Local direction in chamber of a L1Trigger-data object.
Implements DTGeomSupplier.
Definition at line 281 of file DTTSTheta.cc.
|
virtual |
Local position in chamber of a L1Trigger-data object.
Implements DTGeomSupplier.
Definition at line 274 of file DTTSTheta.cc.
int DTTSTheta::nHTrig | ( | int | step | ) |
Return number of DTBtiChip fired with a HTRIG (used by DTTracoChip)
Definition at line 243 of file DTTSTheta.cc.
References _nHtrig, gather_cfg::cout, DTConfig::NSTEPF, DTConfig::NSTEPL, DTCache< T, Coll >::size(), and relval_parameters_module::step.
Referenced by DTTracoChip::storeUncorr().
int DTTSTheta::nSegm | ( | int | step | ) |
Return number of TStheta segments (just 1)
Definition at line 212 of file DTTSTheta.cc.
References DTCache< T, Coll >::begin(), DTCache< T, Coll >::end(), gen::n, AlCaHLTBitMon_ParallelJobs::p, and relval_parameters_module::step.
Referenced by DTSCTrigUnit::nThetaSegm().
int DTTSTheta::nTrig | ( | int | step | ) |
Return number of DTBtiChip fired (used by DTTracoChip)
Definition at line 232 of file DTTSTheta.cc.
References _ntrig, gather_cfg::cout, DTConfig::NSTEPF, DTConfig::NSTEPL, DTCache< T, Coll >::size(), and relval_parameters_module::step.
Referenced by DTTracoChip::storeUncorr().
|
virtual |
Print a L1Trigger-data object with also local and global position/direction.
Reimplemented from DTGeomSupplier.
Definition at line 288 of file DTTSTheta.cc.
References DTTrigData::print().
|
inlinevirtual |
Load BTIs triggers and run TSTheta algoritm.
Reimplemented from DTCache< T, Coll >.
Definition at line 83 of file DTTSTheta.h.
References loadDTTSTheta(), and runDTTSTheta().
Referenced by DTTrig::triggerReco().
|
private |
run DTTSTheta algorithm (build the mask)
Definition at line 148 of file DTTSTheta.cc.
References DTCache< T, Coll >::_cache, _ntrig, BitArray< N >::any(), btiMask(), btiQual(), BitArray< N >::byte(), DTGeomSupplier::ChamberId(), config(), gather_cfg::cout, debug, i, DTConfig::NSTEPF, DTConfig::NSTEPL, AlCaHLTBitMon_ParallelJobs::p, DTGeomSupplier::sector(), DTGeomSupplier::station(), and DTGeomSupplier::wheel().
Referenced by reconstruct().
const DTChambThSegm * DTTSTheta::segment | ( | int | step, |
unsigned | n | ||
) |
Return the requested DTTSTheta segment (only the first)
Definition at line 222 of file DTTSTheta.cc.
References DTCache< T, Coll >::begin(), DTCache< T, Coll >::end(), and AlCaHLTBitMon_ParallelJobs::p.
Referenced by DTSCTrigUnit::thetaSegment().
void DTTSTheta::setConfig | ( | const DTConfigManager * | conf | ) |
Set configuration.
Definition at line 74 of file DTTSTheta.cc.
References _config, DTGeomSupplier::ChamberId(), and DTConfigManager::getDTConfigTSTheta().
Referenced by DTSCTrigUnit::setConfig().
|
private |
Definition at line 107 of file DTTSTheta.h.
Referenced by loadDTTSTheta().
|
private |
Definition at line 109 of file DTTSTheta.h.
Referenced by config(), and setConfig().
|
private |
Definition at line 113 of file DTTSTheta.h.
Referenced by add_btiT(), btiQual(), DTTSTheta(), and localClear().
|
private |
Definition at line 115 of file DTTSTheta.h.
Referenced by add_btiT(), DTTSTheta(), localClear(), and nHTrig().
|
private |
Definition at line 114 of file DTTSTheta.h.
Referenced by add_btiT(), DTTSTheta(), localClear(), nTrig(), and runDTTSTheta().
|
private |
Definition at line 112 of file DTTSTheta.h.
Referenced by add_btiT(), btiMask(), DTTSTheta(), and localClear().