15 #ifndef DT_TRACO_CARD_H
16 #define DT_TRACO_CARD_H
50 typedef std::map< int,DTTracoChip*,std::less<int> >
TRACOContainer;
DTTSTheta * TSTh() const
Return TSTheta.
void clearCache()
Clear all traco stuff (cache & map)
void runTRACO()
run TRACO algorithm
DTTracoCard(DTTrigGeom *, DTBtiCard *, DTTSTheta *)
Constructor.
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.
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.
~DTTracoCard()
Destructor.
DTConfigTraco * config_traco(const DTTracoId &tracoid) const
Return single TRACO config.
DTCache< DTTracoTrigData, std::vector< DTTracoTrigData > > TRACOCache
LocalPoint localPosition(const DTTrigData *) const
NEWGEO Local position in chamber of a trigger-data object.
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< DTTracoId, DTConfigTraco > ConfTracoMap
void loadTRACO()
store BTI triggers in TRACO's
const DTConfigLUTs * config_luts() const
Return LUTS config for this chamber (=minicrate)
std::map< int, DTTracoChip *, std::less< int > > TRACOContainer
virtual void reconstruct()
Load BTIs triggers and run TRACOs algorithm.
const DTConfigLUTs * _conf_luts
LocalVector localDirection(const DTTrigData *) const
NEWGEO Local direction in chamber of a trigger-data object.