#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 31 of file L1TMuonBarrelParamsHelper.h.
|
inline |
Definition at line 34 of file L1TMuonBarrelParamsHelper.h.
L1TMuonBarrelParamsHelper::L1TMuonBarrelParamsHelper | ( | const L1TMuonBarrelParams & | barrelParams | ) |
Definition at line 10 of file L1TMuonBarrelParamsHelper.cc.
|
inline |
Definition at line 37 of file L1TMuonBarrelParamsHelper.h.
References configFromDB(), configFromPy(), fwVersion(), genParticles_cff::map, and AlCaHLTBitMon_QueryRunRegistry::string.
|
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 123 of file L1TMuonBarrelParamsHelper.cc.
References MessageLogger_cfi::cerr, spr::find(), l1t::TriggerSystem::getParameters(), l1t::TriggerSystem::getProcToRoleAssignment(), L1TMuonBarrelParams::l1mudttfmasks, funct::m, RecoTauDiscriminantConfiguration::mask, L1MuDTTFMasks::reset(), 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(), AlCaHLTBitMon_QueryRunRegistry::string, and create_public_pileup_plots::vals.
Referenced by L1TMuonBarrelParamsESProducer::L1TMuonBarrelParamsESProducer(), L1TMuonBarrelParamsOnlineProd::newObject(), and ~L1TMuonBarrelParamsHelper().
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 EnergyCorrector::c, gather_cfg::cout, L1TMuonBarrelParams::LUTParams::eta_lut_, ext_lut(), l1mudttfetaplut, L1TMuonBarrelParams::l1mudttfmasks, L1TMuonBarrelParams::l1mudttfparams, l1mudttfqualplut, L1MuBMTEtaPatternLut::load(), L1MuBMTQualPatternLut::load(), load_ext(), load_phi(), load_pt(), L1TMuonBarrelParams::lutparams_, L1MuBMTEtaPatternLut::m_lut, L1MuBMTQualPatternLut::m_lut, RecoTauDiscriminantConfiguration::mask, phi_lut(), pta_lut(), pta_threshold(), L1TMuonBarrelParams::LUTParams::qp_lut_, L1MuDTTFParameters::reset(), 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(), and ~L1TMuonBarrelParamsHelper().
|
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().
|
inline |
Definition at line 101 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::fwVersion_.
Referenced by setFwVersion(), and ~L1TMuonBarrelParamsHelper().
|
inline |
Definition at line 89 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::BX_max, L1TMuonBarrelParams::CONFIG, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 88 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::BX_min, L1TMuonBarrelParams::CONFIG, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 98 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::DisableNewAlgo, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 96 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::EtaTrackFinder, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 97 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::Extrapolation_21, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 90 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::Extrapolation_Filter, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 86 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::Extrapolation_nbits_Phi, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 87 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::Extrapolation_nbits_PhiB, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 95 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::Open_LUTs, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 94 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::OutOfTime_Filter, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 91 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::OutOfTime_Filter_Window, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 84 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::PHI_Assignment_nbits_Phi, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 85 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::PHI_Assignment_nbits_PhiB, and L1TMuonBarrelParams::pnodes_.
|
inline |
Definition at line 82 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::pnodes_, and L1TMuonBarrelParams::PT_Assignment_nbits_Phi.
|
inline |
Definition at line 83 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::pnodes_, and L1TMuonBarrelParams::PT_Assignment_nbits_PhiB.
|
private |
Definition at line 478 of file L1TMuonBarrelParamsHelper.cc.
References L1TriggerLutFile::close(), EX12, EX13, EX14, EX15, EX16, EX21, EX23, EX24, EX25, EX26, EX34, EX56, FrontierConditions_GlobalTag_cff::file, edm::FileInPath::fullPath(), L1TriggerLutFile::good(), L1TMuonBarrelParams::LUTParams::extLUT::high, L1TMuonBarrelParams::LUTParams::extLUT::low, MAX_EXT, L1TriggerLutFile::open(), and L1TriggerLutFile::readInteger().
Referenced by configFromPy().
|
private |
Definition at line 392 of file L1TMuonBarrelParamsHelper.cc.
References L1TriggerLutFile::close(), FrontierConditions_GlobalTag_cff::file, edm::FileInPath::fullPath(), L1TriggerLutFile::good(), training_settings::idx, L1TriggerLutFile::open(), phi, and L1TriggerLutFile::readInteger().
Referenced by configFromPy().
|
private |
if configDB
Definition at line 285 of file L1TMuonBarrelParamsHelper.cc.
References L1TriggerLutFile::close(), FrontierConditions_GlobalTag_cff::file, edm::FileInPath::fullPath(), L1TriggerLutFile::good(), MAX_PTASSMETH, NODEF, L1TriggerLutFile::open(), EnergyCorrector::pt, PT12H, PT12L, PT13H, PT13L, PT14H, PT14L, PT23H, PT23L, PT24H, PT24L, PT34H, PT34L, L1TriggerLutFile::readInteger(), edm::shift, and electronIdCutBased_cfi::threshold.
Referenced by configFromPy().
|
inline |
Definition at line 53 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::lutparams_, and L1TMuonBarrelParams::LUTParams::phi_lut_.
Referenced by configFromPy().
void L1TMuonBarrelParamsHelper::print | ( | std::ostream & | out | ) | const |
Definition at line 3 of file L1TMuonBarrelParamsHelper.cc.
References L1TMuonBarrelParams::fwVersion_.
Referenced by setFwVersion().
|
inline |
Definition at line 48 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::lutparams_, and L1TMuonBarrelParams::LUTParams::pta_lut_.
Referenced by configFromPy().
|
inline |
Definition at line 50 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::lutparams_, and L1TMuonBarrelParams::LUTParams::pta_threshold_.
Referenced by configFromPy().
|
inline |
Definition at line 59 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::lutparams_, and L1TMuonBarrelParams::LUTParams::qp_lut_.
|
inline |
Definition at line 72 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::BX_max, L1TMuonBarrelParams::CONFIG, RecoTauPiZeroBuilderPlugins_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 71 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::BX_min, L1TMuonBarrelParams::CONFIG, RecoTauPiZeroBuilderPlugins_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 79 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::DisableNewAlgo, RecoTauPiZeroBuilderPlugins_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromDB(), and configFromPy().
|
inline |
Definition at line 77 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::EtaTrackFinder, RecoTauPiZeroBuilderPlugins_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 78 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::Extrapolation_21, RecoTauPiZeroBuilderPlugins_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromDB(), and configFromPy().
|
inline |
Definition at line 73 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::Extrapolation_Filter, RecoTauPiZeroBuilderPlugins_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 69 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::Extrapolation_nbits_Phi, RecoTauPiZeroBuilderPlugins_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 70 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::Extrapolation_nbits_PhiB, RecoTauPiZeroBuilderPlugins_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 76 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::Open_LUTs, RecoTauPiZeroBuilderPlugins_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromDB(), and configFromPy().
|
inline |
Definition at line 75 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::OutOfTime_Filter, RecoTauPiZeroBuilderPlugins_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 74 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, L1TMuonBarrelParams::OutOfTime_Filter_Window, RecoTauPiZeroBuilderPlugins_cfi::par1, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 67 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, RecoTauPiZeroBuilderPlugins_cfi::par1, L1TMuonBarrelParams::PHI_Assignment_nbits_Phi, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 68 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, RecoTauPiZeroBuilderPlugins_cfi::par1, L1TMuonBarrelParams::PHI_Assignment_nbits_PhiB, and L1TMuonBarrelParams::pnodes_.
Referenced by configFromPy().
|
inline |
Definition at line 65 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, RecoTauPiZeroBuilderPlugins_cfi::par1, L1TMuonBarrelParams::pnodes_, and L1TMuonBarrelParams::PT_Assignment_nbits_Phi.
Referenced by configFromPy().
|
inline |
Definition at line 66 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::CONFIG, RecoTauPiZeroBuilderPlugins_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, 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_, and L1TMuonBarrelParams::lutparams_.
Referenced by configFromPy().
|
inline |
Definition at line 102 of file L1TMuonBarrelParamsHelper.h.
References fwVersion(), L1TMuonBarrelParams::fwVersion_, and print().
Referenced by configFromPy().
|
inline |
Definition at line 52 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::lutparams_, and L1TMuonBarrelParams::LUTParams::phi_lut_.
Referenced by configFromPy().
|
inline |
Definition at line 47 of file L1TMuonBarrelParamsHelper.h.
References L1TMuonBarrelParams::lutparams_, and L1TMuonBarrelParams::LUTParams::pta_lut_.
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 110 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 109 of file L1TMuonBarrelParamsHelper.h.
Referenced by configFromPy().