#include <DTTracoCand.h>
Public Member Functions | |
const DTBtiTrigData * | BtiTrig () const |
Return associated BTI trigger. More... | |
DTTracoCand () | |
Constructor. More... | |
DTTracoCand (DTTracoChip *tc, const DTBtiTrigData *btitr, int pos, int step) | |
Constructor. More... | |
DTTracoCand (const DTTracoCand &tccand) | |
Constructor. More... | |
int | K () const |
Return K-KRAD. More... | |
bool | operator< (const DTTracoCand &c) const |
returns true if it has smaller K w.r.t. DTTracoChip center K (sort ascend) More... | |
DTTracoCand & | operator= (const DTTracoCand &tccand) |
Assignment operator. More... | |
int | position () const |
Return position inside TRACO. More... | |
void | print () const |
Print candidate. More... | |
void | setBits (int itk) |
set quality bits for first/second track More... | |
void | setUnused () |
set candidate unused (usable) More... | |
void | setUsed () |
set candidate used (unusable) More... | |
int | step () const |
Return Bunch crossing. More... | |
DTTracoChip * | Traco () const |
Return parent TRACO. More... | |
int | usable () const |
Check if candidate is usable. More... | |
int | X () const |
Return local X coordinate. More... | |
~DTTracoCand () | |
Destructor. More... | |
Private Attributes | |
const DTBtiTrigData * | _btitr |
BitArray< 7 > | _dataword |
int | _position |
int | _step |
int | _tcK |
int | _tcX |
DTTracoChip * | _traco |
int | _usable |
Implementation of DTTracoChip candidate
Modifications: S.V. store BtiTrig pointer instead of TrigData
Definition at line 40 of file DTTracoCand.h.
|
inline |
DTTracoCand::DTTracoCand | ( | DTTracoChip * | tc, |
const DTBtiTrigData * | btitr, | ||
int | pos, | ||
int | step | ||
) |
Constructor.
Definition at line 39 of file DTTracoCand.cc.
References _tcK, _tcX, abs, DTTracoChip::BTIC(), DTBtiTrigData::btiSL(), gather_cfg::cout, DTTracoChip::IBTIOFF(), DTBtiTrigData::K(), DTTracoChip::KRad(), DTConfig::NBTITC, pos, and DTBtiTrigData::X().
DTTracoCand::DTTracoCand | ( | const DTTracoCand & | tccand | ) |
DTTracoCand::~DTTracoCand | ( | ) |
|
inline |
Return associated BTI trigger.
Definition at line 72 of file DTTracoCand.h.
References _btitr.
Referenced by DTTracoChip::AdjBtiLTSuppressed(), DTTracoChip::DoAdjBtiLts(), DTTracoChip::setPV(), DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
|
inline |
Return K-KRAD.
Definition at line 81 of file DTTracoCand.h.
References _tcK.
Referenced by DTTracoChip::setPV().
|
inline |
returns true if it has smaller K w.r.t. DTTracoChip center K (sort ascend)
Definition at line 90 of file DTTracoCand.h.
References _tcK.
DTTracoCand & DTTracoCand::operator= | ( | const DTTracoCand & | tccand | ) |
|
inline |
Return position inside TRACO.
Definition at line 78 of file DTTracoCand.h.
References _position.
Referenced by DTTracoChip::AdjBtiLTSuppressed(), and DTTracoChip::setPV().
void DTTracoCand::print | ( | void | ) | const |
Print candidate.
Definition at line 122 of file DTTracoCand.cc.
References _btitr, _position, _step, _tcK, _traco, DTBtiTrigData::btiNumber(), DTBtiTrigData::btiSL(), DTBtiTrigData::code(), gather_cfg::cout, DTBtiTrigData::K(), DTTracoChip::KRad(), and DTBtiTrigData::X().
Referenced by DTTracoChip::run(), DTTracoChip::setPV(), DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
void DTTracoCand::setBits | ( | int | itk | ) |
set quality bits for first/second track
|
inline |
set candidate unused (usable)
Definition at line 63 of file DTTracoCand.h.
References _usable.
Referenced by DTTracoChip::storeUncorr().
|
inline |
set candidate used (unusable)
Definition at line 60 of file DTTracoCand.h.
References _usable.
Referenced by DTTracoChip::run().
|
inline |
Return Bunch crossing.
Definition at line 75 of file DTTracoCand.h.
References _step.
Referenced by DTTracoChip::AdjBtiLTSuppressed(), and DTTracoChip::setPV().
|
inline |
|
inline |
|
inline |
Return local X coordinate.
Definition at line 84 of file DTTracoCand.h.
References _tcX.
Referenced by svgfig.Curve.Sample::__repr__(), DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
|
private |
Definition at line 112 of file DTTracoCand.h.
Referenced by BtiTrig(), operator=(), and print().
|
private |
Definition at line 115 of file DTTracoCand.h.
|
private |
Definition at line 117 of file DTTracoCand.h.
Referenced by operator=(), position(), and print().
|
private |
Definition at line 116 of file DTTracoCand.h.
Referenced by operator=(), print(), and step().
|
private |
Definition at line 120 of file DTTracoCand.h.
Referenced by DTTracoCand(), K(), operator<(), operator=(), and print().
|
private |
Definition at line 119 of file DTTracoCand.h.
Referenced by DTTracoCand(), operator=(), and X().
|
private |
Definition at line 110 of file DTTracoCand.h.
Referenced by operator=(), print(), and Traco().
|
private |
Definition at line 118 of file DTTracoCand.h.
Referenced by operator=(), setUnused(), setUsed(), and usable().