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