#include <DTTracoCard.h>
Public Member Functions | |
void | clearCache () |
Clear all traco stuff (cache & map) More... | |
const DTConfigLUTs * | config_luts () const |
Return LUTS config for this chamber (=minicrate) More... | |
bool | debug () |
Return TU debug flag. More... | |
DTTracoCard (DTTrigGeom *, DTBtiCard *, DTTSTheta *) | |
Constructor. More... | |
DTTracoChip * | getTRACO (const DTTracoId &tracoid) const |
Returns the required DTTracoChip. Return 0 if it doesn't exist. More... | |
DTTracoChip * | getTRACO (int n) const |
Returns the required DTTracoChip. Return 0 if it doesn't exist. More... | |
LocalVector | localDirection (const DTTrigData *) const override |
NEWGEO Local direction in chamber of a trigger-data object. More... | |
LocalPoint | localPosition (const DTTrigData *) const override |
NEWGEO Local position in chamber of a trigger-data object. More... | |
bool | lutFromDBFlag () |
Return lut computation option (DB/geometry) More... | |
void | reconstruct () override |
Load BTIs triggers and run TRACOs algorithm. More... | |
void | setConfig (const DTConfigManager *conf) |
Set configuration. More... | |
DTTracoTrig * | storeTrigger (DTTracoTrigData) |
std::vector< DTTracoChip * > | tracoList () |
Returns the active TRACO list. More... | |
DTTSTheta * | TSTh () const |
Return TSTheta. More... | |
bool | useAcceptParamFlag () |
Return acceptance flag. More... | |
~DTTracoCard () 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 | |
DTTracoChip * | activeGetTRACO (const DTTracoId &tracoid) |
Returns the required DTTracoChip. Create it if it doesn't exist. More... | |
DTTracoChip * | activeGetTRACO (int) |
Returns the required DTTracoChip. Create it if it doesn't exist. More... | |
DTConfigTraco * | config_traco (const DTTracoId &tracoid) const |
Return single TRACO config. More... | |
void | loadTRACO () |
store BTI triggers in TRACO's More... | |
void | localClear () |
clear the TRACO map More... | |
void | runTRACO () |
run TRACO algorithm More... | |
Private Attributes | |
DTBtiCard * | _bticard |
const DTConfigLUTs * | _conf_luts |
ConfTracoMap | _conf_traco_map |
bool | _debug |
bool | _flag_acc |
bool | _lut_from_db |
TRACOContainer | _tracomap |
DTTSTheta * | _tstheta |
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 |
Contains active DTTracoChips
Modifications: III/07 : SV configuration with DTConfigManager
Definition at line 58 of file DTTracoCard.h.
DTTracoCard::DTTracoCard | ( | DTTrigGeom * | geo, |
DTBtiCard * | bticard, | ||
DTTSTheta * | tstheta | ||
) |
|
override |
|
inlineprivate |
Returns the required DTTracoChip. Create it if it doesn't exist.
Definition at line 127 of file DTTracoCard.h.
References activeGetTRACO(), and DTTracoId::traco().
Referenced by activeGetTRACO().
|
private |
Returns the required DTTracoChip. Create it if it doesn't exist.
Definition at line 270 of file DTTracoCard.cc.
References _tracomap, config_traco(), DTGeomSupplier::geom(), dqmiodumpmetadata::n, and DTTrigGeom::statId().
Referenced by loadTRACO(), and storeTrigger().
void DTTracoCard::clearCache | ( | ) |
Clear all traco stuff (cache & map)
Definition at line 61 of file DTTracoCard.cc.
References DTCache< T, Coll >::clearCache(), and localClear().
Referenced by reconstruct(), and DTTrig::triggerReco().
|
inline |
Return LUTS config for this chamber (=minicrate)
Definition at line 108 of file DTTracoCard.h.
References _conf_luts.
Referenced by DTTracoChip::DTTracoChip().
|
private |
Return single TRACO config.
Definition at line 436 of file DTTracoCard.cc.
References _conf_traco_map, gather_cfg::cout, DTTracoId::sector(), DTTracoId::station(), DTTracoId::traco(), and DTTracoId::wheel().
Referenced by activeGetTRACO(), localDirection(), and localPosition().
|
inline |
Return TU debug flag.
Definition at line 74 of file DTTracoCard.h.
References _debug.
Referenced by loadTRACO(), localDirection(), and runTRACO().
|
inline |
Returns the required DTTracoChip. Return 0 if it doesn't exist.
Definition at line 83 of file DTTracoCard.h.
References getTRACO(), and DTTracoId::traco().
Referenced by getTRACO().
DTTracoChip * DTTracoCard::getTRACO | ( | int | n | ) | const |
Returns the required DTTracoChip. Return 0 if it doesn't exist.
Definition at line 286 of file DTTracoCard.cc.
References _tracomap, and dqmiodumpmetadata::n.
Referenced by DTTracoChip::setFlag().
|
private |
store BTI triggers in TRACO's
Definition at line 92 of file DTTracoCard.cc.
References _bticard, _flag_acc, activeGetTRACO(), DTTracoChip::add_btiT(), DTCache< T, Coll >::begin(), reco::ceil(), L1DTConfigBti_cff::CH, DTConfigBti::CH(), L1DTConfigBti_cff::CL, DTConfigBti::CL(), DTBtiCard::config_bti(), gather_cfg::cout, debug(), DTCache< T, Coll >::end(), DTGeomSupplier::geom(), createfilelist::int, L1DTConfigBti_cff::LH, DTConfigBti::LH(), L1DTConfigBti_cff::LL, DTConfigBti::LL(), localClear(), DTConfig::NBTITC, AlCaHLTBitMon_ParallelJobs::p, L1DTConfigBti_cff::RH, DTConfigBti::RH(), L1DTConfigBti_cff::RL, DTConfigBti::RL(), DTGeomSupplier::sector(), DTGeomSupplier::station(), and DTGeomSupplier::wheel().
Referenced by reconstruct().
|
private |
clear the TRACO map
Definition at line 84 of file DTTracoCard.cc.
References _tracomap, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by clearCache(), loadTRACO(), and ~DTTracoCard().
|
overridevirtual |
NEWGEO Local direction in chamber of a trigger-data object.
Implements DTGeomSupplier.
Definition at line 403 of file DTTracoCard.cc.
References L1DTConfigLUTs_cff::BTIC, DTTrigGeom::cellPitch(), config_traco(), funct::cos(), gather_cfg::cout, debug(), DTTrigGeom::distSL(), DTGeomSupplier::geom(), funct::sin(), and ClusterTask_cfi::trig.
Referenced by DTTracoChip::calculateAngles(), and DTTSPhi::localDirection().
|
overridevirtual |
NEWGEO Local position in chamber of a trigger-data object.
Implements DTGeomSupplier.
Definition at line 351 of file DTTracoCard.cc.
References L1DTConfigLUTs_cff::BTIC, DTTrigGeom::cellPitch(), config_traco(), gather_cfg::cout, DTTrigGeom::distSL(), dqmMemoryStats::float, DTGeomSupplier::geom(), DTTrigGeom::localPosition(), ClusterTask_cfi::trig, x, y, and z.
Referenced by DTTSPhi::localPosition().
|
inline |
Return lut computation option (DB/geometry)
Definition at line 114 of file DTTracoCard.h.
References _lut_from_db.
Referenced by DTTracoChip::calculateAngles(), DTTracoChip::DTTracoChip(), and DTTracoChip::~DTTracoChip().
|
inlineoverridevirtual |
Load BTIs triggers and run TRACOs algorithm.
Reimplemented from DTCache< T, Coll >.
Definition at line 101 of file DTTracoCard.h.
References clearCache(), loadTRACO(), and runTRACO().
Referenced by DTTrig::triggerReco().
|
private |
run TRACO algorithm
Definition at line 214 of file DTTracoCard.cc.
References DTCache< T, Coll >::_cache, _tracomap, gather_cfg::cout, debug(), DTConfig::NSTEPF, DTConfig::NSTEPL, DTTracoChip::nTrig(), DTTracoChip::run(), DTGeomSupplier::sector(), DTGeomSupplier::station(), DTTracoChip::triggerData(), DTTracoChip::useSecondTrack(), and DTGeomSupplier::wheel().
Referenced by reconstruct().
void DTTracoCard::setConfig | ( | const DTConfigManager * | conf | ) |
Set configuration.
Definition at line 66 of file DTTracoCard.cc.
References _conf_luts, _conf_traco_map, _debug, _flag_acc, _lut_from_db, DTGeomSupplier::ChamberId(), DTConfigManager::getDTConfigLUTs(), DTConfigManager::getDTConfigTracoMap(), DTConfigManager::getDTTPGDebug(), DTConfigManager::lutFromDB(), and DTConfigManager::useAcceptParam().
Referenced by DTSCTrigUnit::setConfig().
DTTracoTrig * DTTracoCard::storeTrigger | ( | DTTracoTrigData | td | ) |
Returns a DTTracoTrig corresponding to a DTTracoTrigData. Creates the corresponding TRACO chip if needed and stores the trigger
Definition at line 305 of file DTTracoCard.cc.
References activeGetTRACO(), DTTracoChip::addTrig(), gather_cfg::cout, DTTracoTrigData::parentId(), DTTracoId::sector(), DTGeomSupplier::sector(), DTTracoId::station(), DTGeomSupplier::station(), DTTracoTrigData::step(), DTTracoId::traco(), ClusterTask_cfi::trig, DTTracoId::wheel(), and DTGeomSupplier::wheel().
std::vector< DTTracoChip * > DTTracoCard::tracoList | ( | ) |
Returns the active TRACO list.
Definition at line 293 of file DTTracoCard.cc.
References _tracomap, AlCaHLTBitMon_ParallelJobs::p, and DTCache< T, Coll >::size().
|
inline |
Return TSTheta.
Definition at line 77 of file DTTracoCard.h.
References _tstheta.
Referenced by DTTracoChip::storeUncorr().
|
inline |
Return acceptance flag.
Definition at line 111 of file DTTracoCard.h.
References _flag_acc.
Referenced by DTTracoChip::add_btiT().
|
private |
Definition at line 136 of file DTTracoCard.h.
Referenced by loadTRACO().
|
private |
Definition at line 142 of file DTTracoCard.h.
Referenced by config_luts(), and setConfig().
|
private |
Definition at line 140 of file DTTracoCard.h.
Referenced by config_traco(), and setConfig().
|
private |
Definition at line 144 of file DTTracoCard.h.
Referenced by debug(), and setConfig().
|
private |
Definition at line 146 of file DTTracoCard.h.
Referenced by loadTRACO(), setConfig(), and useAcceptParamFlag().
|
private |
Definition at line 147 of file DTTracoCard.h.
Referenced by lutFromDBFlag(), and setConfig().
|
private |
Definition at line 139 of file DTTracoCard.h.
Referenced by activeGetTRACO(), getTRACO(), localClear(), runTRACO(), and tracoList().
|
private |
Definition at line 137 of file DTTracoCard.h.
Referenced by TSTh().