#include <MuonTrackingRegionByPtBuilder.h>
Public Member Functions | |
MuonTrackingRegionByPtBuilder (const edm::ParameterSet &par, edm::ConsumesCollector &iC) | |
Constructor. More... | |
MuonTrackingRegionByPtBuilder (const edm::ParameterSet &par, edm::ConsumesCollector &&iC) | |
std::unique_ptr< RectangularEtaPhiTrackingRegion > | region (const reco::TrackRef &) const |
Define tracking region. More... | |
std::unique_ptr< RectangularEtaPhiTrackingRegion > | region (const reco::Track &t) const |
std::unique_ptr< RectangularEtaPhiTrackingRegion > | region (const reco::Track &, const edm::Event &, const edm::EventSetup &) const |
std::vector< std::unique_ptr< TrackingRegion > > | regions (const edm::Event &, const edm::EventSetup &) const override |
Create Region of Interest. More... | |
void | setEvent (const edm::Event &, const edm::EventSetup &) |
Pass the Event to the algo at each event. More... | |
~MuonTrackingRegionByPtBuilder () override=default | |
Destructor. More... | |
Public Member Functions inherited from TrackingRegionProducer | |
virtual | ~TrackingRegionProducer () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Add Fill Descriptions. More... | |
Private Member Functions | |
void | build (const edm::ParameterSet &, edm::ConsumesCollector &) |
Private Attributes | |
edm::EDGetTokenT< reco::BeamSpot > | beamSpotToken |
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | bfieldToken |
std::vector< double > | deltaEtas_ |
std::vector< double > | deltaPhis_ |
edm::EDGetTokenT< reco::TrackCollection > | inputCollectionToken |
edm::ESGetToken< MultipleScatteringParametrisationMaker, TrackerMultipleScatteringRecord > | msmakerToken |
std::vector< double > | ptRanges_ |
double | theDeltaR |
const edm::Event * | theEvent |
const edm::EventSetup * | theEventSetup |
double | theHalfZ |
int | theMaxRegions |
edm::EDGetTokenT< MeasurementTrackerEvent > | theMeasurementTrackerToken |
double | theNsigmaDz |
RectangularEtaPhiTrackingRegion::UseMeasurementTracker | theOnDemand |
bool | thePrecise |
double | thePtMin |
bool | useFixedPt |
bool | useFixedZ |
bool | useVertex |
edm::EDGetTokenT< reco::VertexCollection > | vertexCollectionToken |
Definition at line 26 of file MuonTrackingRegionByPtBuilder.h.
|
inlineexplicit |
Constructor.
Definition at line 29 of file MuonTrackingRegionByPtBuilder.h.
References build().
|
inlineexplicit |
Definition at line 30 of file MuonTrackingRegionByPtBuilder.h.
References build().
|
overridedefault |
Destructor.
|
private |
Definition at line 28 of file MuonTrackingRegionByPtBuilder.cc.
References beamSpotToken, bfieldToken, edm::ConsumesCollector::consumes(), deltaEtas_, deltaPhis_, edm::ConsumesCollector::esConsumes(), edm::ParameterSet::getParameter(), inputCollectionToken, RectangularEtaPhiTrackingRegion::intToUseMeasurementTracker(), RectangularEtaPhiTrackingRegion::kNever, msmakerToken, ptRanges_, theDeltaR, theHalfZ, theMaxRegions, theMeasurementTrackerToken, theNsigmaDz, theOnDemand, thePrecise, thePtMin, useFixedPt, useFixedZ, useVertex, and vertexCollectionToken.
Referenced by MuonTrackingRegionByPtBuilder().
|
static |
Add Fill Descriptions.
Definition at line 219 of file MuonTrackingRegionByPtBuilder.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, HLT_2022v11_cff::InputTag, and edm::ConfigurationDescriptions::setComment().
std::unique_ptr< RectangularEtaPhiTrackingRegion > MuonTrackingRegionByPtBuilder::region | ( | const reco::TrackRef & | track | ) | const |
Define tracking region.
Definition at line 114 of file MuonTrackingRegionByPtBuilder.cc.
References HLT_2022v11_cff::track.
Referenced by region(), and regions().
|
inline |
Definition at line 40 of file MuonTrackingRegionByPtBuilder.h.
References region(), submitPVValidationJobs::t, theEvent, and theEventSetup.
std::unique_ptr< RectangularEtaPhiTrackingRegion > MuonTrackingRegionByPtBuilder::region | ( | const reco::Track & | staTrack, |
const edm::Event & | ev, | ||
const edm::EventSetup & | es | ||
) | const |
Definition at line 130 of file MuonTrackingRegionByPtBuilder.cc.
References funct::abs(), beamSpotToken, bfieldToken, cms::cuda::bs, deltaEtas_, deltaPhis_, PbPb_ZMuSkimMuonDPG_cff::deltaR, L1TkHTMissProducer_cfi::deltaZ, makeMEIFBenchmarkPlots::ev, edm::EventSetup::getData(), reco::Track::innerMomentum(), edm::EDGetTokenT< T >::isUninitialized(), LogDebug, SiStripPI::max, HLTSiStripMonitoring_cff::measurementTracker, beam_dqm_sourceclient-live_cfg::minPt, reco::TrackBase::momentum(), msmakerToken, reco::TrackBase::p(), edm::Handle< T >::product(), DiDispStaMuonMonitor_cfi::pt, reco::TrackBase::pt(), ptRanges_, region(), theDeltaR, theHalfZ, theMeasurementTrackerToken, theNsigmaDz, theOnDemand, thePrecise, thePtMin, pfDeepBoostedJetPreprocessParams_cfi::upper_bound, useFixedPt, useFixedZ, useVertex, spclusmultinvestigator_cfi::vertexCollection, vertexCollectionToken, and extraflags_cff::vtx.
|
overridevirtual |
Create Region of Interest.
Implements TrackingRegionProducer.
Definition at line 95 of file MuonTrackingRegionByPtBuilder.cc.
References makeMEIFBenchmarkPlots::ev, inputCollectionToken, region(), mps_fire::result, theMaxRegions, and tracks.
void MuonTrackingRegionByPtBuilder::setEvent | ( | const edm::Event & | event, |
const edm::EventSetup & | es | ||
) |
Pass the Event to the algo at each event.
Definition at line 122 of file MuonTrackingRegionByPtBuilder.cc.
References edmPickEvents::event, theEvent, and theEventSetup.
|
private |
Definition at line 78 of file MuonTrackingRegionByPtBuilder.h.
|
private |
Definition at line 81 of file MuonTrackingRegionByPtBuilder.h.
|
private |
Definition at line 73 of file MuonTrackingRegionByPtBuilder.h.
|
private |
Definition at line 74 of file MuonTrackingRegionByPtBuilder.h.
|
private |
Definition at line 80 of file MuonTrackingRegionByPtBuilder.h.
|
private |
Definition at line 82 of file MuonTrackingRegionByPtBuilder.h.
|
private |
Definition at line 72 of file MuonTrackingRegionByPtBuilder.h.
|
private |
Definition at line 69 of file MuonTrackingRegionByPtBuilder.h.
|
private |
Definition at line 56 of file MuonTrackingRegionByPtBuilder.h.
Referenced by region(), and setEvent().
|
private |
Definition at line 57 of file MuonTrackingRegionByPtBuilder.h.
Referenced by region(), and setEvent().
|
private |
Definition at line 70 of file MuonTrackingRegionByPtBuilder.h.
|
private |
Definition at line 64 of file MuonTrackingRegionByPtBuilder.h.
|
private |
Definition at line 77 of file MuonTrackingRegionByPtBuilder.h.
|
private |
Definition at line 66 of file MuonTrackingRegionByPtBuilder.h.
|
private |
Definition at line 76 of file MuonTrackingRegionByPtBuilder.h.
|
private |
Definition at line 62 of file MuonTrackingRegionByPtBuilder.h.
|
private |
Definition at line 68 of file MuonTrackingRegionByPtBuilder.h.
|
private |
Definition at line 61 of file MuonTrackingRegionByPtBuilder.h.
|
private |
Definition at line 60 of file MuonTrackingRegionByPtBuilder.h.
|
private |
Definition at line 59 of file MuonTrackingRegionByPtBuilder.h.
|
private |
Definition at line 79 of file MuonTrackingRegionByPtBuilder.h.