Go to the documentation of this file.
15 #ifndef DT_TRACO_CARD_H
16 #define DT_TRACO_CARD_H
50 typedef std::map<int, DTTracoChip *, std::less<int>>
TRACOContainer;
DTTracoChip * activeGetTRACO(int)
Returns the required DTTracoChip. Create it if it doesn't exist.
void runTRACO()
run TRACO algorithm
DTTracoCard(DTTrigGeom *, DTBtiCard *, DTTSTheta *)
Constructor.
std::map< int, DTTracoChip *, std::less< int > > TRACOContainer
DTTracoChip * getTRACO(int n) const
Returns the required DTTracoChip. Return 0 if it doesn't exist.
TRACOContainer::const_iterator TRACO_const_iter
TRACOContainer::iterator TRACO_iter
LocalVector localDirection(const DTTrigData *) const override
NEWGEO Local direction in chamber of a trigger-data object.
void reconstruct() override
Load BTIs triggers and run TRACOs algorithm.
void setConfig(const DTConfigManager *conf)
Set configuration.
std::map< DTTracoId, DTConfigTraco > ConfTracoMap
void localClear()
clear the TRACO map
DTTracoTrig * storeTrigger(DTTracoTrigData)
ConfTracoMap _conf_traco_map
~DTTracoCard() override
Destructor.
bool lutFromDBFlag()
Return lut computation option (DB/geometry)
bool useAcceptParamFlag()
Return acceptance flag.
void loadTRACO()
store BTI triggers in TRACO's
bool debug()
Return TU debug flag.
std::vector< DTTracoChip * > tracoList()
Returns the active TRACO list.
DTTracoChip * getTRACO(const DTTracoId &tracoid) const
Returns the required DTTracoChip. Return 0 if it doesn't exist.
DTTSTheta * TSTh() const
Return TSTheta.
int traco() const
Returns the traco.
DTTracoChip * activeGetTRACO(const DTTracoId &tracoid)
Returns the required DTTracoChip. Create it if it doesn't exist.
LocalPoint localPosition(const DTTrigData *) const override
NEWGEO Local position in chamber of a trigger-data object.
const DTConfigLUTs * config_luts() const
Return LUTS config for this chamber (=minicrate)
const DTConfigLUTs * _conf_luts
DTConfigTraco * config_traco(const DTTracoId &tracoid) const
Return single TRACO config.
void clearCache()
Clear all traco stuff (cache & map)
DTCache< DTTracoTrigData, std::vector< DTTracoTrigData > > TRACOCache