#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 |
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 70 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 79 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 88 of file DTTracoCand.h.
References _tcK.
DTTracoCand & DTTracoCand::operator= | ( | const DTTracoCand & | tccand | ) |
|
inline |
Return position inside TRACO.
Definition at line 76 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 61 of file DTTracoCand.h.
References _usable.
Referenced by DTTracoChip::storeUncorr().
|
inline |
set candidate used (unusable)
Definition at line 58 of file DTTracoCand.h.
References _usable.
Referenced by DTTracoChip::run().
|
inline |
Return Bunch crossing.
Definition at line 73 of file DTTracoCand.h.
References _step.
Referenced by DTTracoChip::AdjBtiLTSuppressed(), and DTTracoChip::setPV().
|
inline |
|
inline |
|
inline |
Return local X coordinate.
Definition at line 82 of file DTTracoCand.h.
References _tcX.
Referenced by svgfig.Curve.Sample::__repr__(), DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
|
private |
Definition at line 110 of file DTTracoCand.h.
Referenced by BtiTrig(), operator=(), and print().
|
private |
Definition at line 113 of file DTTracoCand.h.
|
private |
Definition at line 115 of file DTTracoCand.h.
Referenced by operator=(), position(), and print().
|
private |
Definition at line 114 of file DTTracoCand.h.
Referenced by operator=(), print(), and step().
|
private |
Definition at line 118 of file DTTracoCand.h.
Referenced by DTTracoCand(), K(), operator<(), operator=(), and print().
|
private |
Definition at line 117 of file DTTracoCand.h.
Referenced by DTTracoCand(), operator=(), and X().
|
private |
Definition at line 108 of file DTTracoCand.h.
Referenced by operator=(), print(), and Traco().
|
private |
Definition at line 116 of file DTTracoCand.h.
Referenced by operator=(), setUnused(), setUsed(), and usable().