#include <DTConfigLUTs.h>
Public Member Functions | |
int | BTIC () const |
BTIC parameter. More... | |
float | D () const |
d: distance vertex to normal, unit cm. More... | |
bool | debug () const |
Debug flag. More... | |
void | DSPtoIEEE32 (short DSPmantissa, short DSPexp, float *f) const |
DSP to IEEE32 conversion. More... | |
DTConfigLUTs (const edm::ParameterSet &ps) | |
Constructor. More... | |
DTConfigLUTs () | |
Empty Constructor. More... | |
DTConfigLUTs (bool debug, unsigned short int *buffer) | |
Constructor from string. More... | |
void | IEEE32toDSP (float f, short int &DSPmantissa, short int &DSPexp) const |
IEEE32 to DSP conversion. More... | |
void | print () const |
Print the setup. More... | |
void | setBTIC (int btic) |
void | setD (float d) |
void | setDebug (bool debug) |
Set single parameter functions. More... | |
void | setWHEEL (int wheel) |
void | setXCN (float Xcn) |
int | Wheel () const |
wheel sign (-1 or +1) More... | |
float | Xcn () const |
Xcn: distance vertex to normal, unit cm. More... | |
~DTConfigLUTs () override | |
Destructor. More... | |
Public Member Functions inherited from DTConfig | |
DTConfig () | |
Constructor. More... | |
virtual | ~DTConfig () |
Destructor. More... | |
Private Member Functions | |
void | setDefaults (const edm::ParameterSet &m_ps) |
Load pset values into class variables. More... | |
Private Attributes | |
int | m_btic |
float | m_d |
bool | m_debug |
int | m_wheel |
float | m_Xcn |
Additional Inherited Members | |
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... | |
Configurable parameters and constants for Level-1 Muon DT Trigger - LUTs
Definition at line 36 of file DTConfigLUTs.h.
DTConfigLUTs::DTConfigLUTs | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 34 of file DTConfigLUTs.cc.
References setDefaults().
|
inline |
DTConfigLUTs::DTConfigLUTs | ( | bool | debug, |
unsigned short int * | buffer | ||
) |
Constructor from string.
Definition at line 36 of file DTConfigLUTs.cc.
References edmScanValgrind::buffer, c, ztail::d, DSPtoIEEE32(), Exception, mps_fire::i, m_debug, setBTIC(), setD(), setWHEEL(), setXCN(), makeMuonMisalignmentScenario::wheel, and Xcn().
|
override |
|
inline |
BTIC parameter.
Definition at line 54 of file DTConfigLUTs.h.
References m_btic.
Referenced by Lut::Lut().
|
inline |
d: distance vertex to normal, unit cm.
Definition at line 57 of file DTConfigLUTs.h.
References m_d.
Referenced by DTConfigManager::dumpLUTParam(), and Lut::Lut().
|
inline |
Debug flag.
Definition at line 51 of file DTConfigLUTs.h.
References m_debug.
Referenced by print(), and setDebug().
void DTConfigLUTs::DSPtoIEEE32 | ( | short | DSPmantissa, |
short | DSPexp, | ||
float * | f | ||
) | const |
DSP to IEEE32 conversion.
Definition at line 109 of file DTConfigLUTs.cc.
References f, dqmMemoryStats::float, and funct::pow().
Referenced by DTConfigLUTs().
void DTConfigLUTs::IEEE32toDSP | ( | float | f, |
short int & | DSPmantissa, | ||
short int & | DSPexp | ||
) | const |
IEEE32 to DSP conversion.
Definition at line 115 of file DTConfigLUTs.cc.
References f, and Validation_hcalonly_cfi::sign.
Referenced by DTConfigManager::dumpLUTParam().
void DTConfigLUTs::print | ( | void | ) | const |
Print the setup.
Definition at line 96 of file DTConfigLUTs.cc.
References gather_cfg::cout, debug(), m_btic, m_d, m_wheel, and m_Xcn.
Referenced by DTConfigTester::analyze().
|
inline |
|
inline |
|
inline |
Set single parameter functions.
Definition at line 66 of file DTConfigLUTs.h.
References debug(), and m_debug.
|
private |
Load pset values into class variables.
Definition at line 79 of file DTConfigLUTs.cc.
References edm::ParameterSet::getUntrackedParameter(), m_btic, m_d, m_debug, m_wheel, and m_Xcn.
Referenced by DTConfigLUTs().
|
inline |
Definition at line 70 of file DTConfigLUTs.h.
References m_wheel, and makeMuonMisalignmentScenario::wheel.
Referenced by DTConfigLUTs().
|
inline |
Definition at line 69 of file DTConfigLUTs.h.
Referenced by DTConfigLUTs().
|
inline |
wheel sign (-1 or +1)
Definition at line 63 of file DTConfigLUTs.h.
References m_wheel.
Referenced by DTConfigManager::dumpLUTParam(), and Lut::Lut().
|
inline |
Xcn: distance vertex to normal, unit cm.
Definition at line 60 of file DTConfigLUTs.h.
References m_Xcn.
Referenced by DTConfigLUTs(), DTConfigManager::dumpLUTParam(), Lut::Lut(), and setXCN().
|
private |
Definition at line 89 of file DTConfigLUTs.h.
Referenced by BTIC(), print(), setBTIC(), and setDefaults().
|
private |
Definition at line 90 of file DTConfigLUTs.h.
Referenced by D(), print(), setD(), and setDefaults().
|
private |
Definition at line 88 of file DTConfigLUTs.h.
Referenced by debug(), DTConfigLUTs(), setDebug(), and setDefaults().
|
private |
Definition at line 92 of file DTConfigLUTs.h.
Referenced by print(), setDefaults(), setWHEEL(), and Wheel().
|
private |
Definition at line 91 of file DTConfigLUTs.h.
Referenced by print(), setDefaults(), setXCN(), and Xcn().