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