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