#include <DTTracoChip.h>
Public Member Functions | |
void | add_btiT (int step, int pos, const DTBtiTrigData *btitrig) |
Add a BTI trigger to the TRACO. More... | |
void | addTrig (int step, DTTracoTrig *) |
Add a TRACO trigger. More... | |
int | BTIC () const |
BTIC parameter. More... | |
void | calculateAngles (DTTracoTrig *) |
Calculate trigger angles. More... | |
void | clear () |
Clear. More... | |
GlobalPoint | CMSPosition () const |
Position in CMS frame. More... | |
DTConfigTraco * | config () const |
Configuration set. More... | |
int | DD () const |
DD parameter. More... | |
DTTracoChip (DTTracoCard *card, int n, DTConfigTraco *config) | |
Constructor. More... | |
DTTracoChip (const DTTracoChip &traco) | |
Copy constructor. More... | |
int | edgeBTI (int step, int io, int lr) const |
flags for HTRIG in edge BTI More... | |
DTTrigGeom * | geom () const |
Return trigger geometry. More... | |
int | IBTIOFF () const |
IBTIOFF parameter. More... | |
DTTracoId | id () const |
Return TRACO id. More... | |
int | KRad () const |
K par of the radial angle of corr center referred to plane sl. More... | |
LocalPoint | localPosition () const |
Position in chamber frame. More... | |
int | nTrig (int step) const |
Return the number of trigger candidates. More... | |
int | number () const |
Return TRACO number. More... | |
DTTracoChip & | operator= (const DTTracoChip &traco) |
Assignment operator. More... | |
int | ovlFlag (int step) |
return overlap flag More... | |
float | psiRad (int sl=0) const |
Radial angle of correlator center in mrad referred to plane sl. More... | |
void | raiseOverlap (int step) |
raise overlap flag More... | |
void | run () |
Run TRACO algorithm. More... | |
int | sector () const |
Return sector number. More... | |
void | setFlag (int step, int ext=0) |
Set flags for multiple trigger detection between cons. TRACO's. More... | |
void | setPV (int step, int ntrk, int code, int K) |
Set the preview values for a TRACO trigger. More... | |
int | station () const |
Return station number. More... | |
DTTracoTrig * | trigger (int step, unsigned n) const |
Return the requested trigger. More... | |
DTTracoTrigData | triggerData (int step, unsigned n) const |
Return the data part of the requested trigger. More... | |
int | useSecondTrack (int step) const |
a flag for a usable second track More... | |
int | wheel () const |
Return wheel number. More... | |
~DTTracoChip () | |
Destructor. More... | |
Private Member Functions | |
int | AdjBtiLTSuppressed (DTTracoCand *candidate) |
Do suppression of LTRIG on adjacent TRACO. More... | |
DTTracoCand * | bestCand (int itk, std::vector< DTTracoCand > &tclist) |
Get the best inner/outer candidate. More... | |
void | DoAdjBtiLts (DTTracoCand *candidate, std::vector< DTTracoCand > &tclist) |
Do suppression of LTRIG on BTI close to selected HTRIG. More... | |
int | insideAngWindow (DTTracoTrig *) const |
Check if a trigger is inside the angular acceptance window. More... | |
DTTracoTrig * | setPV (int itk, DTTracoCand *inner, DTTracoCand *outer) |
Set the preview for a trigger. More... | |
void | setTracoAcceptances () |
Compute traco chip acceptances. More... | |
int | storeCorr (DTTracoTrig *tctrig, DTTracoCand *inner, DTTracoCand *outer, int tkn) |
Check correlation and store correlated trigger. More... | |
int | storeUncorr (DTTracoTrig *tctrig, DTTracoCand *inner, DTTracoCand *outer, int tkn) |
Store uncorrelated trigger. More... | |
Private Attributes | |
int | _btic |
BitArray< DTConfigTraco::NSTEPL+2 > | _bxlts |
DTTracoCard * | _card |
DTConfigTraco * | _config |
int | _dd |
BitArray< 32 > | _flag [DTConfigTraco::NSTEPL-DTConfigTraco::NSTEPF+1] |
DTTrigGeom * | _geom |
int | _ibtioff |
DTTracoId | _id |
std::vector< DTTracoCand > | _innerCand [DTConfigTraco::NSTEPL-DTConfigTraco::NSTEPF+1] |
int | _krad |
DTTracoLUTs * | _luts |
Lut * | _lutsCCB |
std::vector< DTTracoCand > | _outerCand [DTConfigTraco::NSTEPL-DTConfigTraco::NSTEPF+1] |
int | _PSIMAX [4 *DTConfig::NBTITC] |
int | _PSIMIN [4 *DTConfig::NBTITC] |
std::vector< DTTracoTrig * > | _tracotrig [DTConfigTraco::NSTEPL-DTConfigTraco::NSTEPF+1] |
Implementation of TRACO trigger algorithm. Internally uses DTTracoCand to store BTI triggers
Definition at line 53 of file DTTracoChip.h.
DTTracoChip::DTTracoChip | ( | DTTracoCard * | card, |
int | n, | ||
DTConfigTraco * | config | ||
) |
DTTracoChip::DTTracoChip | ( | const DTTracoChip & | traco | ) |
Copy constructor.
Definition at line 153 of file DTTracoChip.cc.
DTTracoChip::~DTTracoChip | ( | ) |
Destructor.
Definition at line 183 of file DTTracoChip.cc.
void DTTracoChip::add_btiT | ( | int | step, |
int | pos, | ||
const DTBtiTrigData * | btitrig | ||
) |
Add a BTI trigger to the TRACO.
Definition at line 990 of file DTTracoChip.cc.
void DTTracoChip::addTrig | ( | int | step, |
DTTracoTrig * | tctrig | ||
) |
Add a TRACO trigger.
Definition at line 1059 of file DTTracoChip.cc.
|
private |
Do suppression of LTRIG on adjacent TRACO.
Definition at line 554 of file DTTracoChip.cc.
|
private |
Get the best inner/outer candidate.
Definition at line 471 of file DTTracoChip.cc.
|
inline |
BTIC parameter.
Definition at line 125 of file DTTracoChip.h.
Referenced by DTTracoCand::DTTracoCand().
void DTTracoChip::calculateAngles | ( | DTTracoTrig * | tct | ) |
Calculate trigger angles.
Definition at line 1210 of file DTTracoChip.cc.
void DTTracoChip::clear | ( | void | ) |
Clear.
Definition at line 237 of file DTTracoChip.cc.
|
inline |
Position in CMS frame.
Definition at line 152 of file DTTracoChip.h.
|
inline |
|
inline |
DD parameter.
Definition at line 131 of file DTTracoChip.h.
|
private |
Do suppression of LTRIG on BTI close to selected HTRIG.
Definition at line 532 of file DTTracoChip.cc.
int DTTracoChip::edgeBTI | ( | int | step, |
int | io, | ||
int | lr | ||
) | const |
flags for HTRIG in edge BTI
Definition at line 1169 of file DTTracoChip.cc.
|
inline |
Return trigger geometry.
Definition at line 97 of file DTTracoChip.h.
|
inline |
IBTIOFF parameter.
Definition at line 128 of file DTTracoChip.h.
Referenced by DTTracoCand::DTTracoCand().
|
inline |
Return TRACO id.
Definition at line 100 of file DTTracoChip.h.
Referenced by DTTracoTrig::DTTracoTrig().
|
private |
Check if a trigger is inside the angular acceptance window.
Definition at line 1335 of file DTTracoChip.cc.
int DTTracoChip::KRad | ( | ) | const |
K par of the radial angle of corr center referred to plane sl.
Definition at line 1144 of file DTTracoChip.cc.
Referenced by DTTracoCand::DTTracoCand(), and DTTracoCand::print().
|
inline |
Position in chamber frame.
Definition at line 149 of file DTTracoChip.h.
int DTTracoChip::nTrig | ( | int | step | ) | const |
Return the number of trigger candidates.
Definition at line 1078 of file DTTracoChip.cc.
|
inline |
Return TRACO number.
Definition at line 91 of file DTTracoChip.h.
DTTracoChip & DTTracoChip::operator= | ( | const DTTracoChip & | traco | ) |
Assignment operator.
Definition at line 205 of file DTTracoChip.cc.
|
inline |
return overlap flag
Definition at line 158 of file DTTracoChip.h.
float DTTracoChip::psiRad | ( | int | sl = 0 | ) | const |
Radial angle of correlator center in mrad referred to plane sl.
Definition at line 1122 of file DTTracoChip.cc.
void DTTracoChip::raiseOverlap | ( | int | step | ) |
raise overlap flag
Definition at line 419 of file DTTracoChip.cc.
void DTTracoChip::run | ( | void | ) |
Run TRACO algorithm.
Definition at line 255 of file DTTracoChip.cc.
|
inline |
Return sector number.
Definition at line 109 of file DTTracoChip.h.
void DTTracoChip::setFlag | ( | int | step, |
int | ext = 0 |
||
) |
Set flags for multiple trigger detection between cons. TRACO's.
Definition at line 426 of file DTTracoChip.cc.
void DTTracoChip::setPV | ( | int | step, |
int | ntrk, | ||
int | code, | ||
int | K | ||
) |
Set the preview values for a TRACO trigger.
|
private |
Set the preview for a trigger.
Definition at line 573 of file DTTracoChip.cc.
|
private |
Compute traco chip acceptances.
Definition at line 1361 of file DTTracoChip.cc.
|
inline |
Return station number.
Definition at line 106 of file DTTracoChip.h.
|
private |
Check correlation and store correlated trigger.
Definition at line 648 of file DTTracoChip.cc.
|
private |
Store uncorrelated trigger.
Definition at line 796 of file DTTracoChip.cc.
DTTracoTrig * DTTracoChip::trigger | ( | int | step, |
unsigned | n | ||
) | const |
Return the requested trigger.
Definition at line 1088 of file DTTracoChip.cc.
DTTracoTrigData DTTracoChip::triggerData | ( | int | step, |
unsigned | n | ||
) | const |
Return the data part of the requested trigger.
Definition at line 1105 of file DTTracoChip.cc.
int DTTracoChip::useSecondTrack | ( | int | step | ) | const |
a flag for a usable second track
Definition at line 1157 of file DTTracoChip.cc.
|
inline |
Return wheel number.
Definition at line 103 of file DTTracoChip.h.
|
private |
Definition at line 197 of file DTTracoChip.h.
|
private |
Definition at line 209 of file DTTracoChip.h.
|
private |
Definition at line 192 of file DTTracoChip.h.
|
private |
Definition at line 194 of file DTTracoChip.h.
|
private |
Definition at line 199 of file DTTracoChip.h.
|
private |
Definition at line 215 of file DTTracoChip.h.
|
private |
Definition at line 189 of file DTTracoChip.h.
|
private |
Definition at line 198 of file DTTracoChip.h.
|
private |
Definition at line 190 of file DTTracoChip.h.
|
private |
Definition at line 202 of file DTTracoChip.h.
|
private |
Definition at line 196 of file DTTracoChip.h.
|
private |
Definition at line 222 of file DTTracoChip.h.
|
private |
Definition at line 224 of file DTTracoChip.h.
|
private |
Definition at line 203 of file DTTracoChip.h.
|
private |
Definition at line 219 of file DTTracoChip.h.
|
private |
Definition at line 218 of file DTTracoChip.h.
|
private |
Definition at line 206 of file DTTracoChip.h.