#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 |
|
inline |
|
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 |
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().
void DTTracoCand::setBits | ( | int | itk | ) |
set quality bits for first/second track
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
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().