#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 () | |
Constructor. More... | |
DTConfigTraco (const edm::ParameterSet &ps) | |
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 () override | |
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 37 of file DTConfigTraco.h.
DTConfigTraco::DTConfigTraco | ( | const edm::ParameterSet & | ps | ) |
|
inline |
DTConfigTraco::DTConfigTraco | ( | int | debug, |
unsigned short int * | buffer | ||
) |
Constructor from string.
Definition at line 42 of file DTConfigTraco.cc.
References edmScanValgrind::buffer, gather_cfg::cout, createTree::dd, debug(), Exception, mps_fire::i, m_debug, setBendingAngleCut(), setBTIC(), setDD(), setIBTIOFF(), setKRAD(), setLVALIDIFH(), setPrefHtrig(), setPrefInner(), setSingleHflag(), setSingleLenab(), setSingleLflag(), setSortKascend(), setTcBxLts(), setTcKToll(), setTcReuse(), setUsedBti(), and submitPVValidationJobs::t.
|
override |
|
inline |
Bending angle cut for all stations and triggers : KPRGCOM.
Definition at line 142 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 68 of file DTConfigTraco.h.
References m_btic.
Referenced by DTTracoChip::DTTracoChip(), print(), setBTIC(), and DTTracoChip::setTracoAcceptances().
|
inline |
|
inline |
Debug flag.
Definition at line 62 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 139 of file DTConfigTraco.h.
References m_ibtioff.
Referenced by print(), and setIBTIOFF().
|
inline |
KRAD traco parameter.
Definition at line 65 of file DTConfigTraco.h.
References m_krad.
Referenced by DTTracoChip::DTTracoChip(), print(), and setKRAD().
|
inline |
Flag for Low validation parameter.
Definition at line 145 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 106 of file DTConfigTraco.h.
References mps_fire::i, 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 98 of file DTConfigTraco.h.
References mps_fire::i, 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 219 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().
Referenced by DTConfigTester::analyze().
|
inline |
Set Bending angle cut for all stations and triggers : KPRGCOM.
Definition at line 229 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 155 of file DTConfigTraco.h.
References BTIC(), and m_btic.
Referenced by DTConfigTraco().
|
inline |
Set DD traco parameter: this is fixed.
Definition at line 158 of file DTConfigTraco.h.
Referenced by DTConfigTraco().
|
inline |
void DTConfigTraco::setDefaults | ( | const edm::ParameterSet & | ps | ) |
Set default parameters.
Definition at line 150 of file DTConfigTraco.cc.
References b, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), 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 226 of file DTConfigTraco.h.
References IBTIOFF(), and m_ibtioff.
Referenced by DTConfigTraco().
|
inline |
Set KRAD traco parameter.
Definition at line 152 of file DTConfigTraco.h.
References KRAD(), and m_krad.
Referenced by DTConfigTraco().
|
inline |
Set Flag for Low validation parameter.
Definition at line 232 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 193 of file DTConfigTraco.h.
References mps_fire::i, m_fhtprf, m_shtprf, and prefHtrig().
Referenced by DTConfigTraco().
|
inline |
Set Preference to inner on first/second tracks: F(S)SLMSK.
Definition at line 185 of file DTConfigTraco.h.
References mps_fire::i, m_fslmsk, m_sslmsk, and prefInner().
Referenced by DTConfigTraco().
|
inline |
Set Single HTRIG enabling on first/second tracks F(S)HTMSK.
Definition at line 169 of file DTConfigTraco.h.
References mps_fire::i, m_fhtmsk, m_shtmsk, and singleHflag().
Referenced by DTConfigTraco().
|
inline |
Set Single LTRIG accept enabling on first/second tracks LTF.
Definition at line 220 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 177 of file DTConfigTraco.h.
References mps_fire::i, 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 201 of file DTConfigTraco.h.
References mps_fire::i, m_fhism, m_shism, and sortKascend().
Referenced by DTConfigTraco().
|
inline |
Set Suppr. of LTRIG in 4 BX before HTRIG: LTS.
Definition at line 217 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 209 of file DTConfigTraco.h.
References mps_fire::i, m_fprgcomp, m_sprgcomp, and TcKToll().
Referenced by DTConfigTraco().
|
inline |
Set Recycling of TRACO cand. in inner/outer SL : REUSEI/REUSEO.
Definition at line 161 of file DTConfigTraco.h.
References mps_fire::i, m_reusei, m_reuseo, and TcReuse().
Referenced by DTConfigTraco().
|
inline |
Set Connected bti in traco: bti mask.
Definition at line 223 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 82 of file DTConfigTraco.h.
References mps_fire::i, m_fhtmsk, and m_shtmsk.
Referenced by print(), and setSingleHflag().
|
inline |
Single LTRIG accept enabling on first/second tracks LTF.
Definition at line 133 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 90 of file DTConfigTraco.h.
References mps_fire::i, 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 114 of file DTConfigTraco.h.
References mps_fire::i, 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 130 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 122 of file DTConfigTraco.h.
References mps_fire::i, 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 74 of file DTConfigTraco.h.
References mps_fire::i, m_reusei, and m_reuseo.
Referenced by print(), setTcReuse(), and DTTracoChip::storeUncorr().
|
inline |
Connected bti in traco: bti mask.
Definition at line 136 of file DTConfigTraco.h.
References BitArray< N >::element(), and m_trgenb.
Referenced by print().
|
private |
Definition at line 245 of file DTConfigTraco.h.
Referenced by BTIC(), setBTIC(), and setDefaults().
|
private |
Definition at line 246 of file DTConfigTraco.h.
Referenced by DD(), setDD(), and setDefaults().
|
private |
Definition at line 243 of file DTConfigTraco.h.
Referenced by debug(), DTConfigTraco(), setDebug(), and setDefaults().
|
private |
Definition at line 257 of file DTConfigTraco.h.
Referenced by setDefaults(), setSortKascend(), and sortKascend().
|
private |
Definition at line 249 of file DTConfigTraco.h.
Referenced by setDefaults(), setSingleHflag(), and singleHflag().
|
private |
Definition at line 255 of file DTConfigTraco.h.
Referenced by prefHtrig(), setDefaults(), and setPrefHtrig().
|
private |
Definition at line 251 of file DTConfigTraco.h.
Referenced by setDefaults(), setSingleLflag(), and singleLflag().
|
private |
Definition at line 259 of file DTConfigTraco.h.
Referenced by setDefaults(), setTcKToll(), and TcKToll().
|
private |
Definition at line 253 of file DTConfigTraco.h.
Referenced by prefInner(), setDefaults(), and setPrefInner().
|
private |
Definition at line 264 of file DTConfigTraco.h.
Referenced by IBTIOFF(), setDefaults(), and setIBTIOFF().
|
private |
Definition at line 265 of file DTConfigTraco.h.
Referenced by BendingAngleCut(), setBendingAngleCut(), and setDefaults().
|
private |
Definition at line 244 of file DTConfigTraco.h.
Referenced by KRAD(), setDefaults(), and setKRAD().
|
private |
Definition at line 262 of file DTConfigTraco.h.
Referenced by setDefaults(), setSingleLenab(), and singleLenab().
|
private |
Definition at line 261 of file DTConfigTraco.h.
Referenced by setDefaults(), setTcBxLts(), and TcBxLts().
|
private |
Definition at line 266 of file DTConfigTraco.h.
Referenced by LVALIDIFH(), setDefaults(), and setLVALIDIFH().
|
private |
Definition at line 247 of file DTConfigTraco.h.
Referenced by setDefaults(), setTcReuse(), and TcReuse().
|
private |
Definition at line 248 of file DTConfigTraco.h.
Referenced by setDefaults(), setTcReuse(), and TcReuse().
|
private |
Definition at line 258 of file DTConfigTraco.h.
Referenced by setDefaults(), setSortKascend(), and sortKascend().
|
private |
Definition at line 250 of file DTConfigTraco.h.
Referenced by setDefaults(), setSingleHflag(), and singleHflag().
|
private |
Definition at line 256 of file DTConfigTraco.h.
Referenced by prefHtrig(), setDefaults(), and setPrefHtrig().
|
private |
Definition at line 252 of file DTConfigTraco.h.
Referenced by setDefaults(), setSingleLflag(), and singleLflag().
|
private |
Definition at line 260 of file DTConfigTraco.h.
Referenced by setDefaults(), setTcKToll(), and TcKToll().
|
private |
Definition at line 254 of file DTConfigTraco.h.
Referenced by prefInner(), setDefaults(), and setPrefInner().
|
private |
Definition at line 263 of file DTConfigTraco.h.
Referenced by setDefaults(), setUsedBti(), and usedBti().
|
static |
Costant: maximum number of TRACO output candidates to TS.
Definition at line 44 of file DTConfigTraco.h.
|
static |
Costants: esolution for psi and DeltaPsiR (phi_B)
Definition at line 40 of file DTConfigTraco.h.
Referenced by DTTracoChip::calculateAngles().
|
static |
Costant: resulution for psiR (phi)
Definition at line 42 of file DTConfigTraco.h.
Referenced by DTTracoChip::calculateAngles().