#include <DTConfigTraco.h>
Public Member Functions | |
int | BendingAngleCut () const |
Bending angle cut for all stations and triggers : KPRGCOM. More... | |
int | BTIC () const |
BTIC traco parameter: must be equal to Btis ST parameter. More... | |
int | DD () const |
DD traco parameter: this is fixed. More... | |
int | debug () const |
Debug flag. More... | |
DTConfigTraco (const edm::ParameterSet &ps) | |
Constructor. More... | |
DTConfigTraco () | |
Constructor. More... | |
DTConfigTraco (int debug, unsigned short int *buffer) | |
Constructor from string. More... | |
int | IBTIOFF () const |
IBTIOFF traco parameter. More... | |
int | KRAD () const |
KRAD traco parameter. More... | |
int | LVALIDIFH () const |
Flag for Low validation parameter. More... | |
int | prefHtrig (int i) const |
Preference to HTRIG on first/second tracks: F(S)HTPRF. More... | |
int | prefInner (int i) const |
Preference to inner on first/second tracks: F(S)SLMSK. More... | |
void | print () const |
Print the setup. More... | |
void | setBendingAngleCut (int BendingAngleCut) |
Set Bending angle cut for all stations and triggers : KPRGCOM. More... | |
void | setBTIC (int BTIC) |
Set BTIC traco parameter: must be equal to Btis ST parameter. More... | |
void | setDD (int DD) |
Set DD traco parameter: this is fixed. More... | |
void | setDebug (int debug) |
void | setDefaults (const edm::ParameterSet &ps) |
Set default parameters. More... | |
void | setIBTIOFF (int IBTIOFF) |
Set IBTIOFF traco parameter. More... | |
void | setKRAD (int KRAD) |
Set KRAD traco parameter. More... | |
void | setLVALIDIFH (int LVALIDIFH) |
Set Flag for Low validation parameter. More... | |
void | setPrefHtrig (int i, int prefHtrig) |
Set Preference to HTRIG on first/second tracks: F(S)HTPRF. More... | |
void | setPrefInner (int i, int prefInner) |
Set Preference to inner on first/second tracks: F(S)SLMSK. More... | |
void | setSingleHflag (int i, int singleHflag) |
Set Single HTRIG enabling on first/second tracks F(S)HTMSK. More... | |
void | setSingleLenab (int i, int singleLenab) |
Set Single LTRIG accept enabling on first/second tracks LTF. More... | |
void | setSingleLflag (int i, int singleLflag) |
Set Single LTRIG enabling on first/second tracks: F(S)LTMSK. More... | |
void | setSortKascend (int i, int sortKascend) |
Set Ascend. order for K sorting first/second tracks: F(S)HISM. More... | |
void | setTcBxLts (int TcBxLts) |
Set Suppr. of LTRIG in 4 BX before HTRIG: LTS. More... | |
void | setTcKToll (int i, int TcKToll) |
Set K tollerance for correlation in TRACO: F(S)PRGCOMP. More... | |
void | setTcReuse (int i, int TcReuse) |
Set Recycling of TRACO cand. in inner/outer SL : REUSEI/REUSEO. More... | |
void | setUsedBti (int bti, int mask) |
Set Connected bti in traco: bti mask. More... | |
int | singleHflag (int i) const |
Single HTRIG enabling on first/second tracks F(S)HTMSK. More... | |
int | singleLenab (int i) const |
Single LTRIG accept enabling on first/second tracks LTF. More... | |
int | singleLflag (int i) const |
Single LTRIG enabling on first/second tracks: F(S)LTMSK. More... | |
int | sortKascend (int i) const |
Ascend. order for K sorting first/second tracks: F(S)HISM. More... | |
int | TcBxLts () const |
Suppr. of LTRIG in 4 BX before HTRIG: LTS. More... | |
int | TcKToll (int i) const |
K tollerance for correlation in TRACO: F(S)PRGCOMP. More... | |
int | TcReuse (int i) const |
Recycling of TRACO cand. in inner/outer SL : REUSEI/REUSEO. More... | |
int | usedBti (int bti) const |
Connected bti in traco: bti mask. More... | |
~DTConfigTraco () | |
Destructor. More... | |
Public Member Functions inherited from DTConfig | |
DTConfig () | |
Constructor. More... | |
virtual | ~DTConfig () |
Destructor. More... | |
Static Public Attributes | |
static const int | NMAXCAND |
Costant: maximum number of TRACO output candidates to TS. More... | |
static const int | RESOLPSI =512 |
Costants: esolution for psi and DeltaPsiR (phi_B) More... | |
static const int | RESOLPSIR =4096 |
Costant: resulution for psiR (phi) More... | |
Static Public Attributes inherited from DTConfig | |
static const int | NBTITC =4 |
static const int | NSTEPF =9 |
static const int | NSTEPL =24 |
Constants: first and last step to start trigger finding. More... | |
static const int | NTCTSS = 4 |
Constant: number of TRACOs in input to a TSS. More... | |
Private Attributes | |
int8_t | m_btic |
int8_t | m_dd |
int8_t | m_debug |
int8_t | m_fhism |
int8_t | m_fhtmsk |
int8_t | m_fhtprf |
int8_t | m_fltmsk |
int8_t | m_fprgcomp |
int8_t | m_fslmsk |
int8_t | m_ibtioff |
int16_t | m_kprgcom |
int8_t | m_krad |
int8_t | m_ltf |
int8_t | m_lts |
int8_t | m_lvalidifh |
int8_t | m_reusei |
int8_t | m_reuseo |
int8_t | m_shism |
int8_t | m_shtmsk |
int8_t | m_shtprf |
int8_t | m_sltmsk |
int8_t | m_sprgcomp |
int8_t | m_sslmsk |
BitArray< 16 > | m_trgenb |
Configurable parameters and constants for Level-1 Muon DT Trigger - Traco chip
Definition at line 39 of file DTConfigTraco.h.
DTConfigTraco::DTConfigTraco | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 40 of file DTConfigTraco.cc.
References setDefaults().
|
inline |
DTConfigTraco::DTConfigTraco | ( | int | debug, |
unsigned short int * | buffer | ||
) |
Constructor from string.
Definition at line 46 of file DTConfigTraco.cc.
References gather_cfg::cout, createTree::dd, debug(), edm::hlt::Exception, i, m_debug, setBendingAngleCut(), setBTIC(), setDD(), setIBTIOFF(), setKRAD(), setLVALIDIFH(), setPrefHtrig(), setPrefInner(), setSingleHflag(), setSingleLenab(), setSingleLflag(), setSortKascend(), setTcBxLts(), setTcKToll(), setTcReuse(), setUsedBti(), and lumiQTWidget::t.
DTConfigTraco::~DTConfigTraco | ( | ) |
|
inline |
Bending angle cut for all stations and triggers : KPRGCOM.
Definition at line 148 of file DTConfigTraco.h.
References m_kprgcom.
Referenced by DTTracoChip::insideAngWindow(), print(), and setBendingAngleCut().
|
inline |
BTIC traco parameter: must be equal to Btis ST parameter.
Definition at line 73 of file DTConfigTraco.h.
References m_btic.
Referenced by DTTracoChip::DTTracoChip(), print(), setBTIC(), and DTTracoChip::setTracoAcceptances().
|
inline |
DD traco parameter: this is fixed.
Definition at line 76 of file DTConfigTraco.h.
References m_dd.
Referenced by print(), and setDD().
|
inline |
Debug flag.
Definition at line 67 of file DTConfigTraco.h.
References m_debug.
Referenced by DTTracoChip::add_btiT(), DTTracoChip::bestCand(), DTConfigTraco(), print(), DTTracoChip::run(), setDebug(), DTTracoChip::storeCorr(), and DTTracoChip::storeUncorr().
|
inline |
IBTIOFF traco parameter.
Definition at line 145 of file DTConfigTraco.h.
References m_ibtioff.
Referenced by print(), and setIBTIOFF().
|
inline |
KRAD traco parameter.
Definition at line 70 of file DTConfigTraco.h.
References m_krad.
Referenced by DTTracoChip::DTTracoChip(), print(), and setKRAD().
|
inline |
Flag for Low validation parameter.
Definition at line 151 of file DTConfigTraco.h.
References m_lvalidifh.
Referenced by print(), setLVALIDIFH(), and DTTracoChip::storeUncorr().
|
inline |
Preference to HTRIG on first/second tracks: F(S)HTPRF.
Definition at line 111 of file DTConfigTraco.h.
References m_fhtprf, and m_shtprf.
Referenced by DTTracoChip::bestCand(), print(), and setPrefHtrig().
|
inline |
Preference to inner on first/second tracks: F(S)SLMSK.
Definition at line 103 of file DTConfigTraco.h.
References m_fslmsk, and m_sslmsk.
Referenced by print(), setPrefInner(), DTTracoChip::setPV(), and DTTracoChip::storeUncorr().
void DTConfigTraco::print | ( | void | ) | const |
Print the setup.
Definition at line 252 of file DTConfigTraco.cc.
References b, BendingAngleCut(), BTIC(), gather_cfg::cout, DD(), debug(), IBTIOFF(), KRAD(), LVALIDIFH(), prefHtrig(), prefInner(), singleHflag(), singleLenab(), singleLflag(), sortKascend(), TcBxLts(), TcKToll(), TcReuse(), and usedBti().
|
inline |
Set Bending angle cut for all stations and triggers : KPRGCOM.
Definition at line 236 of file DTConfigTraco.h.
References BendingAngleCut(), and m_kprgcom.
Referenced by DTConfigTraco().
|
inline |
Set BTIC traco parameter: must be equal to Btis ST parameter.
Definition at line 161 of file DTConfigTraco.h.
References BTIC(), and m_btic.
Referenced by DTConfigTraco().
|
inline |
Set DD traco parameter: this is fixed.
Definition at line 164 of file DTConfigTraco.h.
Referenced by DTConfigTraco().
|
inline |
Set single parameter functions Set debug flag
Definition at line 155 of file DTConfigTraco.h.
References debug(), and m_debug.
void DTConfigTraco::setDefaults | ( | const edm::ParameterSet & | ps | ) |
Set default parameters.
Definition at line 180 of file DTConfigTraco.cc.
References b, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), diffTwoXMLs::label, m_btic, m_dd, m_debug, m_fhism, m_fhtmsk, m_fhtprf, m_fltmsk, m_fprgcomp, m_fslmsk, m_ibtioff, m_kprgcom, m_krad, m_ltf, m_lts, m_lvalidifh, m_reusei, m_reuseo, m_shism, m_shtmsk, m_shtprf, m_sltmsk, m_sprgcomp, m_sslmsk, m_trgenb, p1, BitArray< N >::set(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by DTConfigTraco().
|
inline |
Set IBTIOFF traco parameter.
Definition at line 233 of file DTConfigTraco.h.
References IBTIOFF(), and m_ibtioff.
Referenced by DTConfigTraco().
|
inline |
Set KRAD traco parameter.
Definition at line 158 of file DTConfigTraco.h.
References KRAD(), and m_krad.
Referenced by DTConfigTraco().
|
inline |
Set Flag for Low validation parameter.
Definition at line 239 of file DTConfigTraco.h.
References LVALIDIFH(), and m_lvalidifh.
Referenced by DTConfigTraco().
|
inline |
Set Preference to HTRIG on first/second tracks: F(S)HTPRF.
Definition at line 199 of file DTConfigTraco.h.
References m_fhtprf, m_shtprf, and prefHtrig().
Referenced by DTConfigTraco().
|
inline |
Set Preference to inner on first/second tracks: F(S)SLMSK.
Definition at line 191 of file DTConfigTraco.h.
References m_fslmsk, m_sslmsk, and prefInner().
Referenced by DTConfigTraco().
|
inline |
Set Single HTRIG enabling on first/second tracks F(S)HTMSK.
Definition at line 175 of file DTConfigTraco.h.
References m_fhtmsk, m_shtmsk, and singleHflag().
Referenced by DTConfigTraco().
|
inline |
Set Single LTRIG accept enabling on first/second tracks LTF.
Definition at line 227 of file DTConfigTraco.h.
References m_ltf, and singleLenab().
Referenced by DTConfigTraco().
|
inline |
Set Single LTRIG enabling on first/second tracks: F(S)LTMSK.
Definition at line 183 of file DTConfigTraco.h.
References m_fltmsk, m_sltmsk, and singleLflag().
Referenced by DTConfigTraco().
|
inline |
Set Ascend. order for K sorting first/second tracks: F(S)HISM.
Definition at line 207 of file DTConfigTraco.h.
References m_fhism, m_shism, and sortKascend().
Referenced by DTConfigTraco().
|
inline |
Set Suppr. of LTRIG in 4 BX before HTRIG: LTS.
Definition at line 224 of file DTConfigTraco.h.
References m_lts, and TcBxLts().
Referenced by DTConfigTraco().
|
inline |
Set K tollerance for correlation in TRACO: F(S)PRGCOMP.
Definition at line 216 of file DTConfigTraco.h.
References m_fprgcomp, m_sprgcomp, and TcKToll().
Referenced by DTConfigTraco().
|
inline |
Set Recycling of TRACO cand. in inner/outer SL : REUSEI/REUSEO.
Definition at line 167 of file DTConfigTraco.h.
References m_reusei, m_reuseo, and TcReuse().
Referenced by DTConfigTraco().
|
inline |
Set Connected bti in traco: bti mask.
Definition at line 230 of file DTConfigTraco.h.
References m_trgenb, and BitArray< N >::set().
Referenced by DTConfigTraco().
|
inline |
Single HTRIG enabling on first/second tracks F(S)HTMSK.
Definition at line 87 of file DTConfigTraco.h.
References m_fhtmsk, and m_shtmsk.
Referenced by print(), and setSingleHflag().
|
inline |
Single LTRIG accept enabling on first/second tracks LTF.
Definition at line 139 of file DTConfigTraco.h.
References m_ltf.
Referenced by print(), setSingleLenab(), and DTTracoChip::storeUncorr().
|
inline |
Single LTRIG enabling on first/second tracks: F(S)LTMSK.
Definition at line 95 of file DTConfigTraco.h.
References m_fltmsk, and m_sltmsk.
Referenced by print(), setSingleLflag(), and DTTracoChip::storeUncorr().
|
inline |
Ascend. order for K sorting first/second tracks: F(S)HISM.
Definition at line 119 of file DTConfigTraco.h.
References m_fhism, and m_shism.
Referenced by DTTracoChip::bestCand(), print(), and setSortKascend().
|
inline |
Suppr. of LTRIG in 4 BX before HTRIG: LTS.
Definition at line 136 of file DTConfigTraco.h.
References m_lts.
Referenced by print(), setTcBxLts(), and DTTracoChip::storeCorr().
|
inline |
K tollerance for correlation in TRACO: F(S)PRGCOMP.
Definition at line 128 of file DTConfigTraco.h.
References m_fprgcomp, and m_sprgcomp.
Referenced by print(), setTcKToll(), and DTTracoChip::storeCorr().
|
inline |
Recycling of TRACO cand. in inner/outer SL : REUSEI/REUSEO.
Definition at line 79 of file DTConfigTraco.h.
References m_reusei, and m_reuseo.
Referenced by print(), setTcReuse(), and DTTracoChip::storeUncorr().
|
inline |
Connected bti in traco: bti mask.
Definition at line 142 of file DTConfigTraco.h.
References BitArray< N >::element(), and m_trgenb.
Referenced by print().
|
private |
Definition at line 253 of file DTConfigTraco.h.
Referenced by BTIC(), setBTIC(), and setDefaults().
|
private |
Definition at line 254 of file DTConfigTraco.h.
Referenced by DD(), setDD(), and setDefaults().
|
private |
Definition at line 251 of file DTConfigTraco.h.
Referenced by debug(), DTConfigTraco(), setDebug(), and setDefaults().
|
private |
Definition at line 265 of file DTConfigTraco.h.
Referenced by setDefaults(), setSortKascend(), and sortKascend().
|
private |
Definition at line 257 of file DTConfigTraco.h.
Referenced by setDefaults(), setSingleHflag(), and singleHflag().
|
private |
Definition at line 263 of file DTConfigTraco.h.
Referenced by prefHtrig(), setDefaults(), and setPrefHtrig().
|
private |
Definition at line 259 of file DTConfigTraco.h.
Referenced by setDefaults(), setSingleLflag(), and singleLflag().
|
private |
Definition at line 267 of file DTConfigTraco.h.
Referenced by setDefaults(), setTcKToll(), and TcKToll().
|
private |
Definition at line 261 of file DTConfigTraco.h.
Referenced by prefInner(), setDefaults(), and setPrefInner().
|
private |
Definition at line 272 of file DTConfigTraco.h.
Referenced by IBTIOFF(), setDefaults(), and setIBTIOFF().
|
private |
Definition at line 273 of file DTConfigTraco.h.
Referenced by BendingAngleCut(), setBendingAngleCut(), and setDefaults().
|
private |
Definition at line 252 of file DTConfigTraco.h.
Referenced by KRAD(), setDefaults(), and setKRAD().
|
private |
Definition at line 270 of file DTConfigTraco.h.
Referenced by setDefaults(), setSingleLenab(), and singleLenab().
|
private |
Definition at line 269 of file DTConfigTraco.h.
Referenced by setDefaults(), setTcBxLts(), and TcBxLts().
|
private |
Definition at line 274 of file DTConfigTraco.h.
Referenced by LVALIDIFH(), setDefaults(), and setLVALIDIFH().
|
private |
Definition at line 255 of file DTConfigTraco.h.
Referenced by setDefaults(), setTcReuse(), and TcReuse().
|
private |
Definition at line 256 of file DTConfigTraco.h.
Referenced by setDefaults(), setTcReuse(), and TcReuse().
|
private |
Definition at line 266 of file DTConfigTraco.h.
Referenced by setDefaults(), setSortKascend(), and sortKascend().
|
private |
Definition at line 258 of file DTConfigTraco.h.
Referenced by setDefaults(), setSingleHflag(), and singleHflag().
|
private |
Definition at line 264 of file DTConfigTraco.h.
Referenced by prefHtrig(), setDefaults(), and setPrefHtrig().
|
private |
Definition at line 260 of file DTConfigTraco.h.
Referenced by setDefaults(), setSingleLflag(), and singleLflag().
|
private |
Definition at line 268 of file DTConfigTraco.h.
Referenced by setDefaults(), setTcKToll(), and TcKToll().
|
private |
Definition at line 262 of file DTConfigTraco.h.
Referenced by prefInner(), setDefaults(), and setPrefInner().
|
private |
Definition at line 271 of file DTConfigTraco.h.
Referenced by setDefaults(), setUsedBti(), and usedBti().
|
static |
Costant: maximum number of TRACO output candidates to TS.
Definition at line 48 of file DTConfigTraco.h.
|
static |
Costants: esolution for psi and DeltaPsiR (phi_B)
Definition at line 44 of file DTConfigTraco.h.
Referenced by DTTracoChip::calculateAngles().
|
static |
Costant: resulution for psiR (phi)
Definition at line 46 of file DTConfigTraco.h.
Referenced by DTTracoChip::calculateAngles().