KK. More...
#include <CSCTFPtLUT.h>
Classes | |
struct | Tokens |
Public Member Functions | |
CSCTFPtLUT (const edm::EventSetup &c, const Tokens &tokens) | |
KK. More... | |
CSCTFPtLUT (const edm::ParameterSet &, const L1MuTriggerScales *scales, const L1MuTriggerPtScale *ptScale) | |
CSCTFPtLUT (const CSCTFPtLUT &) | |
CSCTFPtLUT & | operator= (const CSCTFPtLUT &) |
ptdat | Pt (const ptadd &) const |
ptdat | Pt (const unsigned &) const |
ptdat | Pt (const unsigned &delta_phi_12, const unsigned &delta_phi23, const unsigned &track_eta, const unsigned &track_mode, const unsigned &track_fr, const unsigned &delta_phi_sign) const |
ptdat | Pt (const unsigned &delta_phi_12, const unsigned &track_eta, const unsigned &track_mode, const unsigned &track_fr, const unsigned &delta_phi_sign) const |
~CSCTFPtLUT () | |
Static Public Member Functions | |
static Tokens | consumes (edm::ConsumesCollector iC) |
Static Public Attributes | |
static const int | dEtaCut_High_A [24] = {3, 3, 4, 7, 3, 2, 4, 7, 5, 5, 5, 7, 2, 2, 2, 2, 3, 3, 3, 3, 2, 2, 2, 2} |
static const int | dEtaCut_High_B [24] = {3, 3, 4, 7, 3, 3, 5, 7, 6, 6, 6, 7, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2} |
static const int | dEtaCut_High_C [24] = {4, 4, 5, 7, 4, 3, 6, 7, 7, 7, 7, 7, 3, 3, 3, 3, 4, 4, 4, 4, 3, 3, 3, 3} |
static const int | dEtaCut_Low [24] = {2, 2, 2, 7, 2, 1, 2, 7, 3, 3, 3, 7, 1, 1, 1, 1, 2, 2, 2, 2, 1, 1, 1, 1} |
static const int | dEtaCut_Mid [24] = {2, 2, 3, 7, 2, 2, 3, 7, 4, 4, 4, 7, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2} |
static const int | dEtaCut_Open [24] = {7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7} |
static const int | dPhiNLBMap_5bit [32] |
KK. More... | |
static const int | dPhiNLBMap_7bit [128] |
static const int | dPhiNLBMap_8bit [256] |
static const int | getPtbyMLH = 0xFFFF |
Private Member Functions | |
ptdat | calcPt (const ptadd &) const |
void | readLUT () |
unsigned | trackQuality (const unsigned &eta, const unsigned &mode, const unsigned &fr) const |
Private Attributes | |
bool | isBeamStartConf |
bool | isBinary |
unsigned | lowQualityFlag |
edm::FileInPath | pt_lut_file |
unsigned | pt_method |
CSCTFPtMethods | ptMethods |
bool | read_pt_lut |
const L1MuTriggerPtScale * | trigger_ptscale |
const L1MuTriggerScales * | trigger_scale |
Static Private Attributes | |
static bool | lut_read_in = false |
static ptdat * | pt_lut = nullptr |
KK.
Definition at line 19 of file CSCTFPtLUT.h.
CSCTFPtLUT::CSCTFPtLUT | ( | const edm::EventSetup & | c, |
const Tokens & | tokens | ||
) |
KK.
Definition at line 97 of file CSCTFPtLUT.cc.
References edm::EventSetup::getData(), isBeamStartConf, lowQualityFlag, L1MuCSCPtLut::lut(), lut_read_in, pt_lut, pt_method, CSCTFPtLUT::Tokens::ptLUT, ptMethods, CSCTFPtLUT::Tokens::ptScale, CSCTFPtLUT::Tokens::scales, trigger_ptscale, and trigger_scale.
CSCTFPtLUT::CSCTFPtLUT | ( | const edm::ParameterSet & | pset, |
const L1MuTriggerScales * | scales, | ||
const L1MuTriggerPtScale * | ptScale | ||
) |
Definition at line 118 of file CSCTFPtLUT.cc.
References edm::FileInPath::fullPath(), isBeamStartConf, isBinary, lowQualityFlag, lut_read_in, muonDTDigis_cfi::pset, pt_lut, pt_lut_file, pt_method, read_pt_lut, and readLUT().
CSCTFPtLUT::CSCTFPtLUT | ( | const CSCTFPtLUT & | ) |
|
inline |
Definition at line 226 of file CSCTFPtLUT.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, gather_cfg::cout, HLT_2022v12_cff::dEta, dEtaCut_High_A, dEtaCut_High_B, dEtaCut_High_C, dEtaCut_Low, dEtaCut_Mid, dEtaCut_Open, dPhiNLBMap_5bit, dPhiNLBMap_7bit, dPhiNLBMap_8bit, PVValHelper::eta, dqmMemoryStats::float, L1MuScale::getLowEdge(), L1MuScale::getPacked(), getPtbyMLH, L1MuTriggerPtScale::getPtScale(), L1MuTriggerScales::getRegionalEtaScale(), mps_fire::i, createfilelist::int, isBeamStartConf, SiStripPI::max, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, Pi, CSCTFPtMethods::Pt2Stn(), CSCTFPtMethods::Pt2Stn2010(), CSCTFPtMethods::Pt2Stn2011(), CSCTFPtMethods::Pt2Stn2012(), CSCTFPtMethods::Pt2StnChiSq(), CSCTFPtMethods::Pt2StnHybrid(), CSCTFPtMethods::Pt3Stn(), CSCTFPtMethods::Pt3Stn2010(), CSCTFPtMethods::Pt3Stn2011(), CSCTFPtMethods::Pt3Stn2012(), CSCTFPtMethods::Pt3Stn2012_DT(), CSCTFPtMethods::Pt3StnChiSq(), CSCTFPtMethods::Pt3StnHybrid(), pt_method, ptMethods, quality, mps_fire::result, CSCTFConstants::SECTOR_RAD, trackQuality(), trigger_ptscale, and trigger_scale.
Referenced by Pt().
|
static |
Definition at line 87 of file CSCTFPtLUT.cc.
References edm::ConsumesCollector::esConsumes(), lut_read_in, CSCTFPtLUT::Tokens::ptLUT, CSCTFPtLUT::Tokens::ptScale, and CSCTFPtLUT::Tokens::scales.
Referenced by CSCTFSectorProcessor::consumes().
CSCTFPtLUT& CSCTFPtLUT::operator= | ( | const CSCTFPtLUT & | ) |
Definition at line 178 of file CSCTFPtLUT.cc.
References calcPt(), and mps_fire::result.
Referenced by Pt(), CSCTFSectorProcessor::run(), and L1Analysis::L1AnalysisCSCTF::SetTracks().
ptdat CSCTFPtLUT::Pt | ( | const unsigned & | address | ) | const |
ptdat CSCTFPtLUT::Pt | ( | const unsigned & | delta_phi_12, |
const unsigned & | delta_phi23, | ||
const unsigned & | track_eta, | ||
const unsigned & | track_mode, | ||
const unsigned & | track_fr, | ||
const unsigned & | delta_phi_sign | ||
) | const |
ptdat CSCTFPtLUT::Pt | ( | const unsigned & | delta_phi_12, |
const unsigned & | track_eta, | ||
const unsigned & | track_mode, | ||
const unsigned & | track_fr, | ||
const unsigned & | delta_phi_sign | ||
) | const |
|
private |
Definition at line 1458 of file CSCTFPtLUT.cc.
References mps_fire::end, edm::FileInPath::fullPath(), mps_fire::i, isBinary, CSCBitWidths::kPtAddressWidth, pt_lut, pt_lut_file, and groupFilesInBlocks::temp.
Referenced by CSCTFPtLUT().
|
private |
DEA try increasing quality
Definition at line 1339 of file CSCTFPtLUT.cc.
References PVValHelper::eta, isBeamStartConf, lowQualityFlag, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, pt_method, and quality.
Referenced by calcPt().
|
static |
Definition at line 67 of file CSCTFPtLUT.h.
Referenced by calcPt().
|
static |
Definition at line 68 of file CSCTFPtLUT.h.
Referenced by calcPt().
|
static |
Definition at line 69 of file CSCTFPtLUT.h.
Referenced by calcPt().
|
static |
Definition at line 65 of file CSCTFPtLUT.h.
Referenced by calcPt().
|
static |
Definition at line 66 of file CSCTFPtLUT.h.
Referenced by calcPt().
|
static |
Definition at line 70 of file CSCTFPtLUT.h.
Referenced by calcPt().
|
static |
KK.
Definition at line 61 of file CSCTFPtLUT.h.
Referenced by calcPt().
|
static |
Definition at line 62 of file CSCTFPtLUT.h.
Referenced by calcPt().
|
static |
Definition at line 63 of file CSCTFPtLUT.h.
Referenced by calcPt().
|
static |
Definition at line 72 of file CSCTFPtLUT.h.
Referenced by calcPt().
|
private |
Definition at line 81 of file CSCTFPtLUT.h.
Referenced by calcPt(), CSCTFPtLUT(), and trackQuality().
|
private |
Definition at line 81 of file CSCTFPtLUT.h.
Referenced by CSCTFPtLUT(), and readLUT().
|
private |
Definition at line 83 of file CSCTFPtLUT.h.
Referenced by CSCTFPtLUT(), and trackQuality().
|
staticprivate |
Definition at line 76 of file CSCTFPtLUT.h.
Referenced by consumes(), and CSCTFPtLUT().
|
staticprivate |
Definition at line 75 of file CSCTFPtLUT.h.
Referenced by CSCTFPtLUT(), readLUT(), and ~CSCTFPtLUT().
|
private |
Definition at line 82 of file CSCTFPtLUT.h.
Referenced by CSCTFPtLUT(), and readLUT().
|
private |
Definition at line 83 of file CSCTFPtLUT.h.
Referenced by calcPt(), CSCTFPtLUT(), and trackQuality().
|
private |
Definition at line 79 of file CSCTFPtLUT.h.
Referenced by calcPt(), and CSCTFPtLUT().
|
private |
Definition at line 81 of file CSCTFPtLUT.h.
Referenced by CSCTFPtLUT().
|
private |
Definition at line 78 of file CSCTFPtLUT.h.
Referenced by calcPt(), and CSCTFPtLUT().
|
private |
Definition at line 77 of file CSCTFPtLUT.h.
Referenced by calcPt(), and CSCTFPtLUT().