Go to the documentation of this file.
14 #ifndef DT_TRACO_CHIP_H
15 #define DT_TRACO_CHIP_H
77 void setPV(
int step,
int ntrk,
int code,
int K);
116 float psiRad(
int sl = 0)
const;
void setPV(int step, int ntrk, int code, int K)
Set the preview values for a TRACO trigger.
int sector() const
Return sector number.
int wheel() const
Return wheel number.
void calculateAngles(DTTracoTrig *)
Calculate trigger angles.
void setFlag(int step, int ext=0)
Set flags for multiple trigger detection between cons. TRACO's.
int BTIC() const
BTIC parameter.
int KRad() const
K par of the radial angle of corr center referred to plane sl.
static const int NSTEPL
Constants: first and last step to start trigger finding.
void run()
Run TRACO algorithm.
int station() const
Return station number.
int insideAngWindow(DTTracoTrig *) const
Check if a trigger is inside the angular acceptance window.
void add_btiT(int step, int pos, const DTBtiTrigData *btitrig)
Add a BTI trigger to the TRACO.
float psiRad(int sl=0) const
Radial angle of correlator center in mrad referred to plane sl.
int nTrig(int step) const
Return the number of trigger candidates.
DTTrigGeom * geom() const
Return trigger geometry.
int edgeBTI(int step, int io, int lr) const
flags for HTRIG in edge BTI
void raiseOverlap(int step)
raise overlap flag
int element(const int pos) const
~DTTracoChip()
Destructor.
DTTracoCand * bestCand(int itk, std::vector< DTTracoCand > &tclist)
Get the best inner/outer candidate.
GlobalPoint CMSPosition() const
Position in CMS frame.
int useSecondTrack(int step) const
a flag for a usable second track
DTTracoChip(DTTracoCard *card, int n, DTConfigTraco *config)
Constructor.
DTTracoTrigData triggerData(int step, unsigned n) const
Return the data part of the requested trigger.
LocalPoint localPosition() const
Position in chamber frame.
LocalPoint localPosition(const DTBtiId) const
Local position in chamber of a BTI.
int sector() const
Return sector number.
int storeUncorr(DTTracoTrig *tctrig, DTTracoCand *inner, DTTracoCand *outer, int tkn)
Store uncorrelated trigger.
std::vector< DTTracoCand > _outerCand[DTConfigTraco::NSTEPL - DTConfigTraco::NSTEPF+1]
DTTracoTrig * trigger(int step, unsigned n) const
Return the requested trigger.
int storeCorr(DTTracoTrig *tctrig, DTTracoCand *inner, DTTracoCand *outer, int tkn)
Check correlation and store correlated trigger.
int ovlFlag(int step)
return overlap flag
int _PSIMIN[4 *DTConfig::NBTITC]
DTTracoChip & operator=(const DTTracoChip &traco)
Assignment operator.
int DD() const
DD parameter.
GlobalPoint CMSPosition(const DTBtiId obj) const
CMS position of a BTI.
std::vector< DTTracoTrig * > _tracotrig[DTConfigTraco::NSTEPL - DTConfigTraco::NSTEPF+1]
DTTracoId id() const
Return TRACO id.
int number() const
Return TRACO number.
BitArray< 32 > _flag[DTConfigTraco::NSTEPL - DTConfigTraco::NSTEPF+1]
void DoAdjBtiLts(DTTracoCand *candidate, std::vector< DTTracoCand > &tclist)
Do suppression of LTRIG on BTI close to selected HTRIG.
int traco() const
Returns the traco.
std::vector< DTTracoCand > _innerCand[DTConfigTraco::NSTEPL - DTConfigTraco::NSTEPF+1]
int wheel() const
Return wheel number.
int _PSIMAX[4 *DTConfig::NBTITC]
DTConfigTraco * config() const
Configuration set.
BitArray< DTConfigTraco::NSTEPL+2 > _bxlts
int IBTIOFF() const
IBTIOFF parameter.
int AdjBtiLTSuppressed(DTTracoCand *candidate)
Do suppression of LTRIG on adjacent TRACO.
int station() const
Return station number.
void addTrig(int step, DTTracoTrig *)
Add a TRACO trigger.
void setTracoAcceptances()
Compute traco chip acceptances.