#include <DTTracoCard.h>
Public Member Functions | |
void | clearCache () |
Clear all traco stuff (cache & map) More... | |
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 |
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 60 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 _tracomap, config_traco(), DTGeomSupplier::geom(), n, evf::utils::sid, and DTTrigGeom::statId().
Referenced by activeGetTRACO(), loadTRACO(), and storeTrigger().
|
inlineprivate |
Returns the required DTTracoChip. Create it if it doesn't exist.
Definition at line 130 of file DTTracoCard.h.
References activeGetTRACO(), 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 110 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 78 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(), and DTTracoChip::setFlag().
|
inline |
Returns the required DTTracoChip. Return 0 if it doesn't exist.
Definition at line 87 of file DTTracoCard.h.
References getTRACO(), and DTTracoId::traco().
|
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(), DTConfigBti::LH(), DTConfigBti::LL(), localClear(), DTConfig::NBTITC, AlCaHLTBitMon_ParallelJobs::p, pos, DTConfigBti::RH(), DTConfigBti::RL(), DTGeomSupplier::sector(), DTGeomSupplier::station(), relval_parameters_module::step, and DTGeomSupplier::wheel().
Referenced by reconstruct().
|
private |
clear the TRACO map
Definition at line 98 of file DTTracoCard.cc.
References _tracomap, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by 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(), 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(), DTGeomSupplier::geom(), DTTrigGeom::localPosition(), DTTracoTrigData::parentId(), DTTracoTrigData::posIn(), DTTracoTrigData::posOut(), x, DTTracoTrigData::X(), detailsBasic3DVector::y, and detailsBasic3DVector::z.
Referenced by DTTSPhi::localPosition().
|
inline |
Return lut computation option (DB/geometry)
Definition at line 116 of file DTTracoCard.h.
References _lut_from_db.
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 107 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(), relval_parameters_module::step, DTTracoChip::triggerData(), DTTracoChip::useSecondTrack(), and DTGeomSupplier::wheel().
Referenced by 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(), evf::utils::sid, 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(), DTTracoId::station(), DTGeomSupplier::station(), DTTracoTrigData::step(), DTTracoId::traco(), DTTracoId::wheel(), and DTGeomSupplier::wheel().
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().
|
inline |
Return TSTheta.
Definition at line 81 of file DTTracoCard.h.
References _tstheta.
Referenced by DTTracoChip::storeUncorr().
|
inline |
Return acceptance flag.
Definition at line 113 of file DTTracoCard.h.
References _flag_acc.
Referenced by DTTracoChip::add_btiT().
|
private |
Definition at line 142 of file DTTracoCard.h.
Referenced by loadTRACO().
|
private |
Definition at line 148 of file DTTracoCard.h.
Referenced by config_luts(), and setConfig().
|
private |
Definition at line 146 of file DTTracoCard.h.
Referenced by config_traco(), and setConfig().
|
private |
Definition at line 150 of file DTTracoCard.h.
Referenced by debug(), cmsPerfSuite.PerfSuite::optionParse(), cmsPerfSuite.PerfSuite::runCmsReport(), and setConfig().
|
private |
Definition at line 152 of file DTTracoCard.h.
Referenced by loadTRACO(), setConfig(), and useAcceptParamFlag().
|
private |
Definition at line 153 of file DTTracoCard.h.
Referenced by lutFromDBFlag(), and setConfig().
|
private |
Definition at line 145 of file DTTracoCard.h.
Referenced by activeGetTRACO(), getTRACO(), localClear(), runTRACO(), and tracoList().
|
private |
Definition at line 143 of file DTTracoCard.h.
Referenced by TSTh().