149 void sum(
const int s,
const int a,
const int b);
152 int keepTrig(
const int eq,
const int acp,
const int code);
154 bool matchEq(
float eqA,
float eqB,
int AC);
157 int store(
const int eq,
const int code,
const int K,
const int X,
158 float KeqAB=0.,
float KeqBC=0.,
float KeqCD=0.,
159 float KeqAC=0.,
float KeqBD=0.,
float KeqAD=0.);
DTBtiChip(DTBtiCard *card, DTTrigGeom *geom, int supl, int n, DTConfigBti *_config)
original constructor
int sector() const
Return sector number.
std::vector< const DTDigi * > _digis[9]
std::vector< const DTDigi * > get_CellDigis(int cell)
get digi vector - SV 28/XI/02
DTBtiHit * _thisStepUsedHit[9]
int wheel() const
Return wheel number.
int superlayer() const
Return superlayer.
std::vector< DTBtiHit * > _hits[9]
int _thisStepUsedTimes[9]
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.)
int sector() const
Return sector number.
void clear()
delete hits and triggers
DTBtiId id() const
Return the DTBtiChip Id.
std::vector< DTBtiTrig * > trigList(int step) const
std::vector< int > _digis_clock[9]
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.
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.
GlobalPoint CMSPosition() const
Position in CMS frame.
void sum(const int s, const int a, const int b)
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.
void addTrig(int step, DTBtiTrig *btitrig)
int reSum23(int a, int b)
DTBtiChip & operator=(const DTBtiChip &bti)
Assignment operator.
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::vector< DTBtiTrig * > _trigs[DTConfig::NSTEPL-DTConfig::NSTEPF+1]
int nCellHit() const
Number of cells with hits.
DTBtiTrig * trigger(int step, unsigned n) const
Return the requested trigger.
void add_digi(int cell, const DTDigi *digi)
Add a digi to the DTBtiChip.
DTConfigBti * config() const
Configuration set.
int station() const
Return station number.
void acceptMask(BitArray< 80 > *BitArrPtr, int k, int accep)
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.