#include <L1MuonSeededTrackingRegionsProducer.h>
Public Types | |
enum | Mode { BEAM_SPOT_FIXED, BEAM_SPOT_SIGMA, VERTICES_FIXED, VERTICES_SIGMA } |
Public Member Functions | |
L1MuonSeededTrackingRegionsProducer (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
std::vector< std::unique_ptr< TrackingRegion > > | regions (const edm::Event &iEvent, const edm::EventSetup &iSetup) const override |
~L1MuonSeededTrackingRegionsProducer () override=default | |
Public Member Functions inherited from TrackingRegionProducer | |
virtual | ~TrackingRegionProducer () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Private Attributes | |
static constexpr int | l1MuonTF_link_EMTFN_f_ {71} |
static constexpr int | l1MuonTF_link_EMTFN_i_ {66} |
static constexpr int | l1MuonTF_link_EMTFP_f_ {41} |
static constexpr int | l1MuonTF_link_EMTFP_i_ {36} |
static constexpr double | sigma_lambda_ {0.05} |
static constexpr double | sigma_phi_ {0.2} |
static constexpr double | sigma_qbpt_barrel_ {0.25} |
static constexpr double | sigma_qbpt_endcap_ {0.4} |
static constexpr double | sigma_qbpt_invalid_charge_ {1.0} |
static constexpr double | sigma_x_ {20.0} |
static constexpr double | sigma_y_ {20.0} |
class L1MuonSeededTrackingRegionsProducer
eta-phi TrackingRegions producer in directions defined by L1 muon objects of interest from a collection defined by the "input" parameter.
Four operational modes are supported ("mode" parameter):
BeamSpotFixed: origin is defined by the beam spot z-half-length is defined by a fixed zErrorBeamSpot parameter BeamSpotSigma: origin is defined by the beam spot z-half-length is defined by nSigmaZBeamSpot * beamSpot.sigmaZ VerticesFixed: origins are defined by vertices from VertexCollection (use maximum MaxNVertices of them) z-half-length is defined by a fixed zErrorVetex parameter VerticesSigma: origins are defined by vertices from VertexCollection (use maximum MaxNVertices of them) z-half-length is defined by nSigmaZVertex * vetex.zError
If, while using one of the "Vertices" modes, there's no vertices in an event, we fall back into either BeamSpotSigma or BeamSpotFixed mode, depending on the positiveness of nSigmaZBeamSpot.
Definition at line 55 of file L1MuonSeededTrackingRegionsProducer.h.
Enumerator | |
---|---|
BEAM_SPOT_FIXED | |
BEAM_SPOT_SIGMA | |
VERTICES_FIXED | |
VERTICES_SIGMA |
Definition at line 57 of file L1MuonSeededTrackingRegionsProducer.h.
|
inlineexplicit |
Definition at line 59 of file L1MuonSeededTrackingRegionsProducer.h.
References BEAM_SPOT_FIXED, BEAM_SPOT_SIGMA, edm::ParameterSet::getParameter(), RectangularEtaPhiTrackingRegion::kNever, m_deltaEtas, m_deltaPhis, m_maxNRegions, m_maxNVertices, m_mode, m_nSigmaZBeamSpot, m_nSigmaZVertex, m_originRadius, m_precise, m_ptMin, m_ptRanges, m_searchOpt, m_whereToUseMeasurementTracker, m_zErrorBeamSpot, m_zErrorVetex, eostools::move(), service_, AlCaHLTBitMon_QueryRunRegistry::string, RectangularEtaPhiTrackingRegion::stringToUseMeasurementTracker(), token_beamSpot, token_input, token_measurementTracker, token_msmaker, token_vertex, VERTICES_FIXED, and VERTICES_SIGMA.
|
overridedefault |
|
inlinestatic |
Definition at line 145 of file L1MuonSeededTrackingRegionsProducer.h.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, HLT_2022v12_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverridevirtual |
Implements TrackingRegionProducer.
Definition at line 190 of file L1MuonSeededTrackingRegionsProducer.h.
References funct::abs(), Reference_intrackfit_cff::barrel, BEAM_SPOT_FIXED, BEAM_SPOT_SIGMA, BXVector< T >::begin(), cms::cuda::bs, centralBxOnly_, ALCARECOTkAlJpsiMuMu_cff::charge, funct::cos(), spr::deltaEta, SiPixelRawToDigiRegional_cfi::deltaPhi, BXVector< T >::end(), relativeConstraints::error, PVValHelper::eta, JetChargeProducer_cfi::exp, first, edm::EventSetup::getData(), BXVector< T >::getFirstBX(), BXVector< T >::getLastBX(), iEvent, createfilelist::int, edm::EDGetTokenT< T >::isUninitialized(), dqmiolumiharvest::j, l1MaxEta_, l1MinPt_, l1MinQuality_, l1MuonTF_link_EMTFN_f_, l1MuonTF_link_EMTFN_i_, l1MuonTF_link_EMTFP_f_, l1MuonTF_link_EMTFP_i_, MainPageGenerator::link, m_deltaEtas, m_deltaPhis, m_maxNRegions, m_maxNVertices, m_mode, m_nSigmaZBeamSpot, m_nSigmaZVertex, m_originRadius, M_PI, m_precise, m_ptMin, m_ptRanges, m_searchOpt, m_whereToUseMeasurementTracker, m_zErrorBeamSpot, m_zErrorVetex, HLTSiStripMonitoring_cff::measurementTracker, minPtBarrel_, minPtEndcap_, FreeTrajectoryState::momentum(), phi, GeometricSearchDet::position(), propagatorName_, DiDispStaMuonMonitor_cfi::pt, quality, CosmicsPD_Skims::radius, mps_fire::result, edm::second(), service_, sigma_lambda_, sigma_phi_, sigma_qbpt_barrel_, sigma_qbpt_endcap_, sigma_qbpt_invalid_charge_, sigma_x_, sigma_y_, funct::sin(), BXVector< T >::size(), GeometricSearchDet::surface(), theta(), token_beamSpot, token_field, token_input, token_measurementTracker, token_msmaker, token_vertex, pfDeepBoostedJetPreprocessParams_cfi::upper_bound, findQualityFiles::v, AlignmentTracksFromVertexSelector_cfi::vertices, VERTICES_FIXED, VERTICES_SIGMA, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 403 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by regions().
|
private |
Definition at line 399 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by regions().
|
private |
Definition at line 398 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by regions().
|
private |
Definition at line 400 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by regions().
|
staticprivate |
Definition at line 413 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by regions().
|
staticprivate |
Definition at line 412 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by regions().
|
staticprivate |
Definition at line 411 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by regions().
|
staticprivate |
Definition at line 410 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by regions().
|
private |
Definition at line 385 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 386 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 375 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 379 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 373 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 396 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 394 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 382 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 387 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 381 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 384 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 392 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 389 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 383 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 395 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 401 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by regions().
|
private |
Definition at line 402 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by regions().
|
private |
Definition at line 405 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by regions().
|
private |
Definition at line 406 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().
|
staticprivate |
Definition at line 419 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by regions().
|
staticprivate |
Definition at line 420 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by regions().
|
staticprivate |
Definition at line 416 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by regions().
|
staticprivate |
Definition at line 417 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by regions().
|
staticprivate |
Definition at line 418 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by regions().
|
staticprivate |
Definition at line 421 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by regions().
|
staticprivate |
Definition at line 422 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by regions().
|
private |
Definition at line 377 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 390 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by regions().
|
private |
Definition at line 378 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 388 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 391 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 376 of file L1MuonSeededTrackingRegionsProducer.h.
Referenced by L1MuonSeededTrackingRegionsProducer(), and regions().