#include <DTTracoCand.h>
Public Member Functions | |
const DTBtiTrigData * | BtiTrig () const |
Return associated BTI trigger. More... | |
DTTracoCand () | |
Constructor. More... | |
DTTracoCand (const DTTracoCand &tccand) | |
Constructor. More... | |
DTTracoCand (DTTracoChip *tc, const DTBtiTrigData *btitr, int pos, int step) | |
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 68 of file DTTracoCand.h.
References _btitr.
Referenced by DTTracoChip::AdjBtiLTSuppressed(), DTTracoChip::DoAdjBtiLts(), DTTracoChip::setPV(), and DTTracoChip::storeUncorr().
|
inline |
Return K-KRAD.
Definition at line 77 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 86 of file DTTracoCand.h.
References _tcK, and HltBtagPostValidation_cff::c.
DTTracoCand & DTTracoCand::operator= | ( | const DTTracoCand & | tccand | ) |
|
inline |
Return position inside TRACO.
Definition at line 74 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 DTTracoChip::setPV().
void DTTracoCand::setBits | ( | int | itk | ) |
set quality bits for first/second track
|
inline |
|
inline |
|
inline |
Return Bunch crossing.
Definition at line 71 of file DTTracoCand.h.
References _step.
Referenced by DTTracoChip::AdjBtiLTSuppressed(), and DTTracoChip::setPV().
|
inline |
|
inline |
|
inline |
Return local X coordinate.
Definition at line 80 of file DTTracoCand.h.
References _tcX.
Referenced by svgfig.Curve.Sample::__repr__(), and DTTracoChip::storeUncorr().
|
private |
Definition at line 108 of file DTTracoCand.h.
Referenced by BtiTrig(), operator=(), and print().
|
private |
Definition at line 111 of file DTTracoCand.h.
|
private |
Definition at line 113 of file DTTracoCand.h.
Referenced by operator=(), position(), and print().
|
private |
Definition at line 112 of file DTTracoCand.h.
Referenced by operator=(), print(), and step().
|
private |
Definition at line 116 of file DTTracoCand.h.
Referenced by DTTracoCand(), K(), operator<(), operator=(), and print().
|
private |
Definition at line 115 of file DTTracoCand.h.
Referenced by DTTracoCand(), operator=(), and X().
|
private |
Definition at line 106 of file DTTracoCand.h.
Referenced by operator=(), print(), and Traco().
|
private |
Definition at line 114 of file DTTracoCand.h.
Referenced by operator=(), setUnused(), setUsed(), and usable().