#include <L1TMuonBarrelParamsHelper.h>
Public Member Functions | |
std::string | AssLUTPath () const |
void | configFromDB (l1t::TriggerSystem &trgSys) |
void | configFromPy (std::map< std::string, int > &allInts, std::map< std::string, bool > &allBools, std::map< std::string, std::vector< std::string > > allMasks, unsigned int fwVersion, const std::string &AssLUTpath) |
etaLUT | eta_lut () const |
std::vector< LUTParams::extLUT > | ext_lut () const |
unsigned | fwVersion () const |
int | get_BX_max () const |
int | get_BX_min () const |
bool | get_DisableNewAlgo () const |
bool | get_EtaTrackFinder () const |
bool | get_Extrapolation_21 () const |
int | get_Extrapolation_Filter () const |
int | get_Extrapolation_nbits_Phi () const |
int | get_Extrapolation_nbits_PhiB () const |
bool | get_Open_LUTs () const |
bool | get_OutOfTime_Filter () const |
int | get_OutOfTime_Filter_Window () const |
int | get_PHI_Assignment_nbits_Phi () const |
int | get_PHI_Assignment_nbits_PhiB () const |
int | get_PT_Assignment_nbits_Phi () const |
int | get_PT_Assignment_nbits_PhiB () const |
L1TMuonBarrelParamsHelper () | |
L1TMuonBarrelParamsHelper (const L1TMuonBarrelParams &barrelParams) | |
std::vector< LUT > | phi_lut () const |
void | print (std::ostream &) const |
std::vector< LUT > | pta_lut () const |
std::vector< int > | pta_threshold () const |
qpLUT | qp_lut () const |
void | set_BX_max (int par1) |
void | set_BX_min (int par1) |
void | set_DisableNewAlgo (bool par1) |
void | set_EtaTrackFinder (bool par1) |
void | set_Extrapolation_21 (bool par1) |
void | set_Extrapolation_Filter (int par1) |
void | set_Extrapolation_nbits_Phi (int par1) |
void | set_Extrapolation_nbits_PhiB (int par1) |
void | set_Open_LUTs (bool par1) |
void | set_OutOfTime_Filter (bool par1) |
void | set_OutOfTime_Filter_Window (int par1) |
void | set_PHI_Assignment_nbits_Phi (int par1) |
void | set_PHI_Assignment_nbits_PhiB (int par1) |
void | set_PT_Assignment_nbits_Phi (int par1) |
void | set_PT_Assignment_nbits_PhiB (int par1) |
void | setAssLUTPath (std::string path) |
void | seteta_lut (etaLUT eta_lut) |
void | setext_lut (std::vector< LUTParams::extLUT > extlut) |
void | setFwVersion (unsigned fwVersion) |
void | setphi_lut (std::vector< LUT > philut) |
void | setpta_lut (std::vector< LUT > ptalut) |
void | setpta_threshold (std::vector< int > ptathresh) |
void | setqp_lut (qpLUT qplut) |
~L1TMuonBarrelParamsHelper () | |
Public Member Functions inherited from L1TMuonBarrelParams | |
L1TMuonBarrelParams () | |
~L1TMuonBarrelParams () | |
Public Attributes | |
L1MuBMTEtaPatternLut | l1mudttfetaplut |
L1MuBMTQualPatternLut | l1mudttfqualplut |
friend std::ostream& operator<<(std::ostream& o, const L1TMuonBarrelParams & p) { p.print(o); return o; } More... | |
Public Attributes inherited from L1TMuonBarrelParams | |
unsigned | fwVersion_ |
L1MuDTTFMasks | l1mudttfmasks |
std::vector< L1MuDTTFMasks > | l1mudttfmasks_ |
L1MuDTTFParameters | l1mudttfparams |
std::vector< L1MuDTTFParameters > | l1mudttfparams_ |
LUTParams | lutparams_ |
std::vector< Node > | pnodes_ |
unsigned | version_ |
Private Member Functions | |
int | load_ext (std::vector< L1TMuonBarrelParams::LUTParams::extLUT > &, unsigned short int, unsigned short int) |
int | load_phi (std::vector< LUT > &, unsigned short int, unsigned short int, std::string) |
int | load_pt (std::vector< LUT > &, std::vector< int > &, unsigned short int, std::string) |
if configDB More... | |
Additional Inherited Members | |
Public Types inherited from L1TMuonBarrelParams | |
enum | { Version = 1 } |
enum | { CONFIG = 0, NUM_BMTF_PARAM_NODES = 2 } |
enum | { PT_Assignment_nbits_Phi, PT_Assignment_nbits_PhiB, PHI_Assignment_nbits_Phi, PHI_Assignment_nbits_PhiB, Extrapolation_nbits_Phi, Extrapolation_nbits_PhiB, BX_min, BX_max, Extrapolation_Filter, OutOfTime_Filter_Window, OutOfTime_Filter, Open_LUTs, EtaTrackFinder, Extrapolation_21, DisableNewAlgo, NUM_CONFIG_PARAMS } |
typedef std::map< short, L1MuDTEtaPattern, std::less< short > > | etaLUT |
Eta Pattern LUT. More... | |
typedef std::map< short, short, std::less< short > > | LUT |
L1MuBMPtaLut. More... | |
typedef std::pair< short, std::vector< short > > | LUTCONT |
typedef std::pair< short, short > | LUTID |
Qual Pattern LUT. More... | |
typedef std::map< LUTID, LUTCONT > | qpLUT |
Definition at line 30 of file L1TMuonBarrelParamsHelper.h.
|
inline |
Definition at line 32 of file L1TMuonBarrelParamsHelper.h.
L1TMuonBarrelParamsHelper::L1TMuonBarrelParamsHelper | ( | const L1TMuonBarrelParams & | barrelParams | ) |
Definition at line 9 of file L1TMuonBarrelParamsHelper.cc.
|
inline |
Definition at line 35 of file L1TMuonBarrelParamsHelper.h.
|
inline |
Definition at line 44 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, and L1TMuonBarrelParams::pnodes_.
void L1TMuonBarrelParamsHelper::configFromDB | ( | l1t::TriggerSystem & | trgSys | ) |
Converts the last bit to int
All bits must be the same
if register path
for masks
for it tRow
for it procRole
Definition at line 124 of file L1TMuonBarrelParamsHelper.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, spr::find(), l1t::TriggerSystem::getParameters(), l1t::TriggerSystem::getProcToRoleAssignment(), L1TMuonBarrelParams::l1mudttfmasks, visualization-live-secondInstance_cfg::m, gpuClustering::pixelStatus::mask, Skims_PA_cff::paths, L1MuDTTFMasks::reset(), fileinputsource_cfi::sec, set_DisableNewAlgo(), set_Extrapolation_21(), L1MuDTTFMasks::set_inrec_chdis_st1(), L1MuDTTFMasks::set_inrec_chdis_st2(), L1MuDTTFMasks::set_inrec_chdis_st3(), L1MuDTTFMasks::set_inrec_chdis_st4(), set_Open_LUTs(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by L1TMuonBarrelParamsESProducer::L1TMuonBarrelParamsESProducer(), and L1TMuonBarrelParamsOnlineProd::newObject().
void L1TMuonBarrelParamsHelper::configFromPy | ( | std::map< std::string, int > & | allInts, |
std::map< std::string, bool > & | allBools, | ||
std::map< std::string, std::vector< std::string > > | allMasks, | ||
unsigned int | fwVersion, | ||
const std::string & | AssLUTpath | ||
) |
Read Pt assignment Luts
Read Phi assignment Luts
Read Extrapolation Luts
Definition at line 17 of file L1TMuonBarrelParamsHelper.cc.
References c, gather_cfg::cout, L1TMuonBarrelParams::LUTParams::eta_lut_, ext_lut(), fwVersion(), l1mudttfetaplut, L1TMuonBarrelParams::l1mudttfmasks, L1TMuonBarrelParams::l1mudttfparams, l1mudttfqualplut, L1MuBMTEtaPatternLut::load(), L1MuBMTQualPatternLut::load(), load_ext(), load_phi(), load_pt(), L1TMuonBarrelParams::lutparams_, L1MuBMTEtaPatternLut::m_lut, L1MuBMTQualPatternLut::m_lut, gpuClustering::pixelStatus::mask, phi_lut(), pta_lut(), pta_threshold(), L1TMuonBarrelParams::LUTParams::qp_lut_, L1MuDTTFParameters::reset(), fileinputsource_cfi::sec, set_BX_max(), set_BX_min(), set_DisableNewAlgo(), set_EtaTrackFinder(), L1MuDTTFMasks::set_etsoc_chdis_st1(), L1MuDTTFMasks::set_etsoc_chdis_st2(), L1MuDTTFMasks::set_etsoc_chdis_st3(), set_Extrapolation_21(), set_Extrapolation_Filter(), set_Extrapolation_nbits_Phi(), set_Extrapolation_nbits_PhiB(), L1MuDTTFMasks::set_inrec_chdis_csc(), L1MuDTTFMasks::set_inrec_chdis_st1(), L1MuDTTFMasks::set_inrec_chdis_st2(), L1MuDTTFMasks::set_inrec_chdis_st3(), L1MuDTTFMasks::set_inrec_chdis_st4(), set_Open_LUTs(), set_OutOfTime_Filter(), set_OutOfTime_Filter_Window(), set_PHI_Assignment_nbits_Phi(), set_PHI_Assignment_nbits_PhiB(), set_PT_Assignment_nbits_Phi(), set_PT_Assignment_nbits_PhiB(), setAssLUTPath(), setext_lut(), setFwVersion(), setphi_lut(), setpta_lut(), and setpta_threshold().
Referenced by L1TMuonBarrelParamsESProducer::L1TMuonBarrelParamsESProducer().
|
inline |
Definition at line 62 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::LUTParams::eta_lut_, and L1TMuonBarrelParams::lutparams_.
Referenced by seteta_lut().
|
inline |
Definition at line 56 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::LUTParams::ext_lut_, and L1TMuonBarrelParams::lutparams_.
Referenced by configFromPy(), and load_ext().
|
inline |
Definition at line 98 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::fwVersion_.
Referenced by configFromPy(), and setFwVersion().
|
inline |
Definition at line 87 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::BX_max, L1TMuonBarrelParams::CONFIG, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 86 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::BX_min, L1TMuonBarrelParams::CONFIG, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 95 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::DisableNewAlgo, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 93 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::EtaTrackFinder, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 94 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::Extrapolation_21, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 88 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::Extrapolation_Filter, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 84 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::Extrapolation_nbits_Phi, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 85 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::Extrapolation_nbits_PhiB, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 92 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::Open_LUTs, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 91 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::OutOfTime_Filter, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 89 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::OutOfTime_Filter_Window, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 82 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::PHI_Assignment_nbits_Phi, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 83 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::PHI_Assignment_nbits_PhiB, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 80 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::pnodes_, and L1TMuonBarrelParams::PT_Assignment_nbits_Phi.
|
inline |
Definition at line 81 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::pnodes_, and L1TMuonBarrelParams::PT_Assignment_nbits_PhiB.
|
private |
Definition at line 538 of file L1TMuonBarrelParamsHelper.cc.
References EX12, EX13, EX14, EX15, EX16, EX21, EX23, EX24, EX25, EX26, EX34, EX56, ext_lut(), geometryDiff::file, edm::FileInPath::fullPath(), LaserClient_cfi::high, L1TMuonBarrelParams::LUTParams::extLUT::high, LaserClient_cfi::low, L1TMuonBarrelParams::LUTParams::extLUT::low, MAX_EXT, and contentValuesFiles::number.
Referenced by configFromPy().
|
private |
Definition at line 453 of file L1TMuonBarrelParamsHelper.cc.
References cms::cuda::assert(), geometryDiff::file, edm::FileInPath::fullPath(), heavyIonCSV_trainingSettings::idx, contentValuesFiles::number, phi, and phi_lut().
Referenced by configFromPy().
|
private |
if configDB
Definition at line 278 of file L1TMuonBarrelParamsHelper.cc.
References cms::cuda::assert(), geometryDiff::file, edm::FileInPath::fullPath(), MAX_PTASSMETH, NODEF, contentValuesFiles::number, DiDispStaMuonMonitor_cfi::pt, PT12H, PT12L, PT13H, PT13L, PT14H, PT14L, PT23H, PT23L, PT24H, PT24L, PT34H, PT34L, pta_lut(), pta_threshold(), edm::shift, and remoteMonitoring_LASER_era2018_cfg::threshold.
Referenced by configFromPy().
|
inline |
Definition at line 53 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::lutparams_, and L1TMuonBarrelParams::LUTParams::phi_lut_.
Referenced by configFromPy(), and load_phi().
void L1TMuonBarrelParamsHelper::print | ( | std::ostream & | out | ) | const |
Definition at line 3 of file L1TMuonBarrelParamsHelper.cc.
References L1TMuonBarrelParams::fwVersion_, and MillePedeFileConverter_cfg::out.
|
inline |
Definition at line 48 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::lutparams_, and L1TMuonBarrelParams::LUTParams::pta_lut_.
Referenced by configFromPy(), and load_pt().
|
inline |
Definition at line 50 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::lutparams_, and L1TMuonBarrelParams::LUTParams::pta_threshold_.
Referenced by configFromPy(), and load_pt().
|
inline |
Definition at line 59 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::lutparams_, and L1TMuonBarrelParams::LUTParams::qp_lut_.
|
inline |
Definition at line 71 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::BX_max, L1TMuonBarrelParams::CONFIG, pfMETCorrectionType0_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 70 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::BX_min, L1TMuonBarrelParams::CONFIG, pfMETCorrectionType0_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 78 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::DisableNewAlgo, pfMETCorrectionType0_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromDB(), and configFromPy().
|
inline |
Definition at line 76 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::EtaTrackFinder, pfMETCorrectionType0_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 77 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::Extrapolation_21, pfMETCorrectionType0_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromDB(), and configFromPy().
|
inline |
Definition at line 72 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::Extrapolation_Filter, pfMETCorrectionType0_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 68 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::Extrapolation_nbits_Phi, pfMETCorrectionType0_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 69 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::Extrapolation_nbits_PhiB, pfMETCorrectionType0_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 75 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::Open_LUTs, pfMETCorrectionType0_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromDB(), and configFromPy().
|
inline |
Definition at line 74 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::OutOfTime_Filter, pfMETCorrectionType0_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 73 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::OutOfTime_Filter_Window, pfMETCorrectionType0_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 66 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, pfMETCorrectionType0_cfi::par1, L1TMuonBarrelParams::PHI_Assignment_nbits_Phi, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 67 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, pfMETCorrectionType0_cfi::par1, L1TMuonBarrelParams::PHI_Assignment_nbits_PhiB, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 64 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, pfMETCorrectionType0_cfi::par1, L1TMuonBarrelParams::pnodes_, and L1TMuonBarrelParams::PT_Assignment_nbits_Phi.
Referenced by configFromPy().
|
inline |
Definition at line 65 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, pfMETCorrectionType0_cfi::par1, L1TMuonBarrelParams::pnodes_, and L1TMuonBarrelParams::PT_Assignment_nbits_PhiB.
Referenced by configFromPy().
|
inline |
Definition at line 45 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, castor_dqm_sourceclient_file_cfg::path, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 61 of file L1TMuonBarrelParamsHelper.h.
References eta_lut(), L1TMuonBarrelParams::LUTParams::eta_lut_, and L1TMuonBarrelParams::lutparams_.
|
inline |
Definition at line 55 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::LUTParams::ext_lut_, L1DTTrackFinderConfig_cff::extlut, and L1TMuonBarrelParams::lutparams_.
Referenced by configFromPy().
|
inline |
Definition at line 99 of file L1TMuonBarrelParamsHelper.h.
References fwVersion(), and L1TMuonBarrelParams::fwVersion_.
Referenced by configFromPy().
|
inline |
Definition at line 52 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::lutparams_, L1TMuonBarrelParams::LUTParams::phi_lut_, and L1DTTrackFinderConfig_cff::philut.
Referenced by configFromPy().
|
inline |
Definition at line 47 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::lutparams_, L1TMuonBarrelParams::LUTParams::pta_lut_, and L1DTTrackFinderConfig_cff::ptalut.
Referenced by configFromPy().
|
inline |
Definition at line 49 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::lutparams_, and L1TMuonBarrelParams::LUTParams::pta_threshold_.
Referenced by configFromPy().
|
inline |
Definition at line 58 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::lutparams_, and L1TMuonBarrelParams::LUTParams::qp_lut_.
L1MuBMTEtaPatternLut L1TMuonBarrelParamsHelper::l1mudttfetaplut |
Definition at line 107 of file L1TMuonBarrelParamsHelper.h.
Referenced by configFromPy().
L1MuBMTQualPatternLut L1TMuonBarrelParamsHelper::l1mudttfqualplut |
friend std::ostream& operator<<(std::ostream& o, const L1TMuonBarrelParams & p) { p.print(o); return o; }
Definition at line 106 of file L1TMuonBarrelParamsHelper.h.
Referenced by configFromPy().