#include <L1TMuonBarrelKalmanAlgo.h>
Classes | |
class | StubSorter |
class | TrackSorter |
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 | cleanAndSort (const L1MuKBMTrackCollection &, uint) |
L1TMuonBarrelKalmanAlgo (const edm::ParameterSet &settings) | |
void | resolveEtaUnit (L1MuKBMTrackCollection &) |
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 > | 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_ |
std::vector< double > | initK2_ |
std::vector< double > | initK_ |
std::unique_ptr< L1TMuonBarrelKalmanLUTs > | lutService_ |
std::vector< double > | mScatteringPhi_ |
std::vector< double > | mScatteringPhiB_ |
double | pointResolutionPhi_ |
double | pointResolutionPhiB_ |
double | pointResolutionVertex_ |
bool | useOfflineAlgo_ |
bool | verbose_ |
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 5 of file L1TMuonBarrelKalmanAlgo.cc.
void L1TMuonBarrelKalmanAlgo::addBMTFMuon | ( | int | bx, |
const L1MuKBMTrack & | track, | ||
std::unique_ptr< l1t::RegionalMuonCandBxCollection > & | out | ||
) |
Definition at line 48 of file L1TMuonBarrelKalmanAlgo.cc.
References funct::abs(), l1t::bmtf, L1MuKBMTrack::coarseEta(), L1MuKBMTrack::curvatureAtMuon(), L1MuKBMTrack::curvatureAtVertex(), L1MuKBMTrack::dxy(), PVValHelper::dxy, PVValHelper::eta, L1MuKBMTrack::fineEta(), objects.autophobj::float, L1MuKBMTrack::hasFineEta(), CaloTPGTranscoder_cfi::HF, createfilelist::int, M_PI, metsig::muon, phi, L1MuKBMTrack::phiAtMuon(), EnergyCorrector::pt, hiDetachedQuadStep_cff::pt2, jets_cff::quality, rank(), L1MuKBMTrack::sector(), l1t::RegionalMuonCand::setDataword(), l1t::RegionalMuonCand::setHwDXY(), l1t::RegionalMuonCand::setHwHF(), l1t::RegionalMuonCand::setHwPt2(), Validation_hcalonly_cfi::sign, trackAddress(), twosCompToBits(), and L1MuKBMTrack::wheel().
std::pair< bool, L1MuKBMTrack > L1TMuonBarrelKalmanAlgo::chain | ( | const L1MuKBMTCombinedStubRef & | seed, |
const L1MuKBMTCombinedStubRefVector & | stubs | ||
) |
Definition at line 619 of file L1TMuonBarrelKalmanAlgo.cc.
References funct::abs(), ALCARECOTkAlJpsiMuMu_cff::charge, cleanAndSort(), combos1_, combos2_, combos3_, combos4_, correctedPhi(), correctedPhiB(), estimateChiSquare(), objects.autophobj::float, getBit(), globalChi2Cut_, hitPattern(), mps_fire::i, initK2_, initK_, createfilelist::int, RecoTauDiscriminantConfiguration::mask, match(), pointResolutionPhi_, pointResolutionPhiB_, propagate(), rank(), resolveEtaUnit(), setFloatingPointValues(), HiIsolationCommonParameters_cff::track, parallelization::uint(), update(), verbose_, and vertexConstraint().
Referenced by L1TMuonBarrelKalmanRegionModule::process().
L1MuKBMTrackCollection L1TMuonBarrelKalmanAlgo::cleanAndSort | ( | const L1MuKBMTrackCollection & | tracks, |
uint | keep | ||
) |
Definition at line 829 of file L1TMuonBarrelKalmanAlgo.cc.
References funct::abs(), chiSquareCut_, chiSquareCutCurv_, chiSquareCutPattern_, mps_fire::i, createfilelist::int, MillePedeFileConverter_cfg::out, MCScenario_CRAFT1_22X::sorter(), parallelization::uint(), verbose_, and TriggerAnalyzer::veto.
Referenced by chain(), L1TMuonBarrelKalmanRegionModule::process(), and L1TMuonBarrelKalmanSectorProcessor::process().
|
private |
Definition at line 155 of file L1TMuonBarrelKalmanAlgo.cc.
Referenced by chain(), estimateChiSquare(), match(), updateLUT(), updateOffline(), and updateOffline1D().
|
private |
Definition at line 149 of file L1TMuonBarrelKalmanAlgo.cc.
Referenced by chain(), estimateChiSquare(), updateLUT(), and updateOffline().
|
private |
Definition at line 179 of file L1TMuonBarrelKalmanAlgo.cc.
Referenced by rank().
|
private |
|
private |
Definition at line 768 of file L1TMuonBarrelKalmanAlgo.cc.
References funct::abs(), chiSquare_, correctedPhi(), correctedPhiB(), L1MuKBMTrack::curvatureAtMuon(), delta, L1MuKBMTrack::phiAtMuon(), L1MuKBMTrack::phiBAtMuon(), L1MuKBMTrack::sector(), L1MuKBMTrack::setApproxChi2(), L1MuKBMTrack::stubs(), and parallelization::uint().
Referenced by chain().
|
private |
Definition at line 183 of file L1TMuonBarrelKalmanAlgo.cc.
Referenced by chain().
|
private |
Definition at line 40 of file L1TMuonBarrelKalmanAlgo.cc.
References hitPattern(), mps_fire::i, and parallelization::uint().
|
private |
Definition at line 169 of file L1TMuonBarrelKalmanAlgo.cc.
References RecoTauDiscriminantConfiguration::mask, funct::pow(), and L1MuKBMTrack::stubs().
Referenced by chain(), getByCode(), rank(), updateLUT(), updateOffline(), and updateOffline1D().
|
private |
Definition at line 127 of file L1TMuonBarrelKalmanAlgo.cc.
References funct::abs(), correctedPhi(), SoftLeptonByDistance_cfi::distance, runEdmFileComparison::found, N, L1MuKBMTrack::positionAngle(), L1MuKBMTrack::sector(), L1MuKBMTrack::step(), and parallelization::uint().
Referenced by chain().
|
private |
Definition at line 189 of file L1TMuonBarrelKalmanAlgo.cc.
References a, funct::abs(), aPhi_, aPhiB_, aPhiBNLO_, b, L1MuKBMTrack::bendingAngle(), bPhi_, bPhiB_, ALCARECOTkAlJpsiMuMu_cff::charge, L1MuKBMTrack::covariance(), L1MuKBMTrack::curvature(), eLoss_, mScatteringPhi_, mScatteringPhiB_, phi, L1MuKBMTrack::positionAngle(), L1MuKBMTrack::setCoordinates(), L1MuKBMTrack::setCovariance(), L1MuKBMTrack::step(), verbose_, and wrapAround().
Referenced by chain().
|
private |
Definition at line 786 of file L1TMuonBarrelKalmanAlgo.cc.
References L1MuKBMTrack::approxChi2(), customBitmask(), hitPattern(), and L1MuKBMTrack::stubs().
Referenced by addBMTFMuon(), and chain().
void L1TMuonBarrelKalmanAlgo::resolveEtaUnit | ( | L1MuKBMTrackCollection & | tracks | ) |
Definition at line 806 of file L1TMuonBarrelKalmanAlgo.cc.
References setFloatingPointValues(), HiIsolationCommonParameters_cff::track, and parallelization::uint().
Referenced by chain(), and L1TMuonBarrelKalmanRegionModule::process().
|
private |
Definition at line 567 of file L1TMuonBarrelKalmanAlgo.cc.
References funct::abs(), L1MuKBMTrack::coarseEta(), L1MuKBMTrack::curvatureAtMuon(), L1MuKBMTrack::curvatureAtVertex(), MillePedeFileConverter_cfg::e, PVValHelper::eta, L1MuKBMTrack::fineEta(), objects.autophobj::float, L1MuKBMTrack::hasFineEta(), M_PI, phi, L1MuKBMTrack::phiAtVertex(), EnergyCorrector::pt, L1MuKBMTrack::sector(), reco::LeafCandidate::setCharge(), L1MuKBMTrack::setPtEtaPhi(), and L1MuKBMTrack::setPtUnconstrained().
Referenced by chain(), and resolveEtaUnit().
|
private |
Definition at line 939 of file L1TMuonBarrelKalmanAlgo.cc.
References funct::abs(), encode(), l1t::RegionalMuonCand::kNumBmtfSubAddr, 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, L1MuKBMTrack::sector(), L1MuKBMTrack::stubs(), and L1MuKBMTrack::wheel().
Referenced by addBMTFMuon().
|
private |
Definition at line 995 of file L1TMuonBarrelKalmanAlgo.cc.
References lumiQueryAPI::q.
Referenced by addBMTFMuon().
|
private |
Definition at line 270 of file L1TMuonBarrelKalmanAlgo.cc.
References updateEta(), updateLUT(), updateOffline(), updateOffline1D(), and useOfflineAlgo_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), chain(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
private |
Definition at line 472 of file L1TMuonBarrelKalmanAlgo.cc.
References funct::abs(), L1MuKBMTrack::fineEta(), L1MuKBMTrack::hasFineEta(), L1MuKBMTrack::setFineEta(), and parallelization::uint().
Referenced by update().
|
private |
Definition at line 428 of file L1TMuonBarrelKalmanAlgo.cc.
References funct::abs(), L1MuKBMTrack::addStub(), L1MuKBMTrack::bendingAngle(), L1MuKBMTrack::coarseEta(), correctedPhi(), correctedPhiB(), L1MuKBMTrack::curvature(), hitPattern(), lutService_, RecoTauDiscriminantConfiguration::mask, phi, L1MuKBMTrack::positionAngle(), L1MuKBMTrack::sector(), L1MuKBMTrack::setCoarseEta(), L1MuKBMTrack::setCoordinates(), L1MuKBMTrack::setHitPattern(), L1MuKBMTrack::setKalmanGain(), L1MuKBMTrack::step(), reco::btau::trackPhi, parallelization::uint(), and wrapAround().
Referenced by update().
|
private |
Definition at line 284 of file L1TMuonBarrelKalmanAlgo.cc.
References funct::abs(), L1MuKBMTrack::addStub(), L1MuKBMTrack::bendingAngle(), EnergyCorrector::c, L1MuKBMTrack::coarseEta(), correctedPhi(), correctedPhiB(), L1MuKBMTrack::covariance(), L1MuKBMTrack::curvature(), g4SimHits_cfi::Gain, class-composition::H, hitPattern(), createfilelist::int, phi, pointResolutionPhi_, pointResolutionPhiB_, L1MuKBMTrack::positionAngle(), dttmaxenums::R, S(), L1MuKBMTrack::sector(), L1MuKBMTrack::setCoarseEta(), L1MuKBMTrack::setCoordinates(), L1MuKBMTrack::setCovariance(), L1MuKBMTrack::setHitPattern(), L1MuKBMTrack::setKalmanGain(), L1MuKBMTrack::setResidual(), L1MuKBMTrack::step(), reco::btau::trackPhi, verbose_, and wrapAround().
Referenced by update().
|
private |
Definition at line 375 of file L1TMuonBarrelKalmanAlgo.cc.
References funct::abs(), L1MuKBMTrack::addStub(), L1MuKBMTrack::bendingAngle(), EnergyCorrector::c, L1MuKBMTrack::coarseEta(), correctedPhi(), L1MuKBMTrack::covariance(), L1MuKBMTrack::curvature(), g4SimHits_cfi::Gain, class-composition::H, hitPattern(), phi, pointResolutionPhi_, L1MuKBMTrack::positionAngle(), S(), L1MuKBMTrack::sector(), L1MuKBMTrack::setCoarseEta(), L1MuKBMTrack::setCoordinates(), L1MuKBMTrack::setCovariance(), L1MuKBMTrack::setHitPattern(), L1MuKBMTrack::setKalmanGain(), L1MuKBMTrack::step(), reco::btau::trackPhi, and wrapAround().
Referenced by update().
|
private |
Definition at line 499 of file L1TMuonBarrelKalmanAlgo.cc.
References useOfflineAlgo_, vertexConstraintLUT(), and vertexConstraintOffline().
Referenced by chain().
|
private |
Definition at line 551 of file L1TMuonBarrelKalmanAlgo.cc.
References funct::abs(), L1MuKBMTrack::curvature(), L1MuKBMTrack::dxy(), L1MuKBMTrack::hitPattern(), lutService_, L1MuKBMTrack::positionAngle(), L1MuKBMTrack::setCoordinatesAtVertex(), L1MuKBMTrack::setKalmanGain(), L1MuKBMTrack::step(), parallelization::uint(), and wrapAround().
Referenced by vertexConstraint().
|
private |
Definition at line 508 of file L1TMuonBarrelKalmanAlgo.cc.
References funct::abs(), EnergyCorrector::c, L1MuKBMTrack::covariance(), L1MuKBMTrack::curvature(), L1MuKBMTrack::dxy(), g4SimHits_cfi::Gain, class-composition::H, pointResolutionVertex_, L1MuKBMTrack::positionAngle(), S(), L1MuKBMTrack::setCoordinatesAtVertex(), L1MuKBMTrack::setCovariance(), L1MuKBMTrack::setKalmanGain(), L1MuKBMTrack::step(), verbose_, and wrapAround().
Referenced by vertexConstraint().
|
private |
Definition at line 797 of file L1TMuonBarrelKalmanAlgo.cc.
References relativeConstraints::value.
Referenced by propagate(), updateLUT(), updateOffline(), updateOffline1D(), vertexConstraintLUT(), and vertexConstraintOffline().
|
private |
Definition at line 74 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 75 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 76 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 77 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 78 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 84 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by estimateChiSquare().
|
private |
Definition at line 87 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by cleanAndSort().
|
private |
Definition at line 86 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by cleanAndSort().
|
private |
Definition at line 85 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by cleanAndSort().
|
private |
Definition at line 94 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain().
|
private |
Definition at line 93 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain().
|
private |
Definition at line 92 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain().
|
private |
Definition at line 91 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain().
|
private |
Definition at line 73 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 79 of file L1TMuonBarrelKalmanAlgo.h.
|
private |
Definition at line 80 of file L1TMuonBarrelKalmanAlgo.h.
|
private |
Definition at line 83 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain().
|
private |
Definition at line 70 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain().
|
private |
Definition at line 69 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain().
|
private |
Definition at line 65 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by updateLUT(), and vertexConstraintLUT().
|
private |
Definition at line 101 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 102 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 104 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain(), updateOffline(), and updateOffline1D().
|
private |
Definition at line 106 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain(), and updateOffline().
|
private |
Definition at line 108 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by vertexConstraintOffline().
|
private |
Definition at line 100 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by update(), and vertexConstraint().
|
private |
Definition at line 39 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain(), cleanAndSort(), propagate(), updateOffline(), and vertexConstraintOffline().