void reconstruct() override
Load BTIs triggers and run TSTheta algoritm.
int nHTrig(int step)
Return number of DTBtiChip fired with a HTRIG (used by DTTracoChip)
BitArray< DTConfigTSTheta::NCELLTH > _trig[DTConfigTSTheta::NSTEPL-DTConfigTSTheta::NSTEPF+1]
void add_btiT(int step, const DTBtiTrigData *btitrig)
Add a DTBtiChip L1Trigger to the DTTSTheta.
std::vector< DTChambThSegm > DTChambThVector
int _ntrig[DTConfigTSTheta::NSTEPL-DTConfigTSTheta::NSTEPF+1]
void runDTTSTheta()
run DTTSTheta algorithm (build the mask)
~DTTSTheta() override
Destructor.
const DTChambThSegm * segment(int step, unsigned n)
Return the requested DTTSTheta segment (only the first)
BitArray< DTConfigTSTheta::NCELLTH > * btiMask(int step) const
Return the BitArray of DTBtiChip fired.
const DTConfigTSTheta * config() const
Return configuration.
int _nHtrig[DTConfigTSTheta::NSTEPL-DTConfigTSTheta::NSTEPF+1]
BitArray< DTConfigTSTheta::NCELLTH > * btiQual(int step) const
Return the BitArray of DTBtiChip fired with a HTRIG.
int nSegm(int step)
Return number of TStheta segments (just 1)
LocalVector localDirection(const DTTrigData *) const override
Local direction in chamber of a L1Trigger-data object.
static const int NSTEPL
Constants: first and last step to start trigger finding.
void print(const DTTrigData *trig) const override
Print a L1Trigger-data object with also local and global position/direction.
DTCache< DTChambThSegm, DTChambThVector > DTTSThetaManager
LocalPoint localPosition(const DTTrigData *) const override
Local position in chamber of a L1Trigger-data object.
BitArray< DTConfigTSTheta::NCELLTH > _Htrig[DTConfigTSTheta::NSTEPL-DTConfigTSTheta::NSTEPF+1]
void setConfig(const DTConfigManager *conf)
Set configuration.
void loadDTTSTheta()
store DTBtiChip L1Triggers in the TST
const DTConfigTSTheta * _config
int nTrig(int step)
Return number of DTBtiChip fired (used by DTTracoChip)
DTTSTheta(DTTrigGeom *, DTBtiCard *)
Constructor.