#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 (int n) const |
Returns the required DTTracoChip. Return 0 if it doesn't exist. More... | |
DTTracoChip * | getTRACO (const DTTracoId &tracoid) const |
Returns the required DTTracoChip. Return 0 if it doesn't exist. More... | |
LocalVector | localDirection (const DTTrigData *) const |
NEWGEO Local direction in chamber of a trigger-data object. More... | |
LocalPoint | localPosition (const DTTrigData *) const |
NEWGEO Local position in chamber of a trigger-data object. More... | |
bool | lutFromDBFlag () |
Return lut computation option (DB/geometry) More... | |
virtual void | reconstruct () |
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 () | |
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 (int) |
Returns the required DTTracoChip. Create it if it doesn't exist. More... | |
DTTracoChip * | activeGetTRACO (const DTTracoId &tracoid) |
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 | ||
) |
Constructor.
Definition at line 49 of file DTTracoCard.cc.
DTTracoCard::~DTTracoCard | ( | ) |
|
private |
Returns the required DTTracoChip. Create it if it doesn't exist.
Definition at line 289 of file DTTracoCard.cc.
References electrons_cff::_id, _tracomap, config_traco(), DTGeomSupplier::geom(), gen::n, and DTTrigGeom::statId().
Referenced by activeGetTRACO(), loadTRACO(), lutFromDBFlag(), and storeTrigger().
|
inlineprivate |
Returns the required DTTracoChip. Create it if it doesn't exist.
Definition at line 128 of file DTTracoCard.h.
References activeGetTRACO(), config_traco(), localClear(), and DTTracoId::traco().
void DTTracoCard::clearCache | ( | ) |
Clear all traco stuff (cache & map)
Definition at line 70 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 464 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 76 of file DTTracoCard.h.
References _debug.
Referenced by loadTRACO(), localDirection(), and runTRACO().
DTTracoChip * DTTracoCard::getTRACO | ( | int | n | ) | const |
Returns the required DTTracoChip. Return 0 if it doesn't exist.
Definition at line 307 of file DTTracoCard.cc.
References _tracomap.
Referenced by getTRACO(), DTTracoChip::setFlag(), and TSTh().
|
inline |
Returns the required DTTracoChip. Return 0 if it doesn't exist.
Definition at line 85 of file DTTracoCard.h.
References getTRACO(), localDirection(), localPosition(), storeTrigger(), DTTracoId::traco(), and tracoList().
|
private |
store BTI triggers in TRACO's
Definition at line 107 of file DTTracoCard.cc.
References _bticard, _flag_acc, activeGetTRACO(), DTTracoChip::add_btiT(), DTCache< T, Coll >::begin(), DTConfigBti::CH(), DTConfigBti::CL(), DTBtiCard::config_bti(), gather_cfg::cout, debug(), DTCache< T, Coll >::end(), DTGeomSupplier::geom(), createfilelist::int, DTConfigBti::LH(), DTConfigBti::LL(), localClear(), DTConfig::NBTITC, AlCaHLTBitMon_ParallelJobs::p, DTConfigBti::RH(), DTConfigBti::RL(), DTGeomSupplier::sector(), DTGeomSupplier::station(), and DTGeomSupplier::wheel().
Referenced by lutFromDBFlag(), and reconstruct().
|
private |
clear the TRACO map
Definition at line 98 of file DTTracoCard.cc.
References _tracomap, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by activeGetTRACO(), clearCache(), loadTRACO(), and ~DTTracoCard().
|
virtual |
NEWGEO Local direction in chamber of a trigger-data object.
Implements DTGeomSupplier.
Definition at line 429 of file DTTracoCard.cc.
References DTTrigGeom::cellPitch(), config_traco(), funct::cos(), gather_cfg::cout, debug(), DTTrigGeom::distSL(), DTGeomSupplier::geom(), DTTracoTrigData::K(), DTTracoTrigData::parentId(), and funct::sin().
Referenced by DTTracoChip::calculateAngles(), getTRACO(), and DTTSPhi::localDirection().
|
virtual |
NEWGEO Local position in chamber of a trigger-data object.
Implements DTGeomSupplier.
Definition at line 376 of file DTTracoCard.cc.
References DTTrigGeom::cellPitch(), config_traco(), gather_cfg::cout, DTTrigGeom::distSL(), objects.autophobj::float, DTGeomSupplier::geom(), DTTrigGeom::localPosition(), DTTracoTrigData::parentId(), DTTracoTrigData::posIn(), DTTracoTrigData::posOut(), x, DTTracoTrigData::X(), y, and z.
Referenced by getTRACO(), and DTTSPhi::localPosition().
|
inline |
Return lut computation option (DB/geometry)
Definition at line 114 of file DTTracoCard.h.
References _lut_from_db, activeGetTRACO(), loadTRACO(), and runTRACO().
Referenced by DTTracoChip::calculateAngles(), DTTracoChip::DTTracoChip(), and DTTracoChip::~DTTracoChip().
|
inlinevirtual |
Load BTIs triggers and run TRACOs algorithm.
Reimplemented from DTCache< T, Coll >.
Definition at line 105 of file DTTracoCard.h.
References clearCache(), loadTRACO(), and runTRACO().
Referenced by DTTrig::triggerReco().
|
private |
run TRACO algorithm
Definition at line 235 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 lutFromDBFlag(), and reconstruct().
void DTTracoCard::setConfig | ( | const DTConfigManager * | conf | ) |
Set configuration.
Definition at line 78 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 328 of file DTTracoCard.cc.
References activeGetTRACO(), DTTracoChip::addTrig(), gather_cfg::cout, DTTracoTrigData::parentId(), DTTracoId::sector(), DTGeomSupplier::sector(), DTGeomSupplier::station(), DTTracoId::station(), DTTracoTrigData::step(), DTTracoId::traco(), DTGeomSupplier::wheel(), and DTTracoId::wheel().
Referenced by getTRACO().
std::vector< DTTracoChip * > DTTracoCard::tracoList | ( | ) |
Returns the active TRACO list.
Definition at line 314 of file DTTracoCard.cc.
References _tracomap, AlCaHLTBitMon_ParallelJobs::p, and DTCache< T, Coll >::size().
Referenced by getTRACO().
|
inline |
Return TSTheta.
Definition at line 79 of file DTTracoCard.h.
References _tstheta, getTRACO(), and gen::n.
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 140 of file DTTracoCard.h.
Referenced by loadTRACO().
|
private |
Definition at line 146 of file DTTracoCard.h.
Referenced by config_luts(), and setConfig().
|
private |
Definition at line 144 of file DTTracoCard.h.
Referenced by config_traco(), and setConfig().
|
private |
Definition at line 148 of file DTTracoCard.h.
Referenced by debug(), cmsPerfSuite.PerfSuite::optionParse(), cmsPerfSuite.PerfSuite::runCmsReport(), and setConfig().
|
private |
Definition at line 150 of file DTTracoCard.h.
Referenced by loadTRACO(), setConfig(), and useAcceptParamFlag().
|
private |
Definition at line 151 of file DTTracoCard.h.
Referenced by lutFromDBFlag(), and setConfig().
|
private |
Definition at line 143 of file DTTracoCard.h.
Referenced by activeGetTRACO(), getTRACO(), localClear(), runTRACO(), and tracoList().
|
private |
Definition at line 141 of file DTTracoCard.h.
Referenced by TSTh().