#include <DTConfigBti.h>
Public Member Functions | |
int | AccPattAC1 () const |
Acceptance pattern AC1. More... | |
int | AccPattAC2 () const |
Acceptance pattern AC2. More... | |
int | AccPattACH () const |
Acceptance pattern ACH. More... | |
int | AccPattACL () const |
Acceptance pattern ACL. More... | |
int | CH () const |
K right limit for center traco. More... | |
int | CL () const |
K left limit for center traco. More... | |
int | DEADpar () const |
Wire DEAD time parameter. More... | |
int | debug () const |
Debug flag. More... | |
DTConfigBti (const edm::ParameterSet &ps) | |
Constructor. More... | |
DTConfigBti () | |
Empty Constructor. More... | |
DTConfigBti (int debug, unsigned short int *buffer) | |
Constructor from string. More... | |
int | KAccTheta () const |
BTI angular acceptance in theta view. More... | |
int | KCut () const |
Max K param accepted: max bit number. More... | |
int | LH () const |
K right limit for left traco. More... | |
int | LL () const |
K left limit for left traco. More... | |
int | LTS () const |
LTS. More... | |
void | print () const |
Print the setup. More... | |
int | PTMSflag (int patt) const |
Pattern mask flag. More... | |
int | RE43 () const |
int | RH () const |
K right limit for right traco. More... | |
int | RL () const |
K left limit for right traco. More... | |
bool | RONflag () const |
Redundant patterns flag RONDTBti/src/DTBtiChipEquations.cc: More... | |
int | SET () const |
SET. More... | |
void | setAccPattAC1 (int AC1) |
Set Acceptance pattern AC1. More... | |
void | setAccPattAC2 (int AC2) |
Set Acceptance pattern AC2. More... | |
void | setAccPattACH (int ACH) |
Set Acceptance pattern ACH. More... | |
void | setAccPattACL (int ACL) |
Set Acceptance pattern ACL. More... | |
void | setCH (int CH) |
Set K right limit for center traco. More... | |
void | setCL (int CL) |
Set K left limit for center traco. More... | |
void | setDEADpar (int DEAD) |
Wire DEAD time parameter. More... | |
void | setDebug (int debug) |
void | setDefaults (const edm::ParameterSet &ps) |
Set default parameters. More... | |
void | setKAccTheta (int KAccTh) |
Set BTI angular acceptance in theta view. More... | |
void | setKCut (int KCut) |
Set Max K param accepted: max bit number. More... | |
void | setLH (int LH) |
Set K right limit for left traco. More... | |
void | setLL (int LL) |
Set K left limit for left traco. More... | |
void | setLTS (int LTS) |
Set LTS. More... | |
void | setPTMSflag (int mask, int patt) |
Set Pattern mask flag. More... | |
void | setRE43 (int RE43) |
void | setRH (int RH) |
Set K right limit for right traco. More... | |
void | setRL (int RL) |
Set K left limit for right traco. More... | |
void | setRONflag (bool RON) |
Set Redundant patterns flag RONDTBti/src/DTBtiChipEquations.cc: More... | |
void | setSET (int SET) |
Set SET. More... | |
void | setST43 (int ST43) |
Set ST and RE parameters for drift velocity. More... | |
void | setWENflag (int mask, int wire) |
Set Wire mask flag. More... | |
void | setXON (bool XON) |
Set X-patterns flag XON: activates tracks passing on the same side of 3 wires. More... | |
float | ST () const |
Max drift time in 12.5 ns steps. More... | |
int | ST43 () const |
ST and RE parameters for drift velocity. More... | |
int | WENflag (int wire) const |
Wire mask flag. More... | |
bool | XON () const |
X-patterns flag XON: activates tracks passing on the same side of 3 wires. More... | |
~DTConfigBti () override | |
Destructor. More... | |
Private Attributes | |
int8_t | m_4re3 |
int8_t | m_4st3 |
int8_t | m_ac1 |
int8_t | m_ac2 |
int8_t | m_ach |
int8_t | m_acl |
int8_t | m_ch |
int8_t | m_cl |
int8_t | m_dead |
int8_t | m_debug |
int8_t | m_kacctheta |
int8_t | m_kcut |
int8_t | m_lh |
int8_t | m_ll |
int8_t | m_lts |
BitArray< 32 > | m_pattmask |
int8_t | m_rh |
int8_t | m_rl |
bool | m_ron |
int8_t | m_set |
BitArray< 9 > | m_wiremask |
bool | m_xon |
Additional Inherited Members | |
Private Member Functions inherited from DTConfig | |
DTConfig () | |
Constructor. More... | |
virtual | ~DTConfig () |
Destructor. More... | |
Static Private 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... | |
Configurable parameters and constants for Level-1 Muon DT Trigger - Bti chip
Configurable parameters and constants for Level-1 Muon DT Trigger - Time Pedestals
Definition at line 38 of file DTConfigBti.h.
DTConfigBti::DTConfigBti | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 40 of file DTConfigBti.cc.
References setDefaults().
|
inline |
Empty Constructor.
Definition at line 50 of file DTConfigBti.h.
References edmScanValgrind::buffer, debug(), setDefaults(), and ~DTConfigBti().
DTConfigBti::DTConfigBti | ( | int | debug, |
unsigned short int * | buffer | ||
) |
Constructor from string.
Definition at line 46 of file DTConfigBti.cc.
References CH(), CL(), gather_cfg::cout, debug(), TauDecayModes::dec, Exception, mps_fire::i, LH(), LL(), m_debug, RH(), RL(), setAccPattAC1(), setAccPattAC2(), setAccPattACH(), setAccPattACL(), setCH(), setCL(), setDEADpar(), setKAccTheta(), setKCut(), setLH(), setLL(), setLTS(), setPTMSflag(), setRE43(), setRH(), setRL(), setRONflag(), setSET(), setST43(), setWENflag(), and setXON().
|
override |
|
inline |
Acceptance pattern AC1.
Definition at line 84 of file DTConfigBti.h.
References m_ac1.
Referenced by print().
|
inline |
Acceptance pattern AC2.
Definition at line 87 of file DTConfigBti.h.
References m_ac2.
Referenced by print().
|
inline |
Acceptance pattern ACH.
Definition at line 90 of file DTConfigBti.h.
References m_ach.
Referenced by print().
|
inline |
Acceptance pattern ACL.
Definition at line 93 of file DTConfigBti.h.
References m_acl.
Referenced by print().
|
inline |
K right limit for center traco.
Definition at line 114 of file DTConfigBti.h.
References m_ch.
Referenced by DTBtiChip::DTBtiChip(), DTConfigBti(), DTTracoCard::loadTRACO(), print(), and setCH().
|
inline |
K left limit for center traco.
Definition at line 111 of file DTConfigBti.h.
References m_cl.
Referenced by DTBtiChip::DTBtiChip(), DTConfigBti(), DTTracoCard::loadTRACO(), print(), and setCL().
|
inline |
Wire DEAD time parameter.
Definition at line 127 of file DTConfigBti.h.
References m_dead.
Referenced by DTBtiChip::add_digi(), DTBtiChip::add_digi_clock(), DTBtiChip::DTBtiChip(), and print().
|
inline |
Debug flag.
Definition at line 62 of file DTConfigBti.h.
References m_debug.
Referenced by DTBtiCard::activeGetBTI(), DTBtiChip::doLTS(), DTConfigBti(), print(), DTBtiChip::run(), setDebug(), and DTBtiChip::tick().
|
inline |
BTI angular acceptance in theta view.
Definition at line 72 of file DTConfigBti.h.
References m_kacctheta.
Referenced by DTBtiChip::DTBtiChip(), and print().
|
inline |
Max K param accepted: max bit number.
Definition at line 69 of file DTConfigBti.h.
References m_kcut.
Referenced by print(), and setKCut().
|
inline |
K right limit for left traco.
Definition at line 108 of file DTConfigBti.h.
References m_lh.
Referenced by DTConfigBti(), DTTracoCard::loadTRACO(), print(), and setLH().
|
inline |
K left limit for left traco.
Definition at line 105 of file DTConfigBti.h.
References m_ll.
Referenced by DTConfigBti(), DTTracoCard::loadTRACO(), print(), and setLL().
|
inline |
LTS.
Definition at line 78 of file DTConfigBti.h.
References m_lts.
Referenced by DTBtiChip::doLTS(), print(), and setLTS().
void DTConfigBti::print | ( | void | ) | const |
Print the setup.
Definition at line 241 of file DTConfigBti.cc.
References AccPattAC1(), AccPattAC2(), AccPattACH(), AccPattACL(), CH(), CL(), gather_cfg::cout, DEADpar(), debug(), KAccTheta(), KCut(), LH(), LL(), LTS(), AlCaHLTBitMon_ParallelJobs::p, PTMSflag(), RE43(), RH(), RL(), RONflag(), SET(), ST43(), w, WENflag(), and XON().
Referenced by DTConfigTester::analyze(), and setDEADpar().
|
inline |
Pattern mask flag.
Definition at line 99 of file DTConfigBti.h.
References BitArray< N >::element(), and m_pattmask.
Referenced by print().
|
inline |
Definition at line 124 of file DTConfigBti.h.
References m_4re3.
Referenced by print(), setRE43(), DTBtiChip::setSnap(), and ST().
|
inline |
K right limit for right traco.
Definition at line 120 of file DTConfigBti.h.
References m_rh.
Referenced by DTConfigBti(), DTTracoCard::loadTRACO(), print(), and setRH().
|
inline |
K left limit for right traco.
Definition at line 117 of file DTConfigBti.h.
References m_rl.
Referenced by DTConfigBti(), DTTracoCard::loadTRACO(), print(), and setRL().
|
inline |
Redundant patterns flag RONDTBti/src/DTBtiChipEquations.cc:
Definition at line 96 of file DTConfigBti.h.
References m_ron.
Referenced by print().
|
inline |
SET.
Definition at line 81 of file DTConfigBti.h.
References m_set.
Referenced by DTBtiChip::doLTS(), print(), and setSET().
|
inline |
Set Acceptance pattern AC1.
Definition at line 149 of file DTConfigBti.h.
References m_ac1.
Referenced by DTConfigBti().
|
inline |
Set Acceptance pattern AC2.
Definition at line 152 of file DTConfigBti.h.
References m_ac2.
Referenced by DTConfigBti().
|
inline |
Set Acceptance pattern ACH.
Definition at line 155 of file DTConfigBti.h.
References m_ach.
Referenced by DTConfigBti().
|
inline |
Set Acceptance pattern ACL.
Definition at line 158 of file DTConfigBti.h.
References m_acl.
Referenced by DTConfigBti().
|
inline |
Set K right limit for center traco.
Definition at line 179 of file DTConfigBti.h.
Referenced by DTConfigBti().
|
inline |
Set K left limit for center traco.
Definition at line 176 of file DTConfigBti.h.
Referenced by DTConfigBti().
|
inline |
Wire DEAD time parameter.
Definition at line 192 of file DTConfigBti.h.
References m_dead, and print().
Referenced by DTConfigBti().
|
inline |
Set single parameter functions Set debug flag
Definition at line 131 of file DTConfigBti.h.
References debug(), and m_debug.
void DTConfigBti::setDefaults | ( | const edm::ParameterSet & | ps | ) |
Set default parameters.
Definition at line 178 of file DTConfigBti.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), diffTwoXMLs::label, m_4re3, m_4st3, m_ac1, m_ac2, m_ach, m_acl, m_ch, m_cl, m_dead, m_debug, m_kacctheta, m_kcut, m_lh, m_ll, m_lts, m_pattmask, m_rh, m_rl, m_ron, m_set, m_wiremask, m_xon, AlCaHLTBitMon_ParallelJobs::p, BitArray< N >::set(), AlCaHLTBitMon_QueryRunRegistry::string, and w.
Referenced by DTConfigBti().
|
inline |
Set BTI angular acceptance in theta view.
Definition at line 137 of file DTConfigBti.h.
References m_kacctheta.
Referenced by DTConfigBti().
|
inline |
Set Max K param accepted: max bit number.
Definition at line 134 of file DTConfigBti.h.
References KCut(), and m_kcut.
Referenced by DTConfigBti().
|
inline |
Set K right limit for left traco.
Definition at line 173 of file DTConfigBti.h.
Referenced by DTConfigBti().
|
inline |
Set K left limit for left traco.
Definition at line 170 of file DTConfigBti.h.
Referenced by DTConfigBti().
|
inline |
|
inline |
Set Pattern mask flag.
Definition at line 164 of file DTConfigBti.h.
References m_pattmask, and BitArray< N >::set().
Referenced by DTConfigBti().
|
inline |
Definition at line 189 of file DTConfigBti.h.
References m_4re3, and RE43().
Referenced by DTConfigBti().
|
inline |
Set K right limit for right traco.
Definition at line 185 of file DTConfigBti.h.
Referenced by DTConfigBti().
|
inline |
Set K left limit for right traco.
Definition at line 182 of file DTConfigBti.h.
Referenced by DTConfigBti().
|
inline |
Set Redundant patterns flag RONDTBti/src/DTBtiChipEquations.cc:
Definition at line 161 of file DTConfigBti.h.
References m_ron.
Referenced by DTConfigBti().
|
inline |
|
inline |
Set ST and RE parameters for drift velocity.
Definition at line 188 of file DTConfigBti.h.
References m_4st3, and ST43().
Referenced by DTConfigBti().
|
inline |
Set Wire mask flag.
Definition at line 167 of file DTConfigBti.h.
References m_wiremask, and BitArray< N >::set().
Referenced by DTConfigBti().
|
inline |
Set X-patterns flag XON: activates tracks passing on the same side of 3 wires.
Definition at line 140 of file DTConfigBti.h.
Referenced by DTConfigBti().
|
inline |
Max drift time in 12.5 ns steps.
Definition at line 65 of file DTConfigBti.h.
References RE43(), and ST43().
Referenced by DTBtiChip::DTBtiChip(), DTBtiHit::isInsideReg(), DTBtiCard::localDirection(), and DTBtiCard::localPosition().
|
inline |
ST and RE parameters for drift velocity.
Definition at line 123 of file DTConfigBti.h.
References m_4st3.
Referenced by print(), DTBtiChip::setSnap(), setST43(), and ST().
|
inline |
Wire mask flag.
Definition at line 102 of file DTConfigBti.h.
References BitArray< N >::element(), and m_wiremask.
Referenced by DTBtiChip::init(), DTBtiChip::init_clock(), and print().
|
inline |
X-patterns flag XON: activates tracks passing on the same side of 3 wires.
Definition at line 75 of file DTConfigBti.h.
References m_xon.
Referenced by print(), and setXON().
|
private |
Definition at line 224 of file DTConfigBti.h.
Referenced by RE43(), setDefaults(), and setRE43().
|
private |
Definition at line 223 of file DTConfigBti.h.
Referenced by setDefaults(), setST43(), and ST43().
|
private |
Definition at line 210 of file DTConfigBti.h.
Referenced by AccPattAC1(), setAccPattAC1(), and setDefaults().
|
private |
Definition at line 211 of file DTConfigBti.h.
Referenced by AccPattAC2(), setAccPattAC2(), and setDefaults().
|
private |
Definition at line 212 of file DTConfigBti.h.
Referenced by AccPattACH(), setAccPattACH(), and setDefaults().
|
private |
Definition at line 213 of file DTConfigBti.h.
Referenced by AccPattACL(), setAccPattACL(), and setDefaults().
|
private |
Definition at line 220 of file DTConfigBti.h.
Referenced by CH(), setCH(), and setDefaults().
|
private |
Definition at line 219 of file DTConfigBti.h.
Referenced by CL(), setCL(), and setDefaults().
|
private |
Definition at line 225 of file DTConfigBti.h.
Referenced by DEADpar(), setDEADpar(), and setDefaults().
|
private |
Definition at line 204 of file DTConfigBti.h.
Referenced by debug(), DTConfigBti(), setDebug(), and setDefaults().
|
private |
Definition at line 206 of file DTConfigBti.h.
Referenced by KAccTheta(), setDefaults(), and setKAccTheta().
|
private |
Definition at line 205 of file DTConfigBti.h.
Referenced by KCut(), setDefaults(), and setKCut().
|
private |
Definition at line 218 of file DTConfigBti.h.
Referenced by LH(), setDefaults(), and setLH().
|
private |
Definition at line 217 of file DTConfigBti.h.
Referenced by LL(), setDefaults(), and setLL().
|
private |
Definition at line 208 of file DTConfigBti.h.
Referenced by LTS(), setDefaults(), and setLTS().
|
private |
Definition at line 215 of file DTConfigBti.h.
Referenced by PTMSflag(), setDefaults(), and setPTMSflag().
|
private |
Definition at line 222 of file DTConfigBti.h.
Referenced by RH(), setDefaults(), and setRH().
|
private |
Definition at line 221 of file DTConfigBti.h.
Referenced by RL(), setDefaults(), and setRL().
|
private |
Definition at line 214 of file DTConfigBti.h.
Referenced by RONflag(), setDefaults(), and setRONflag().
|
private |
Definition at line 209 of file DTConfigBti.h.
Referenced by SET(), setDefaults(), and setSET().
|
private |
Definition at line 216 of file DTConfigBti.h.
Referenced by setDefaults(), setWENflag(), and WENflag().
|
private |
Definition at line 207 of file DTConfigBti.h.
Referenced by setDefaults(), setXON(), and XON().