#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 38 of file DTTracoCand.h.
|
inline |
Constructor.
Definition at line 42 of file DTTracoCand.h.
References operator=(), and ~DTTracoCand().
DTTracoCand::DTTracoCand | ( | DTTracoChip * | tc, |
const DTBtiTrigData * | btitr, | ||
int | pos, | ||
int | step | ||
) |
Constructor.
Definition at line 39 of file DTTracoCand.cc.
References _tcK, _tcX, funct::abs(), DTTracoChip::BTIC(), DTBtiTrigData::btiSL(), gather_cfg::cout, DTTracoChip::IBTIOFF(), DTBtiTrigData::K(), DTTracoChip::KRad(), DTConfig::NBTITC, and DTBtiTrigData::X().
DTTracoCand::DTTracoCand | ( | const DTTracoCand & | tccand | ) |
DTTracoCand::~DTTracoCand | ( | ) |
|
inline |
Return associated BTI trigger.
Definition at line 69 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 78 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 87 of file DTTracoCand.h.
DTTracoCand & DTTracoCand::operator= | ( | const DTTracoCand & | tccand | ) |
Assignment operator.
Definition at line 107 of file DTTracoCand.cc.
References _btitr, _position, _step, _tcK, _tcX, _traco, and _usable.
Referenced by DTTracoCand().
|
inline |
Return position inside TRACO.
Definition at line 75 of file DTTracoCand.h.
References _position.
Referenced by DTTracoChip::AdjBtiLTSuppressed(), and DTTracoChip::setPV().
void DTTracoCand::print | ( | void | ) | const |
Print candidate.
Definition at line 120 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 operator<(), DTTracoChip::run(), DTTracoChip::setPV(), DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
void DTTracoCand::setBits | ( | int | itk | ) |
set quality bits for first/second track
Referenced by setUnused().
|
inline |
set candidate unused (usable)
Definition at line 60 of file DTTracoCand.h.
References _usable, and setBits().
Referenced by DTTracoChip::storeUncorr().
|
inline |
set candidate used (unusable)
Definition at line 57 of file DTTracoCand.h.
References _usable.
Referenced by DTTracoChip::run().
|
inline |
Return Bunch crossing.
Definition at line 72 of file DTTracoCand.h.
References _step.
Referenced by DTTracoChip::AdjBtiLTSuppressed(), and DTTracoChip::setPV().
|
inline |
|
inline |
|
inline |
Return local X coordinate.
Definition at line 81 of file DTTracoCand.h.
References _tcX.
Referenced by svgfig.Curve.Sample::__repr__(), DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
|
private |
Definition at line 109 of file DTTracoCand.h.
Referenced by BtiTrig(), operator=(), and print().
|
private |
Definition at line 112 of file DTTracoCand.h.
|
private |
Definition at line 114 of file DTTracoCand.h.
Referenced by operator=(), position(), and print().
|
private |
Definition at line 113 of file DTTracoCand.h.
Referenced by operator=(), print(), and step().
|
private |
Definition at line 117 of file DTTracoCand.h.
Referenced by DTTracoCand(), K(), operator<(), operator=(), and print().
|
private |
Definition at line 116 of file DTTracoCand.h.
Referenced by DTTracoCand(), operator=(), and X().
|
private |
Definition at line 107 of file DTTracoCand.h.
Referenced by operator=(), print(), and Traco().
|
private |
Definition at line 115 of file DTTracoCand.h.
Referenced by operator=(), setUnused(), setUsed(), and usable().