Classes | |
struct | PropState |
Public Types | |
enum | AlgoType { kTP = 1, kDynamicWindows = 2, kMantra = 3 } |
typedef std::vector< L1TTTrackType > | L1TTTrackCollectionType |
typedef TTTrack< Ref_Phase2TrackerDigi_ > | L1TTTrackType |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Public Member Functions | |
L1TkMuonProducer (const edm::ParameterSet &) | |
~L1TkMuonProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
bool | applyQuality_ |
AlgoType | bmtfMatchAlgoVersion_ |
const edm::EDGetTokenT< RegionalMuonCandBxCollection > | bmtfToken_ |
float | chi2Max_ |
bool | correctGMTPropForTkZ_ |
float | dRMax_ |
std::unique_ptr< L1TkMuCorrDynamicWindows > | dwcorr_ |
AlgoType | emtfMatchAlgoVersion_ |
const edm::EDGetTokenT< EMTFTrackCollection > | emtfTCToken_ |
const edm::EDGetTokenT< RegionalMuonCandBxCollection > | emtfToken_ |
float | etaBO_ |
float | etaMax_ |
float | etaMin_ |
float | etaOE_ |
int | mantra_n_trk_par_ |
std::unique_ptr< L1TkMuMantra > | mantracorr_barr_ |
std::unique_ptr< L1TkMuMantra > | mantracorr_endc_ |
std::unique_ptr< L1TkMuMantra > | mantracorr_ovrl_ |
int | nStubsmin_ |
AlgoType | omtfMatchAlgoVersion_ |
const edm::EDGetTokenT< RegionalMuonCandBxCollection > | omtfToken_ |
float | pTMinTra_ |
const edm::EDGetTokenT< std::vector< TTTrack< Ref_Phase2TrackerDigi_ > > > | trackToken_ |
bool | use5ParameterFit_ |
bool | useRegionEtaMatching_ |
bool | useTPMatchWindows_ |
float | zMax_ |
Definition at line 45 of file L1TkMuonProducer.cc.
typedef std::vector<L1TTTrackType> L1TkMuonProducer::L1TTTrackCollectionType |
Definition at line 48 of file L1TkMuonProducer.cc.
Definition at line 47 of file L1TkMuonProducer.cc.
Enumerator | |
---|---|
kTP | |
kDynamicWindows | |
kMantra |
Definition at line 61 of file L1TkMuonProducer.cc.
|
explicit |
Definition at line 139 of file L1TkMuonProducer.cc.
References applyQuality_, bmtfMatchAlgoVersion_, correctGMTPropForTkZ_, dwcorr_, emtfMatchAlgoVersion_, Exception, edm::ParameterSet::exists(), contentValuesFiles::fullPath, edm::ParameterSet::getParameter(), kDynamicWindows, kMantra, kTP, mantracorr_barr_, mantracorr_endc_, mantracorr_ovrl_, omtfMatchAlgoVersion_, L1TkMuCorrDynamicWindows::prepare_corr_bounds(), L1TkMuMantra::prepare_corr_bounds(), AlCaHLTBitMon_QueryRunRegistry::string, HcalDetIdTransform::transform(), use5ParameterFit_, and useTPMatchWindows_.
|
override |
Definition at line 307 of file L1TkMuonProducer.cc.
|
private |
Definition at line 695 of file L1TkMuonProducer.cc.
References funct::abs(), barrel_MTF_region, hgcalTestNeighbor_cfi::detector, endcap_MTF_region, reco::LeafCandidate::eta(), etaBO_, etaOE_, edm::HandleBase::isValid(), oniaPATMuonsWithTrigger_cff::matches, TTTrack< T >::momentum(), mu_mass, overlap_MTF_region, chargedHadronTrackResolutionFilter_cfi::p3, TTTrack< T >::POCA(), edm::Handle< T >::product(), TTTrack< T >::rInv(), l1t::TkMuon::setMuonDetector(), l1t::TkMuon::setQuality(), l1t::TkMuon::setTrackCurvature(), l1t::TkMuon::setTrkzVtx(), mathSSE::sqrt(), l1pfProducerBarrel_cfi::tkMuons, parallelization::uint, and useRegionEtaMatching_.
Referenced by produce().
|
private |
Definition at line 744 of file L1TkMuonProducer.cc.
References funct::abs(), hgcalTestNeighbor_cfi::detector, reco::LeafCandidate::eta(), etaOE_, edm::HandleBase::isValid(), oniaPATMuonsWithTrigger_cff::matches, TTTrack< T >::momentum(), mu_mass, chargedHadronTrackResolutionFilter_cfi::p3, TTTrack< T >::POCA(), edm::Handle< T >::product(), TTTrack< T >::rInv(), l1t::TkMuon::setMuonDetector(), l1t::TkMuon::setQuality(), l1t::TkMuon::setTrackCurvature(), l1t::TkMuon::setTrkzVtx(), mathSSE::sqrt(), l1pfProducerBarrel_cfi::tkMuons, parallelization::uint, and useRegionEtaMatching_.
|
static |
Definition at line 564 of file L1TkMuonProducer.cc.
References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.
|
overrideprivate |
Definition at line 310 of file L1TkMuonProducer.cc.
References barrel_MTF_region, bmtfMatchAlgoVersion_, bmtfToken_, build_tkMuons_from_idxs(), emtfMatchAlgoVersion_, emtfTCToken_, emtfToken_, endcap_MTF_region, Exception, iEvent, kDynamicWindows, kMantra, kTP, mantracorr_barr_, mantracorr_endc_, mantracorr_ovrl_, eostools::move(), PDWG_BPHSkim_cff::muons, omtfMatchAlgoVersion_, omtfToken_, overlap_MTF_region, AlCaHLTBitMon_ParallelJobs::p, edm::Handle< T >::product(), product_to_muvec(), product_to_trkvec(), runOnMTFCollection_v1(), runOnMTFCollection_v2(), and trackToken_.
|
private |
Definition at line 659 of file L1TkMuonProducer.cc.
References BXVector< T >::begin(), L1TkMuMantraDF::muon_df::charge, BXVector< T >::end(), L1TkMuMantraDF::muon_df::eta, eta_scale, L1TkMuMantra::eta_to_theta(), L1TkMuMantraDF::muon_df::phi, phi_scale, L1TkMuMantraDF::muon_df::pt, mps_fire::result, L1TkMuMantraDF::muon_df::theta, and L1TkMuMantra::to_mpio2_pio2().
Referenced by produce().
|
private |
Definition at line 676 of file L1TkMuonProducer.cc.
References applyQuality_, angle_units::operators::convertDegToRad(), L1TkMuMantra::eta_to_theta(), amptDefaultParameters_cff::mu, mps_fire::result, L1TkMuMantra::to_mpio2_pio2(), and parallelization::uint.
|
private |
Definition at line 642 of file L1TkMuonProducer.cc.
References L1TkMuMantra::eta_to_theta(), mps_fire::result, L1TkMuMantra::to_mpio2_pio2(), and parallelization::uint.
Referenced by produce().
|
private |
Definition at line 572 of file L1TkMuonProducer.cc.
References funct::abs(), correctGMTPropForTkZ_, dumpMFGeometry_cfg::delta, mps_fire::dest, M_PI, max_mu_propagator_eta, min_mu_propagator_barrel_pT, min_mu_propagator_p, TTTrack< T >::momentum(), chargedHadronTrackResolutionFilter_cfi::p3, TTTrack< T >::POCA(), reco::reduceRange(), TTTrack< T >::rInv(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by runOnMTFCollection_v1().
|
private |
Definition at line 389 of file L1TkMuonProducer.cc.
References funct::abs(), barrel_MTF_region, BXVector< T >::begin(), chi2Max_, SiPixelRawToDigiRegional_cfi::deltaPhi, reco::deltaR2(), HLT_2022v12_cff::dEta, hgcalTestNeighbor_cfi::detector, HLT_2022v12_cff::dPhi, dr2_cutoff, dRMax_, BXVector< T >::end(), endcap_MTF_region, L1TkMuonProducer::PropState::eta, reco::LeafCandidate::eta(), eta_scale, etaBO_, fftjetproducer_cfi::etaCut, etaMax_, etaMin_, etaOE_, LogDebug, matching_factor_eta, matching_factor_phi, TTTrack< T >::momentum(), mu_mass, nStubsmin_, overlap_MTF_region, chargedHadronTrackResolutionFilter_cfi::p3, L1TkMuonProducer::PropState::phi, phi_scale, TTTrack< T >::POCA(), edm::Handle< T >::product(), propagateToGMT(), pTMinTra_, TTTrack< T >::rInv(), l1t::TkMuon::setdR(), l1t::TkMuon::setMuonDetector(), l1t::TkMuon::setNTracksMatched(), l1t::TkMuon::setQuality(), l1t::TkMuon::setTrackCurvature(), l1t::TkMuon::setTrkzVtx(), L1TkMuonProducer::PropState::sigmaEta, sigmaEtaTP(), L1TkMuonProducer::PropState::sigmaPhi, sigmaPhiTP(), mathSSE::sqrt(), l1pfProducerBarrel_cfi::tkMuons, useRegionEtaMatching_, useTPMatchWindows_, L1TkMuonProducer::PropState::valid, and zMax_.
Referenced by produce().
|
private |
Definition at line 519 of file L1TkMuonProducer.cc.
References funct::abs(), dwcorr_, endcap_MTF_region, reco::LeafCandidate::eta(), etaOE_, TTTrack< T >::momentum(), mu_mass, chargedHadronTrackResolutionFilter_cfi::p3, TTTrack< T >::POCA(), edm::Handle< T >::product(), TTTrack< T >::rInv(), l1t::TkMuon::setMuonDetector(), l1t::TkMuon::setTrackCurvature(), l1t::TkMuon::setTrkzVtx(), mathSSE::sqrt(), l1pfProducerBarrel_cfi::tkMuons, parallelization::uint, and useRegionEtaMatching_.
Referenced by produce().
|
private |
Definition at line 627 of file L1TkMuonProducer.cc.
References funct::abs(), eta_scale, and l1t::RegionalMuonCand::hwEta().
Referenced by runOnMTFCollection_v1().
|
private |
Definition at line 638 of file L1TkMuonProducer.cc.
Referenced by runOnMTFCollection_v1().
|
private |
Definition at line 118 of file L1TkMuonProducer.cc.
Referenced by L1TkMuonProducer(), and product_to_muvec().
|
private |
Definition at line 120 of file L1TkMuonProducer.cc.
Referenced by L1TkMuonProducer(), and produce().
|
private |
Definition at line 131 of file L1TkMuonProducer.cc.
Referenced by produce().
|
private |
Definition at line 111 of file L1TkMuonProducer.cc.
Referenced by runOnMTFCollection_v1().
|
private |
Definition at line 115 of file L1TkMuonProducer.cc.
Referenced by L1TkMuonProducer(), and propagateToGMT().
|
private |
Definition at line 113 of file L1TkMuonProducer.cc.
Referenced by runOnMTFCollection_v1().
|
private |
Definition at line 124 of file L1TkMuonProducer.cc.
Referenced by L1TkMuonProducer(), and runOnMTFCollection_v2().
|
private |
Definition at line 122 of file L1TkMuonProducer.cc.
Referenced by L1TkMuonProducer(), and produce().
|
private |
Definition at line 135 of file L1TkMuonProducer.cc.
Referenced by produce().
|
private |
Definition at line 133 of file L1TkMuonProducer.cc.
Referenced by produce().
|
private |
Definition at line 107 of file L1TkMuonProducer.cc.
Referenced by build_tkMuons_from_idxs(), and runOnMTFCollection_v1().
|
private |
Definition at line 106 of file L1TkMuonProducer.cc.
Referenced by runOnMTFCollection_v1().
|
private |
Definition at line 105 of file L1TkMuonProducer.cc.
Referenced by runOnMTFCollection_v1().
|
private |
Definition at line 108 of file L1TkMuonProducer.cc.
Referenced by build_tkMuons_from_idxs(), runOnMTFCollection_v1(), and runOnMTFCollection_v2().
|
private |
Definition at line 129 of file L1TkMuonProducer.cc.
|
private |
Definition at line 126 of file L1TkMuonProducer.cc.
Referenced by L1TkMuonProducer(), and produce().
|
private |
Definition at line 128 of file L1TkMuonProducer.cc.
Referenced by L1TkMuonProducer(), and produce().
|
private |
Definition at line 127 of file L1TkMuonProducer.cc.
Referenced by L1TkMuonProducer(), and produce().
|
private |
Definition at line 114 of file L1TkMuonProducer.cc.
Referenced by runOnMTFCollection_v1().
|
private |
Definition at line 121 of file L1TkMuonProducer.cc.
Referenced by L1TkMuonProducer(), and produce().
|
private |
Definition at line 132 of file L1TkMuonProducer.cc.
Referenced by produce().
|
private |
Definition at line 112 of file L1TkMuonProducer.cc.
Referenced by runOnMTFCollection_v1().
|
private |
Definition at line 136 of file L1TkMuonProducer.cc.
Referenced by produce().
|
private |
Definition at line 116 of file L1TkMuonProducer.cc.
Referenced by L1TkMuonProducer().
|
private |
Definition at line 109 of file L1TkMuonProducer.cc.
Referenced by build_tkMuons_from_idxs(), runOnMTFCollection_v1(), and runOnMTFCollection_v2().
|
private |
Definition at line 117 of file L1TkMuonProducer.cc.
Referenced by L1TkMuonProducer(), and runOnMTFCollection_v1().
|
private |
Definition at line 110 of file L1TkMuonProducer.cc.
Referenced by runOnMTFCollection_v1().