#include <DTSectCollPhCand.h>
Public Member Functions | |
void | clear () |
Set the SC Candidate step. More... | |
void | clearBits () |
Clear (set to 1) the quality bits (but first/second track bit) More... | |
void | clearBitsSectColl () |
Clear (set to 1) the quality bits for Sector Collector. More... | |
int | CoarseSync () const |
Return the Coarse Sync Parameter. More... | |
const DTConfigSectColl * | config () const |
Configuration set. More... | |
unsigned | dataword () const |
Return an uint16 with the content of the data word (for debugging) More... | |
DTSectCollPhCand (DTSC *, const DTChambPhSegm *, int) | |
Constructor. More... | |
DTSectCollPhCand () | |
Constructor. More... | |
DTSectCollPhCand (const DTSectCollPhCand &tsccand) | |
Constructor. More... | |
int | isFirst () const |
Return first/second track bit value. More... | |
bool | operator< (const DTSectCollPhCand &c) const |
Operator < used for sorting. More... | |
bool | operator<= (const DTSectCollPhCand &c) const |
Operator <= used for sorting. More... | |
DTSectCollPhCand & | operator= (const DTSectCollPhCand &tsccand) |
Assignment operator. More... | |
void | print () const |
Print the trigger. More... | |
void | resetCarry () |
Reset the carry bit. More... | |
void | setBitsSectColl () |
Set the bits for DTTSM analysis. More... | |
void | setSecondTrack () |
Set the first track bit to second track (used for carry) More... | |
DTSC * | tsc () const |
Return the DTTSS. More... | |
const DTChambPhSegm * | tsTr () const |
Return associated TSPhi trigger. More... | |
~DTSectCollPhCand () | |
Destructor. More... | |
Private Attributes | |
BitArray< 15 > | _dataword |
int | _isCarry |
DTSC * | _tsc |
const DTChambPhSegm * | _tsmsegm |
DTSectCollPhCand.h A Trigger Server Phi Candidate
D. Bonacorsi, S. Marcellini
Definition at line 32 of file DTSectCollPhCand.h.
DTSectCollPhCand::DTSectCollPhCand | ( | DTSC * | tsc, |
const DTChambPhSegm * | tsmsegm, | ||
int | ifs | ||
) |
Constructor.
Definition at line 29 of file DTSectCollPhCand.cc.
References _dataword, BitArray< N >::one(), and BitArray< N >::unset().
DTSectCollPhCand::DTSectCollPhCand | ( | ) |
DTSectCollPhCand::DTSectCollPhCand | ( | const DTSectCollPhCand & | tsccand | ) |
Constructor.
DTSectCollPhCand::~DTSectCollPhCand | ( | ) |
|
inline |
Set the SC Candidate step.
Clear the trigger
Definition at line 54 of file DTSectCollPhCand.cc.
References _dataword, _tsmsegm, and BitArray< N >::one().
|
inline |
Clear (set to 1) the quality bits (but first/second track bit)
Definition at line 55 of file DTSectCollPhCand.h.
References _dataword, and BitArray< N >::assign().
|
inline |
Clear (set to 1) the quality bits for Sector Collector.
Definition at line 58 of file DTSectCollPhCand.h.
References _dataword, and BitArray< N >::assign().
Referenced by setBitsSectColl().
int DTSectCollPhCand::CoarseSync | ( | ) | const |
Return the Coarse Sync Parameter.
Definition at line 60 of file DTSectCollPhCand.cc.
References _tsmsegm, DTChambPhSegm::ChamberId(), DTConfigSectColl::CoarseSync(), config(), DTChamberId::sector(), and DTChamberId::station().
Referenced by print(), and DTSectColl::runSectColl().
|
inline |
Configuration set.
Definition at line 77 of file DTSectCollPhCand.h.
References _tsc, and DTSC::config().
Referenced by CoarseSync(), and zMuMuValidation.ZMuMuValidation::trackcollection().
|
inline |
Return an uint16 with the content of the data word (for debugging)
Definition at line 89 of file DTSectCollPhCand.h.
References _dataword, and BitArray< N >::dataWord().
|
inline |
Return first/second track bit value.
Definition at line 83 of file DTSectCollPhCand.h.
References _dataword, and BitArray< N >::element().
Referenced by DTSC::addDTSectCollPhCand(), and DTSC::addPhCand().
|
inline |
Operator < used for sorting.
Definition at line 92 of file DTSectCollPhCand.h.
References _dataword.
|
inline |
Operator <= used for sorting.
Definition at line 95 of file DTSectCollPhCand.h.
References _dataword.
DTSectCollPhCand & DTSectCollPhCand::operator= | ( | const DTSectCollPhCand & | tsccand | ) |
Assignment operator.
Definition at line 46 of file DTSectCollPhCand.cc.
References _tsc, and _tsmsegm.
void DTSectCollPhCand::print | ( | void | ) | const |
Print the trigger.
Definition at line 111 of file DTSectCollPhCand.cc.
References _dataword, _tsmsegm, CoarseSync(), gather_cfg::cout, BitArray< N >::element(), BitArray< N >::print(), DTChambPhSegm::pvCode(), and DTChambPhSegm::step().
|
inline |
void DTSectCollPhCand::setBitsSectColl | ( | ) |
Set the bits for DTTSM analysis.
Definition at line 69 of file DTSectCollPhCand.cc.
References _dataword, _tsmsegm, a0, isotrackTrainRegressor::a1, isotrackTrainRegressor::a2, funct::abs(), BitArray< N >::assign(), clearBitsSectColl(), DTChambPhSegm::code(), gather_cfg::cout, DTChambPhSegm::DeltaPsiR(), and BitArray< N >::unset().
Referenced by DTSC::DTSectCollsort1(), and DTSC::DTSectCollsort2().
|
inline |
Set the first track bit to second track (used for carry)
Definition at line 61 of file DTSectCollPhCand.h.
References _dataword, _isCarry, and BitArray< N >::set().
Referenced by DTSC::DTSectCollsort1().
|
inline |
|
inline |
Return associated TSPhi trigger.
Definition at line 86 of file DTSectCollPhCand.h.
References _tsmsegm.
Referenced by DTSectColl::runSectColl().
|
private |
Definition at line 108 of file DTSectCollPhCand.h.
Referenced by clear(), clearBits(), clearBitsSectColl(), dataword(), DTSectCollPhCand(), isFirst(), operator<(), operator<=(), print(), setBitsSectColl(), and setSecondTrack().
|
private |
Definition at line 110 of file DTSectCollPhCand.h.
Referenced by resetCarry(), and setSecondTrack().
|
private |
Definition at line 104 of file DTSectCollPhCand.h.
Referenced by config(), operator=(), and tsc().
|
private |
Definition at line 105 of file DTSectCollPhCand.h.
Referenced by clear(), CoarseSync(), operator=(), print(), setBitsSectColl(), and tsTr().