37 : _tss(tss), _tctrig(tctrig), _tcPos(pos), _isCarry(0) {
64 if (
this != &tscand) {
87 std::cout <<
"DTTSCand::setBitsTss() pvK outside valid range: " 89 std::cout <<
" deltaPsiR set to 31" << std::endl;
130 std::cout <<
"DTTSCand::DTTSCand(): masking not correct: ";
132 std::cout <<
" All bits set to 1" << std::endl;
145 if (
isHtrig() && enaH && posH > 0)
147 if (
isInner() && enaI && posI > 0)
149 if (
isCorr() && enaC && posC > 0)
202 std::cout <<
"DTTSCand::setBitsTsm pvK outside valid range: " 204 std::cout <<
" deltaPsiR set to 31" << std::endl;
247 std::cout <<
"DTTSCand::DTTSCand(): masking not correct: ";
249 std::cout <<
" All bits set to 1" << std::endl;
262 if (
isHtrig() && enaH && posH > 0)
264 if (
isInner() && enaI && posI > 0)
266 if (
isCorr() && enaC && posC > 0)
bool TsmInOutEna(int i) const
Enable Inner SL checking in TSM for sort1/2.
void setBitsTss()
Set the quality bits for DTTSS analysis.
bool TssInOutEnaCarry() const
Enable Inner SL checking in TSS for carry.
bool TsmHtrigEna(int i) const
Enable Htrig checking in TSM for sort1/2.
int isHtrig() const
Return HTRIG/LTRIG bit.
void clearBitsBkmod()
Clear (set to 1) all the bits (back-up mode)
int TsmMasking(int i) const
Order of quality bits in TSM for sort1/2.
int TssMasking(int i) const
Order of quality bits in TSS for sort1/2.
void clear()
Clear the trigger.
const DTTracoTrigData * _tctrig
int isFirst() const
Return the first/second track bit.
const DTConfigTSPhi * config() const
Configuration set.
bool TssCorrEnaCarry() const
Enable Correlation checking in TSS for carry.
int pvK() const
Return the preview K.
DTTSCand & operator=(const DTTSCand &tscand)
Assignment operator.
bool TsmHtrigEnaCarry() const
Enable Htrig checking in TSM for carry.
void setBitsTsm()
Set the quality bits for DTTSM analysis.
int isCarry() const
Return the carry bit.
void print() const
Print the trigger.
bool TssHtrigEnaCarry() const
Enable Htrig checking in TSS for carry.
const DTTracoTrigData * tracoTr() const
Return associated TRACO trigger.
int element(const int pos) const
bool TsmCorrEnaCarry() const
Enable Correlation checking in TSM for carry.
void clearBits()
Clear (set to 1) the quality bits (but first/second track bit)
bool TsmCorrEna(int i) const
Enable Correlation checking in TSM for sort1/2.
int isInner() const
Return Inner/Outer bit.
void assign(const int p, const int n, const int val)
bool TssInOutEna(int i) const
Enable Inner SL checking in TSS for sort1/2.
int qdec() const
Return the trigger code in new format.
bool TsmInOutEnaCarry() const
Enable Inner SL checking in TSM for carry.
std::ostream & print(std::ostream &o=std::cout) const
bool TssCorrEna(int i) const
Enable Correlation checking in TSS for sort1/2.
void setBitsBkmod()
Set the bits for TSM back-up mode.
int isCorr() const
Return correlation bit.
bool TssHtrigEna(int i) const
Enable Htrig checking in TSS for sort1/2.