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