#include <L1TMuonBarrelKalmanAlgo.h>
Classes | |
class | StubSorter |
Public Types | |
typedef ROOT::Math::SMatrix< double, 2, 2, ROOT::Math::MatRepSym< double, 2 > > | CovarianceMatrix2 |
typedef ROOT::Math::SMatrix< double, 1, 3 > | Matrix13 |
typedef ROOT::Math::SMatrix< double, 2, 3 > | Matrix23 |
typedef ROOT::Math::SMatrix< double, 3, 1 > | Matrix31 |
typedef ROOT::Math::SMatrix< double, 3, 2 > | Matrix32 |
typedef ROOT::Math::SMatrix< double, 3, 3 > | Matrix33 |
typedef ROOT::Math::SVector< double, 2 > | Vector2 |
Public Member Functions | |
void | addBMTFMuon (int, const L1MuKBMTrack &, std::unique_ptr< l1t::RegionalMuonCandBxCollection > &) |
std::pair< bool, L1MuKBMTrack > | chain (const L1MuKBMTCombinedStubRef &, const L1MuKBMTCombinedStubRefVector &) |
L1MuKBMTrackCollection | clean (const L1MuKBMTrackCollection &, uint) |
l1t::RegionalMuonCand | convertToBMTF (const L1MuKBMTrack &track) |
L1TMuonBarrelKalmanAlgo (const edm::ParameterSet &settings) | |
Private Attributes | |
std::vector< double > | aPhi_ |
std::vector< double > | aPhiB_ |
std::vector< double > | aPhiBNLO_ |
std::vector< double > | bPhi_ |
std::vector< double > | bPhiB_ |
std::vector< double > | chiSquare_ |
std::vector< int > | chiSquareCut_ |
std::vector< int > | chiSquareCutCurv_ |
std::vector< int > | chiSquareCutPattern_ |
std::vector< int > | chiSquareCutTight_ |
std::vector< int > | combos1_ |
std::vector< int > | combos2_ |
std::vector< int > | combos3_ |
std::vector< int > | combos4_ |
std::vector< double > | eLoss_ |
std::vector< double > | etaLUT0_ |
std::vector< double > | etaLUT1_ |
uint | globalChi2Cut_ |
uint | globalChi2CutLimit_ |
std::vector< double > | initK2_ |
std::vector< double > | initK_ |
L1TMuonBarrelKalmanLUTs * | lutService_ |
std::vector< double > | mScatteringPhi_ |
std::vector< double > | mScatteringPhiB_ |
double | phiAt2_ |
double | pointResolutionPhi_ |
double | pointResolutionPhiB_ |
std::vector< double > | pointResolutionPhiBH_ |
std::vector< double > | pointResolutionPhiBL_ |
double | pointResolutionVertex_ |
std::vector< double > | trackComp_ |
std::vector< int > | trackCompCut_ |
std::vector< int > | trackCompCutCurv_ |
std::vector< double > | trackCompErr1_ |
std::vector< double > | trackCompErr2_ |
std::vector< int > | trackCompPattern_ |
bool | useOfflineAlgo_ |
bool | verbose_ |
Static Private Attributes | |
static const int | BITSCURV = 14 |
static const int | BITSPARAM = 14 |
static const int | BITSPHI = 12 |
static const int | BITSPHIB = 13 |
static const int | GAIN2_0 = 12 |
static const int | GAIN2_0INT = 8 |
static const int | GAIN2_1 = 12 |
static const int | GAIN2_1INT = 4 |
static const int | GAIN2_4 = 12 |
static const int | GAIN2_4INT = 4 |
static const int | GAIN2_5 = 12 |
static const int | GAIN2_5INT = 0 |
static const int | GAIN_0 = 9 |
static const int | GAIN_0INT = 6 |
static const int | GAIN_4 = 9 |
static const int | GAIN_4INT = 4 |
static const int | GAIN_V0 = 9 |
static const int | GAIN_V0INT = 3 |
Definition at line 16 of file L1TMuonBarrelKalmanAlgo.h.
typedef ROOT::Math::SMatrix<double, 2, 2, ROOT::Math::MatRepSym<double, 2> > L1TMuonBarrelKalmanAlgo::CovarianceMatrix2 |
Definition at line 19 of file L1TMuonBarrelKalmanAlgo.h.
typedef ROOT::Math::SMatrix<double, 1, 3> L1TMuonBarrelKalmanAlgo::Matrix13 |
Definition at line 22 of file L1TMuonBarrelKalmanAlgo.h.
typedef ROOT::Math::SMatrix<double, 2, 3> L1TMuonBarrelKalmanAlgo::Matrix23 |
Definition at line 21 of file L1TMuonBarrelKalmanAlgo.h.
typedef ROOT::Math::SMatrix<double, 3, 1> L1TMuonBarrelKalmanAlgo::Matrix31 |
Definition at line 23 of file L1TMuonBarrelKalmanAlgo.h.
typedef ROOT::Math::SMatrix<double, 3, 2> L1TMuonBarrelKalmanAlgo::Matrix32 |
Definition at line 20 of file L1TMuonBarrelKalmanAlgo.h.
typedef ROOT::Math::SMatrix<double, 3, 3> L1TMuonBarrelKalmanAlgo::Matrix33 |
Definition at line 24 of file L1TMuonBarrelKalmanAlgo.h.
typedef ROOT::Math::SVector<double, 2> L1TMuonBarrelKalmanAlgo::Vector2 |
Definition at line 18 of file L1TMuonBarrelKalmanAlgo.h.
L1TMuonBarrelKalmanAlgo::L1TMuonBarrelKalmanAlgo | ( | const edm::ParameterSet & | settings | ) |
Definition at line 6 of file L1TMuonBarrelKalmanAlgo.cc.
void L1TMuonBarrelKalmanAlgo::addBMTFMuon | ( | int | bx, |
const L1MuKBMTrack & | track, | ||
std::unique_ptr< l1t::RegionalMuonCandBxCollection > & | out | ||
) |
Definition at line 133 of file L1TMuonBarrelKalmanAlgo.cc.
References simKBmtfDigis_cfi::bx, convertToBMTF(), MillePedeFileConverter_cfg::out, and HLT_2022v11_cff::track.
Referenced by L1TMuonBarrelKalmanTrackProducer::produce().
|
private |
Definition at line 1327 of file L1TMuonBarrelKalmanAlgo.cc.
References L1TMuonBarrelKalmanLUTs::coarseEta(), PVValHelper::eta, etaStubRank(), DQMScaleToClient_cfi::factor, fp_product(), mps_fire::i, lutService_, topSingleLeptonDQM_PU_cfi::pattern, rank(), Validation_hcalonly_cfi::sign, HLT_2022v11_cff::track, parallelization::uint, and makeMuonMisalignmentScenario::wheel.
Referenced by chain().
std::pair< bool, L1MuKBMTrack > L1TMuonBarrelKalmanAlgo::chain | ( | const L1MuKBMTCombinedStubRef & | seed, |
const L1MuKBMTCombinedStubRefVector & | stubs | ||
) |
Definition at line 816 of file L1TMuonBarrelKalmanAlgo.cc.
References calculateEta(), ALCARECOTkAlJpsiMuMu_cff::charge, clean(), combos1_, combos2_, combos3_, combos4_, correctedPhi(), correctedPhiB(), estimateChiSquare(), estimateCompatibility(), dqmMemoryStats::float, getBit(), hitPattern(), mps_fire::i, simKBmtfDigis_cfi::initialK, initK2_, initK_, createfilelist::int, match(), TriggerAnalyzer::passed, phiAt2(), pointResolutionPhi_, pointResolutionPhiB_, pointResolutionPhiBH_, pointResolutionPhiBL_, propagate(), rank(), fileCollector::seed, setFloatingPointValues(), HLT_2022v11_cff::track, update(), verbose_, and vertexConstraint().
Referenced by L1TMuonBarrelKalmanRegionModule::process().
L1MuKBMTrackCollection L1TMuonBarrelKalmanAlgo::clean | ( | const L1MuKBMTrackCollection & | tracks, |
uint | seed | ||
) |
Definition at line 1275 of file L1TMuonBarrelKalmanAlgo.cc.
References mps_fire::i, MillePedeFileConverter_cfg::out, rank(), cond::persistency::search(), fileCollector::seed, HLT_2022v11_cff::track, tracks, and parallelization::uint.
Referenced by chain().
l1t::RegionalMuonCand L1TMuonBarrelKalmanAlgo::convertToBMTF | ( | const L1MuKBMTrack & | track | ) |
Definition at line 55 of file L1TMuonBarrelKalmanAlgo.cc.
References funct::abs(), generateTowerEtThresholdLUT::addr, l1t::bmtf, PVValHelper::dxy, PVValHelper::eta, fp_product(), DigiToRawDM_cff::HF, HLT_2022v11_cff::muon, phi, DiDispStaMuonMonitor_cfi::pt, HLT_2022v11_cff::pt2, ptLUT(), quality, rank(), Validation_hcalonly_cfi::sign, createJobs::tmp, HLT_2022v11_cff::track, trackAddress(), and twosCompToBits().
Referenced by addBMTFMuon(), and L1TMuonBarrelKalmanSectorProcessor::makeWord().
|
private |
Definition at line 297 of file L1TMuonBarrelKalmanAlgo.cc.
Referenced by chain(), estimateChiSquare(), match(), phiAt2(), updateLUT(), updateOffline(), and updateOffline1D().
|
private |
Definition at line 292 of file L1TMuonBarrelKalmanAlgo.cc.
Referenced by chain(), updateLUT(), and updateOffline().
|
private |
Definition at line 316 of file L1TMuonBarrelKalmanAlgo.cc.
Referenced by rank().
|
private |
Definition at line 1127 of file L1TMuonBarrelKalmanAlgo.cc.
References makeGlobalPositionRcd_cfg::tag.
Referenced by trackAddress().
|
private |
Definition at line 1008 of file L1TMuonBarrelKalmanAlgo.cc.
References funct::abs(), chiSquare_, chiSquareCut_, chiSquareCutCurv_, chiSquareCutPattern_, correctedPhi(), dumpMFGeometry_cfg::delta, fp_product(), mps_fire::i, HLT_2022v11_cff::track, parallelization::uint, verbose_, and wrapAround().
Referenced by chain().
|
private |
Definition at line 1054 of file L1TMuonBarrelKalmanAlgo.cc.
References BITSCURV, chiSquareCutTight_, dumpMFGeometry_cfg::delta, change_name::diff, submitPVResolutionJobs::err, mps_fire::i, HLT_2022v11_cff::track, trackComp_, trackCompCut_, trackCompCutCurv_, trackCompErr1_, trackCompErr2_, trackCompPattern_, parallelization::uint, and verbose_.
Referenced by chain().
|
private |
Definition at line 1316 of file L1TMuonBarrelKalmanAlgo.cc.
Referenced by calculateEta().
|
private |
Definition at line 1238 of file L1TMuonBarrelKalmanAlgo.cc.
Referenced by calculateEta(), convertToBMTF(), estimateChiSquare(), and vertexConstraintLUT().
|
private |
Definition at line 320 of file L1TMuonBarrelKalmanAlgo.cc.
Referenced by chain().
|
private |
Definition at line 46 of file L1TMuonBarrelKalmanAlgo.cc.
References hitPattern(), mps_fire::i, tracks, and parallelization::uint.
|
private |
Definition at line 308 of file L1TMuonBarrelKalmanAlgo.cc.
References funct::pow(), and HLT_2022v11_cff::track.
Referenced by chain(), getByCode(), rank(), updateLUT(), updateOffline(), and updateOffline1D().
|
private |
Definition at line 168 of file L1TMuonBarrelKalmanAlgo.cc.
References correctedPhi(), HLT_2022v11_cff::distance, mps_fire::i, matchAbs(), N, photons_cff::s4, fileCollector::seed, parallelization::uint, makeMuonMisalignmentScenario::wheel, and wrapAround().
Referenced by chain().
|
private |
Definition at line 161 of file L1TMuonBarrelKalmanAlgo.cc.
References mps_fire::i, info(), and dqmiolumiharvest::j.
Referenced by match().
|
private |
Definition at line 1383 of file L1TMuonBarrelKalmanAlgo.cc.
References correctedPhi(), phi, phiAt2_, HLT_2022v11_cff::track, and verbose_.
Referenced by chain().
|
private |
Definition at line 322 of file L1TMuonBarrelKalmanAlgo.cc.
References a, generateTowerEtThresholdLUT::addr, aPhi_, aPhiB_, aPhiBNLO_, b, bPhi_, bPhiB_, ALCARECOTkAlJpsiMuMu_cff::charge, eLoss_, createfilelist::int, mScatteringPhi_, mScatteringPhiB_, phi, HLT_2022v11_cff::track, and verbose_.
Referenced by chain().
|
private |
Definition at line 1243 of file L1TMuonBarrelKalmanAlgo.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, dqmMemoryStats::float, createfilelist::int, hgcalVFEProducer_cfi::lsb, and DiDispStaMuonMonitor_cfi::pt.
Referenced by convertToBMTF(), and setFloatingPointValues().
|
private |
Definition at line 1109 of file L1TMuonBarrelKalmanAlgo.cc.
References customBitmask(), hitPattern(), HLT_2022v11_cff::track, and parallelization::uint.
Referenced by calculateEta(), chain(), clean(), and convertToBMTF().
|
private |
Definition at line 780 of file L1TMuonBarrelKalmanAlgo.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, PVValHelper::eta, dqmMemoryStats::float, hgcalVFEProducer_cfi::lsb, M_PI, phi, DiDispStaMuonMonitor_cfi::pt, ptLUT(), HLT_2022v11_cff::track, and bphysicsOniaDQM_cfi::vertex.
Referenced by chain().
|
private |
Definition at line 1169 of file L1TMuonBarrelKalmanAlgo.cc.
References generateTowerEtThresholdLUT::addr, encode(), l1t::RegionalMuonCand::kSegSelStat1, l1t::RegionalMuonCand::kSegSelStat2, l1t::RegionalMuonCand::kSegSelStat3, l1t::RegionalMuonCand::kSegSelStat4, l1t::RegionalMuonCand::kStat1, l1t::RegionalMuonCand::kStat2, l1t::RegionalMuonCand::kStat3, l1t::RegionalMuonCand::kStat4, l1t::RegionalMuonCand::kWheelNum, l1t::RegionalMuonCand::kWheelSide, MillePedeFileConverter_cfg::out, and HLT_2022v11_cff::track.
Referenced by convertToBMTF().
|
private |
Definition at line 1231 of file L1TMuonBarrelKalmanAlgo.cc.
References submitPVResolutionJobs::q.
Referenced by convertToBMTF().
|
private |
Definition at line 458 of file L1TMuonBarrelKalmanAlgo.cc.
References HLT_2022v11_cff::track, updateEta(), updateLUT(), updateOffline(), updateOffline1D(), and useOfflineAlgo_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), chain(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
|
private |
Definition at line 607 of file L1TMuonBarrelKalmanAlgo.cc.
References correctedPhi(), correctedPhiB(), hitPattern(), lutService_, phi, HLT_2022v11_cff::track, L1TMuonBarrelKalmanLUTs::trackGain(), L1TMuonBarrelKalmanLUTs::trackGain2(), reco::btau::trackPhi, parallelization::uint, verbose_, and wrapAround().
Referenced by update().
|
private |
Definition at line 470 of file L1TMuonBarrelKalmanAlgo.cc.
References c, correctedPhi(), correctedPhiB(), IntegrityClient_cfi::Gain, data-class-funcs::H, hitPattern(), createfilelist::int, phi, pointResolutionPhi_, pointResolutionPhiBH_, pointResolutionPhiBL_, dttmaxenums::R, HLT_2022v11_cff::track, reco::btau::trackPhi, verbose_, and wrapAround().
Referenced by update().
|
private |
Definition at line 550 of file L1TMuonBarrelKalmanAlgo.cc.
References c, correctedPhi(), IntegrityClient_cfi::Gain, data-class-funcs::H, hitPattern(), phi, pointResolutionPhi_, HLT_2022v11_cff::track, reco::btau::trackPhi, verbose_, and wrapAround().
Referenced by update().
|
private |
Definition at line 706 of file L1TMuonBarrelKalmanAlgo.cc.
References HLT_2022v11_cff::track, useOfflineAlgo_, vertexConstraintLUT(), and vertexConstraintOffline().
Referenced by chain().
|
private |
Definition at line 754 of file L1TMuonBarrelKalmanAlgo.cc.
References fp_product(), lutService_, HLT_2022v11_cff::track, parallelization::uint, verbose_, L1TMuonBarrelKalmanLUTs::vertexGain(), and wrapAround().
Referenced by vertexConstraint().
|
private |
Definition at line 713 of file L1TMuonBarrelKalmanAlgo.cc.
References c, IntegrityClient_cfi::Gain, data-class-funcs::H, pointResolutionVertex_, HLT_2022v11_cff::track, verbose_, and wrapAround().
Referenced by vertexConstraint().
|
private |
Definition at line 1119 of file L1TMuonBarrelKalmanAlgo.cc.
References relativeConstraints::value.
Referenced by estimateChiSquare(), match(), updateLUT(), updateOffline(), updateOffline1D(), vertexConstraintLUT(), and vertexConstraintOffline().
|
private |
Definition at line 78 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 79 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 80 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
staticprivate |
Definition at line 110 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by estimateCompatibility().
|
staticprivate |
Definition at line 113 of file L1TMuonBarrelKalmanAlgo.h.
|
staticprivate |
Definition at line 111 of file L1TMuonBarrelKalmanAlgo.h.
|
staticprivate |
Definition at line 112 of file L1TMuonBarrelKalmanAlgo.h.
|
private |
Definition at line 81 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 82 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 90 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by estimateChiSquare().
|
private |
Definition at line 93 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by estimateChiSquare().
|
private |
Definition at line 92 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by estimateChiSquare().
|
private |
Definition at line 91 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by estimateChiSquare().
|
private |
Definition at line 101 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by estimateCompatibility().
|
private |
Definition at line 107 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain().
|
private |
Definition at line 106 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain().
|
private |
Definition at line 105 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain().
|
private |
Definition at line 104 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain().
|
private |
Definition at line 77 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 84 of file L1TMuonBarrelKalmanAlgo.h.
|
private |
Definition at line 85 of file L1TMuonBarrelKalmanAlgo.h.
|
staticprivate |
Definition at line 121 of file L1TMuonBarrelKalmanAlgo.h.
|
staticprivate |
Definition at line 122 of file L1TMuonBarrelKalmanAlgo.h.
|
staticprivate |
Definition at line 123 of file L1TMuonBarrelKalmanAlgo.h.
|
staticprivate |
Definition at line 124 of file L1TMuonBarrelKalmanAlgo.h.
|
staticprivate |
Definition at line 125 of file L1TMuonBarrelKalmanAlgo.h.
|
staticprivate |
Definition at line 126 of file L1TMuonBarrelKalmanAlgo.h.
|
staticprivate |
Definition at line 127 of file L1TMuonBarrelKalmanAlgo.h.
|
staticprivate |
Definition at line 128 of file L1TMuonBarrelKalmanAlgo.h.
|
staticprivate |
Definition at line 114 of file L1TMuonBarrelKalmanAlgo.h.
|
staticprivate |
Definition at line 115 of file L1TMuonBarrelKalmanAlgo.h.
|
staticprivate |
Definition at line 116 of file L1TMuonBarrelKalmanAlgo.h.
|
staticprivate |
Definition at line 117 of file L1TMuonBarrelKalmanAlgo.h.
|
staticprivate |
Definition at line 118 of file L1TMuonBarrelKalmanAlgo.h.
|
staticprivate |
Definition at line 119 of file L1TMuonBarrelKalmanAlgo.h.
|
private |
Definition at line 88 of file L1TMuonBarrelKalmanAlgo.h.
|
private |
Definition at line 89 of file L1TMuonBarrelKalmanAlgo.h.
|
private |
Definition at line 74 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain().
|
private |
Definition at line 73 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain().
|
private |
Definition at line 69 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by calculateEta(), updateLUT(), and vertexConstraintLUT().
|
private |
Definition at line 133 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 134 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 83 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by phiAt2().
|
private |
Definition at line 136 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain(), updateOffline(), and updateOffline1D().
|
private |
Definition at line 138 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain().
|
private |
Definition at line 139 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain(), and updateOffline().
|
private |
Definition at line 140 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain(), and updateOffline().
|
private |
Definition at line 143 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by vertexConstraintOffline().
|
private |
Definition at line 95 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by estimateCompatibility().
|
private |
Definition at line 100 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by estimateCompatibility().
|
private |
Definition at line 99 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by estimateCompatibility().
|
private |
Definition at line 96 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by estimateCompatibility().
|
private |
Definition at line 97 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by estimateCompatibility().
|
private |
Definition at line 98 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by estimateCompatibility().
|
private |
Definition at line 132 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by update(), and vertexConstraint().
|
private |
Definition at line 35 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain(), estimateChiSquare(), estimateCompatibility(), phiAt2(), propagate(), updateLUT(), updateOffline(), updateOffline1D(), vertexConstraintLUT(), and vertexConstraintOffline().