#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 | clean (const L1MuKBMTrackCollection &, uint) |
L1MuKBMTrackCollection | cleanAndSort (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 > | 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_ |
L1TMuonBarrelKalmanLUTs * | lutService_ |
std::vector< double > | mScatteringPhi_ |
std::vector< double > | mScatteringPhiB_ |
std::vector< double > | phiAt2_ |
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 133 of file L1TMuonBarrelKalmanAlgo.cc.
References convertToBMTF().
Referenced by L1TMuonBarrelKalmanTrackProducer::produce().
|
private |
Definition at line 1149 of file L1TMuonBarrelKalmanAlgo.cc.
References L1TMuonBarrelKalmanLUTs::coarseEta(), PVValHelper::eta, etaStubRank(), fp_product(), L1MuKBMTrack::hitPattern(), mps_fire::i, lutService_, RecoTauDiscriminantConfiguration::mask, listBenchmarks::pattern, rank(), L1MuKBMTrack::setCoarseEta(), L1MuKBMTrack::setFineEta(), Validation_hcalonly_cfi::sign, L1MuKBMTrack::stubs(), parallelization::uint(), and makeMuonMisalignmentScenario::wheel.
Referenced by chain().
std::pair< bool, L1MuKBMTrack > L1TMuonBarrelKalmanAlgo::chain | ( | const L1MuKBMTCombinedStubRef & | seed, |
const L1MuKBMTCombinedStubRefVector & | stubs | ||
) |
Definition at line 688 of file L1TMuonBarrelKalmanAlgo.cc.
References calculateEta(), ALCARECOTkAlJpsiMuMu_cff::charge, clean(), combos1_, combos2_, combos3_, combos4_, correctedPhi(), correctedPhiB(), estimateChiSquare(), objects.autophobj::float, getBit(), globalChi2Cut_, hitPattern(), mps_fire::i, initK2_, initK_, createfilelist::int, RecoTauDiscriminantConfiguration::mask, match(), phiAt2(), pointResolutionPhi_, pointResolutionPhiB_, propagate(), punchThroughVeto(), rank(), setFloatingPointValues(), HiIsolationCommonParameters_cff::track, update(), verbose_, vertexConstraint(), and TriggerAnalyzer::veto.
Referenced by L1TMuonBarrelKalmanRegionModule::process().
L1MuKBMTrackCollection L1TMuonBarrelKalmanAlgo::clean | ( | const L1MuKBMTrackCollection & | tracks, |
uint | seed | ||
) |
Definition at line 1092 of file L1TMuonBarrelKalmanAlgo.cc.
References mps_fire::i, MillePedeFileConverter_cfg::out, rank(), cond::persistency::search(), HiIsolationCommonParameters_cff::track, and parallelization::uint().
Referenced by chain().
L1MuKBMTrackCollection L1TMuonBarrelKalmanAlgo::cleanAndSort | ( | const L1MuKBMTrackCollection & | pretracks, |
uint | keep | ||
) |
Definition at line 902 of file L1TMuonBarrelKalmanAlgo.cc.
References mps_fire::i, createfilelist::int, MillePedeFileConverter_cfg::out, rank(), MCScenario_CRAFT1_22X::sorter(), parallelization::uint(), and verbose_.
Referenced by L1TMuonBarrelKalmanRegionModule::process(), and L1TMuonBarrelKalmanSectorProcessor::process().
l1t::RegionalMuonCand L1TMuonBarrelKalmanAlgo::convertToBMTF | ( | const L1MuKBMTrack & | track | ) |
Definition at line 52 of file L1TMuonBarrelKalmanAlgo.cc.
References funct::abs(), l1t::bmtf, L1MuKBMTrack::coarseEta(), L1MuKBMTrack::curvatureAtMuon(), L1MuKBMTrack::curvatureAtVertex(), L1MuKBMTrack::dxy(), PVValHelper::dxy, PVValHelper::eta, L1MuKBMTrack::fineEta(), L1MuKBMTrack::hasFineEta(), CaloTPGTranscoder_cfi::HF, createfilelist::int, M_PI, metsig::muon, phi, L1MuKBMTrack::phiAtMuon(), EnergyCorrector::pt, hiDetachedQuadStep_cff::pt2, ptLUT(), 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().
Referenced by addBMTFMuon(), and L1TMuonBarrelKalmanSectorProcessor::makeWord().
|
private |
Definition at line 169 of file L1TMuonBarrelKalmanAlgo.cc.
Referenced by chain(), estimateChiSquare(), match(), phiAt2(), updateLUT(), updateOffline(), and updateOffline1D().
|
private |
Definition at line 163 of file L1TMuonBarrelKalmanAlgo.cc.
Referenced by chain(), updateLUT(), and updateOffline().
|
private |
Definition at line 193 of file L1TMuonBarrelKalmanAlgo.cc.
Referenced by rank().
|
private |
|
private |
Definition at line 849 of file L1TMuonBarrelKalmanAlgo.cc.
References chiSquare_, correctedPhi(), L1MuKBMTrack::curvatureAtMuon(), delta, fp_product(), L1MuKBMTrack::phiAtMuon(), L1MuKBMTrack::phiBAtMuon(), L1MuKBMTrack::sector(), L1MuKBMTrack::setApproxChi2(), L1MuKBMTrack::stubs(), and parallelization::uint().
Referenced by chain().
|
private |
Definition at line 1136 of file L1TMuonBarrelKalmanAlgo.cc.
Referenced by calculateEta().
|
private |
Definition at line 1064 of file L1TMuonBarrelKalmanAlgo.cc.
References bits.
Referenced by calculateEta(), estimateChiSquare(), phiAt2(), propagate(), updateLUT(), and vertexConstraintLUT().
|
private |
Definition at line 197 of file L1TMuonBarrelKalmanAlgo.cc.
Referenced by chain().
|
private |
Definition at line 41 of file L1TMuonBarrelKalmanAlgo.cc.
References hitPattern(), mps_fire::i, and parallelization::uint().
|
private |
Definition at line 183 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 139 of file L1TMuonBarrelKalmanAlgo.cc.
References correctedPhi(), edmIntegrityCheck::d, SoftLeptonByDistance_cfi::distance, runEdmFileComparison::found, N, parallelization::uint(), and wrapAround().
Referenced by chain().
|
private |
Definition at line 1213 of file L1TMuonBarrelKalmanAlgo.cc.
References L1MuKBMTrack::bendingAngle(), correctedPhi(), L1MuKBMTrack::curvature(), fp_product(), phi, phiAt2_, L1MuKBMTrack::positionAngle(), L1MuKBMTrack::sector(), L1MuKBMTrack::stubs(), and verbose_.
Referenced by chain().
|
private |
Definition at line 203 of file L1TMuonBarrelKalmanAlgo.cc.
References a, aPhi_, aPhiB_, aPhiBNLO_, b, L1MuKBMTrack::bendingAngle(), bPhi_, bPhiB_, ALCARECOTkAlJpsiMuMu_cff::charge, L1MuKBMTrack::covariance(), L1MuKBMTrack::curvature(), eLoss_, fp_product(), createfilelist::int, mScatteringPhi_, mScatteringPhiB_, phi, L1MuKBMTrack::positionAngle(), L1MuKBMTrack::setCoordinates(), L1MuKBMTrack::setCovariance(), L1MuKBMTrack::step(), verbose_, and wrapAround().
Referenced by chain().
|
private |
Definition at line 1070 of file L1TMuonBarrelKalmanAlgo.cc.
References objects.autophobj::float, createfilelist::int, and EnergyCorrector::pt.
Referenced by convertToBMTF().
|
private |
Definition at line 893 of file L1TMuonBarrelKalmanAlgo.cc.
References L1MuKBMTrack::approxChi2(), chiSquareCut_, chiSquareCutCurv_, chiSquareCutPattern_, L1MuKBMTrack::curvature(), L1MuKBMTrack::curvatureAtVertex(), L1MuKBMTrack::dxy(), L1MuKBMTrack::hitPattern(), mps_fire::i, and parallelization::uint().
Referenced by chain().
|
private |
Definition at line 872 of file L1TMuonBarrelKalmanAlgo.cc.
References L1MuKBMTrack::approxChi2(), customBitmask(), hitPattern(), and L1MuKBMTrack::stubs().
Referenced by calculateEta(), chain(), clean(), cleanAndSort(), and convertToBMTF().
|
private |
Definition at line 639 of file L1TMuonBarrelKalmanAlgo.cc.
References L1MuKBMTrack::coarseEta(), L1MuKBMTrack::curvatureAtMuon(), L1MuKBMTrack::curvatureAtVertex(), 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().
|
private |
Definition at line 997 of file L1TMuonBarrelKalmanAlgo.cc.
References 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 convertToBMTF().
|
private |
Definition at line 1053 of file L1TMuonBarrelKalmanAlgo.cc.
References lumiQueryAPI::q.
Referenced by convertToBMTF().
|
private |
Definition at line 321 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 550 of file L1TMuonBarrelKalmanAlgo.cc.
Referenced by update().
|
private |
Definition at line 477 of file L1TMuonBarrelKalmanAlgo.cc.
References L1MuKBMTrack::addStub(), L1MuKBMTrack::bendingAngle(), correctedPhi(), correctedPhiB(), L1MuKBMTrack::curvature(), fp_product(), L1MuKBMTrack::hitPattern(), hitPattern(), lutService_, phi, L1MuKBMTrack::positionAngle(), L1MuKBMTrack::sector(), L1MuKBMTrack::setCoordinates(), L1MuKBMTrack::setHitPattern(), L1MuKBMTrack::setKalmanGain(), L1MuKBMTrack::step(), L1TMuonBarrelKalmanLUTs::trackGain(), L1TMuonBarrelKalmanLUTs::trackGain2(), reco::btau::trackPhi, parallelization::uint(), verbose_, and wrapAround().
Referenced by update().
|
private |
Definition at line 335 of file L1TMuonBarrelKalmanAlgo.cc.
References L1MuKBMTrack::addStub(), L1MuKBMTrack::bendingAngle(), EnergyCorrector::c, 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::setCoordinates(), L1MuKBMTrack::setCovariance(), L1MuKBMTrack::setHitPattern(), L1MuKBMTrack::setKalmanGain(), L1MuKBMTrack::setResidual(), L1MuKBMTrack::step(), reco::btau::trackPhi, verbose_, and wrapAround().
Referenced by update().
|
private |
Definition at line 424 of file L1TMuonBarrelKalmanAlgo.cc.
References L1MuKBMTrack::addStub(), L1MuKBMTrack::bendingAngle(), EnergyCorrector::c, correctedPhi(), L1MuKBMTrack::covariance(), L1MuKBMTrack::curvature(), g4SimHits_cfi::Gain, class-composition::H, hitPattern(), phi, pointResolutionPhi_, L1MuKBMTrack::positionAngle(), S(), L1MuKBMTrack::sector(), L1MuKBMTrack::setCoordinates(), L1MuKBMTrack::setCovariance(), L1MuKBMTrack::setHitPattern(), L1MuKBMTrack::setKalmanGain(), L1MuKBMTrack::step(), reco::btau::trackPhi, and wrapAround().
Referenced by update().
|
private |
Definition at line 562 of file L1TMuonBarrelKalmanAlgo.cc.
References useOfflineAlgo_, vertexConstraintLUT(), and vertexConstraintOffline().
Referenced by chain().
|
private |
Definition at line 614 of file L1TMuonBarrelKalmanAlgo.cc.
References L1MuKBMTrack::curvature(), L1MuKBMTrack::dxy(), fp_product(), L1MuKBMTrack::hitPattern(), lutService_, L1MuKBMTrack::positionAngle(), L1MuKBMTrack::setCoordinatesAtVertex(), L1MuKBMTrack::setKalmanGain(), L1MuKBMTrack::step(), parallelization::uint(), verbose_, L1TMuonBarrelKalmanLUTs::vertexGain(), and wrapAround().
Referenced by vertexConstraint().
|
private |
Definition at line 571 of file L1TMuonBarrelKalmanAlgo.cc.
References 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 883 of file L1TMuonBarrelKalmanAlgo.cc.
References relativeConstraints::value.
Referenced by match(), propagate(), updateLUT(), updateOffline(), updateOffline1D(), vertexConstraintLUT(), and vertexConstraintOffline().
|
private |
Definition at line 87 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 88 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 89 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 90 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 91 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 98 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by estimateChiSquare().
|
private |
Definition at line 101 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by punchThroughVeto().
|
private |
Definition at line 100 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by punchThroughVeto().
|
private |
Definition at line 99 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by punchThroughVeto().
|
private |
Definition at line 108 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain().
|
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 86 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 93 of file L1TMuonBarrelKalmanAlgo.h.
|
private |
Definition at line 94 of file L1TMuonBarrelKalmanAlgo.h.
|
private |
Definition at line 97 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain().
|
private |
Definition at line 83 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain().
|
private |
Definition at line 82 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain().
|
private |
Definition at line 76 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by calculateEta(), updateLUT(), and vertexConstraintLUT().
|
private |
Definition at line 115 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 116 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by propagate().
|
private |
Definition at line 92 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by phiAt2().
|
private |
Definition at line 118 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain(), updateOffline(), and updateOffline1D().
|
private |
Definition at line 120 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain(), and updateOffline().
|
private |
Definition at line 122 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by vertexConstraintOffline().
|
private |
Definition at line 114 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by update(), and vertexConstraint().
|
private |
Definition at line 43 of file L1TMuonBarrelKalmanAlgo.h.
Referenced by chain(), cleanAndSort(), phiAt2(), propagate(), updateLUT(), updateOffline(), vertexConstraintLUT(), and vertexConstraintOffline().