84 void addTrig(
int step, std::unique_ptr<DTBtiTrig> btitrig);
107 std::vector<std::unique_ptr<DTBtiTrig>>
const&
trigList(
int step)
const;
145 void sum(
const int s,
const int a,
const int b);
148 int keepTrig(
const int eq,
const int acp,
const int code);
150 bool matchEq(
float eqA,
float eqB,
int AC);
153 int store(
const int eq,
179 std::array<std::vector<const DTDigi*>, 9>
_digis;
188 std::array<std::vector<DTBtiHit*>, 9>
_hits;
DTBtiTrigData triggerData(int step, unsigned n) const
Return the data part of the requested trigger.
LocalPoint localPosition(const DTBtiId) const
Local position in chamber of a BTI.
DTBtiChip(DTBtiCard *card, DTTrigGeom *geom, int supl, int n, DTConfigBti *_config)
original constructor
int sector() const
Return sector number.
std::vector< std::unique_ptr< DTBtiTrig > > const & trigList(int step) const
DTBtiChip & operator=(DTBtiChip &&bti)=delete
Assignment operator.
std::array< std::vector< std::unique_ptr< DTBtiTrig > >, DTConfig::NSTEPL - DTConfig::NSTEPF+1 > _trigs
std::array< std::vector< const DTDigi * >, 9 > _digis
GlobalPoint CMSPosition() const
Position in CMS frame.
int keepTrig(const int eq, const int acp, const int code)
void eraseTrigger(int step, unsigned n)
DTBtiId id() const
Return the DTBtiChip Id.
int store(const int eq, const int code, const int K, const int X, float KeqAB=0., float KeqBC=0., float KeqCD=0., float KeqAC=0., float KeqBD=0., float KeqAD=0.)
int bti() const
Returns the bti.
std::array< int, 9 > _thisStepUsedTimes
void clear()
delete hits and triggers
std::array< float, 25 > _difs
GlobalPoint CMSPosition(const DTBtiId obj) const
CMS position of a BTI.
DTBtiTrig const * trigger(int step, unsigned n) const
Return the requested trigger.
std::array< DTBtiHit *, 9 > _thisStepUsedHit
DTTrigGeom * geom() const
Return trigger geometry.
void run()
Run DTBtiChip algorithm.
int wheel() const
Return wheel number.
int number() const
Return DTBtiChip number.
int superlayer() const
Returns the superlayer.
static const int NSTEPL
Constants: first and last step to start trigger finding.
std::array< int, 9 > _busyStart_clock
int station() const
Return station number.
void sum(const int s, const int a, const int b)
DTConfigBti * config() const
Configuration set.
int station() const
Return station number.
std::array< std::vector< int >, 9 > _digis_clock
int currentIntStep() const
std::array< std::vector< DTBtiHit * >, 9 > _hits
int sector() const
Return sector number.
int reSum23(int a, int b)
LocalPoint localPosition() const
Position in chamber frame (x is the one of first traco in slave plane)
std::vector< const DTDigi * > const & get_CellDigis(int cell) const
get digi vector - SV 28/XI/02
int keepTrigPatt(int flag, const int eq, const int pattType, int hlflag)
bool matchEq(float eqA, float eqB, int AC)
std::array< float, 25 > _sums
int nTrig(int step) const
Number of triggers found.
int wheel() const
Return wheel number.
void add_digi(int cell, const DTDigi *digi)
Add a digi to the DTBtiChip.
void addTrig(int step, std::unique_ptr< DTBtiTrig > btitrig)
void acceptMask(BitArray< 80 > *BitArrPtr, int k, int accep)
int nCellHit() const
Number of cells with hits.
void add_digi_clock(int cell, int clock_digi)
Add a clock digi to the DTBtiChip.
int superlayer() const
Return superlayer.