#include <MuonTrackingRegionBuilder.h>
Public Member Functions | |
MuonTrackingRegionBuilder (const edm::ParameterSet &par, edm::ConsumesCollector &&iC) | |
MuonTrackingRegionBuilder (const edm::ParameterSet &par, edm::ConsumesCollector &iC) | |
Constructor. More... | |
std::unique_ptr< RectangularEtaPhiTrackingRegion > | region (const reco::Track &, const edm::Event &) const |
std::unique_ptr< RectangularEtaPhiTrackingRegion > | region (const reco::Track &t) const |
std::unique_ptr< RectangularEtaPhiTrackingRegion > | region (const reco::TrackRef &) const |
Define tracking region. More... | |
std::vector< std::unique_ptr< TrackingRegion > > | regions (const edm::Event &, const edm::EventSetup &) const override |
Create Region of Interest. More... | |
virtual void | setEvent (const edm::Event &) |
Pass the Event to the algo at each event. More... | |
~MuonTrackingRegionBuilder () override | |
Destructor. More... | |
Public Member Functions inherited from TrackingRegionProducer | |
virtual | ~TrackingRegionProducer () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Add Fill Descriptions. More... | |
static void | fillDescriptionsHLT (edm::ParameterSetDescription &descriptions) |
static void | fillDescriptionsOffline (edm::ParameterSetDescription &descriptions) |
Private Member Functions | |
void | build (const edm::ParameterSet &, edm::ConsumesCollector &) |
Private Attributes | |
edm::EDGetTokenT< reco::BeamSpot > | beamSpotToken |
edm::EDGetTokenT< reco::TrackCollection > | inputCollectionToken |
double | theDeltaEta |
double | theDeltaPhi |
double | theDeltaR |
double | theEtaMin |
double | theEtaRegionPar1 |
double | theEtaRegionPar2 |
const edm::Event * | theEvent |
double | theHalfZ |
int | theMaxRegions |
edm::EDGetTokenT< MeasurementTrackerEvent > | theMeasurementTrackerToken |
double | theNsigmaDz |
double | theNsigmaEta |
double | theNsigmaPhi |
RectangularEtaPhiTrackingRegion::UseMeasurementTracker | theOnDemand |
double | thePhiMin |
double | thePhiRegionPar1 |
double | thePhiRegionPar2 |
bool | thePrecise |
double | thePtMin |
bool | useFixedEta |
bool | useFixedPhi |
bool | useFixedPt |
bool | useFixedZ |
bool | useVertex |
edm::EDGetTokenT< reco::VertexCollection > | vertexCollectionToken |
Build a TrackingRegion around a standalone muon
Options: Beamspot : Origin is defined by primary vertex Vertex : Origin is defined by primary vertex (first valid vertex in the VertexCollection) if no vertex is found the beamspot is used instead DynamicZError
DynamicEtaError DynamicphiError
Definition at line 43 of file MuonTrackingRegionBuilder.h.
|
inlineexplicit |
|
inlineexplicit |
|
inlineoverride |
|
private |
Class: MuonTrackingRegionBuilder
Build a TrackingRegion around a standalone muon
Definition at line 32 of file MuonTrackingRegionBuilder.cc.
References beamSpotToken, edm::ConsumesCollector::consumes(), edm::ParameterSet::getParameter(), inputCollectionToken, RectangularEtaPhiTrackingRegion::intToUseMeasurementTracker(), RectangularEtaPhiTrackingRegion::kNever, theDeltaEta, theDeltaPhi, theDeltaR, theEtaMin, theEtaRegionPar1, theEtaRegionPar2, theHalfZ, theMaxRegions, theMeasurementTrackerToken, theNsigmaDz, theNsigmaEta, theNsigmaPhi, theOnDemand, thePhiMin, thePhiRegionPar1, thePhiRegionPar2, thePrecise, thePtMin, useFixedEta, useFixedPhi, useFixedPt, useFixedZ, useVertex, and vertexCollectionToken.
Referenced by MuonTrackingRegionBuilder().
|
static |
Add Fill Descriptions.
Definition at line 238 of file MuonTrackingRegionBuilder.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, fillDescriptionsHLT(), fillDescriptionsOffline(), and edm::ConfigurationDescriptions::setComment().
|
static |
Definition at line 253 of file MuonTrackingRegionBuilder.cc.
References submitPVResolutionJobs::desc, and HLT_FULL_cff::InputTag.
Referenced by L3MuonTrajectoryBuilder::fillDescriptions(), and fillDescriptions().
|
static |
Definition at line 282 of file MuonTrackingRegionBuilder.cc.
References submitPVResolutionJobs::desc, and HLT_FULL_cff::InputTag.
Referenced by HIMuonTrackingRegionProducer::fillDescriptions(), and fillDescriptions().
std::unique_ptr< RectangularEtaPhiTrackingRegion > MuonTrackingRegionBuilder::region | ( | const reco::Track & | staTrack, |
const edm::Event & | ev | ||
) | const |
Definition at line 129 of file MuonTrackingRegionBuilder.cc.
References funct::abs(), beamSpotToken, cms::cuda::bs, PbPb_ZMuSkimMuonDPG_cff::deltaR, PVValHelper::eta, reco::TrackBase::etaError(), ev, reco::Track::innerMomentum(), edm::EDGetTokenT< T >::isUninitialized(), LogDebug, SiStripPI::max, HLTSiStripMonitoring_cff::measurementTracker, min(), beam_dqm_sourceclient-live_cfg::minPt, reco::TrackBase::momentum(), reco::TrackBase::p(), phi, reco::TrackBase::phiError(), edm::Handle< T >::product(), DiDispStaMuonMonitor_cfi::pt, reco::TrackBase::pt(), region(), theDeltaEta, theDeltaPhi, theDeltaR, theEtaMin, theEtaRegionPar1, theEtaRegionPar2, theHalfZ, theMeasurementTrackerToken, theNsigmaDz, theNsigmaEta, theNsigmaPhi, theOnDemand, thePhiMin, thePhiRegionPar1, thePhiRegionPar2, thePrecise, thePtMin, useFixedEta, useFixedPhi, useFixedPt, useFixedZ, useVertex, spclusmultinvestigator_cfi::vertexCollection, vertexCollectionToken, and extraflags_cff::vtx.
|
inline |
Definition at line 57 of file MuonTrackingRegionBuilder.h.
References region(), submitPVValidationJobs::t, and theEvent.
Referenced by region().
std::unique_ptr< RectangularEtaPhiTrackingRegion > MuonTrackingRegionBuilder::region | ( | const reco::TrackRef & | track | ) | const |
Define tracking region.
Definition at line 117 of file MuonTrackingRegionBuilder.cc.
References HLT_FULL_cff::track.
Referenced by GlobalTrajectoryBuilderBase::defineRegionOfInterest(), FastTSGFromL2Muon::produce(), region(), HIMuonTrackingRegionProducer::regions(), and regions().
|
overridevirtual |
Create Region of Interest.
Implements TrackingRegionProducer.
Definition at line 98 of file MuonTrackingRegionBuilder.cc.
References ev, inputCollectionToken, region(), mps_fire::result, theMaxRegions, and PDWG_EXOHSCP_cff::tracks.
|
virtual |
Pass the Event to the algo at each event.
Definition at line 124 of file MuonTrackingRegionBuilder.cc.
References edmPickEvents::event, and theEvent.
Referenced by FastTSGFromL2Muon::produce(), HIMuonTrackingRegionProducer::regions(), and GlobalTrajectoryBuilderBase::setEvent().
|
private |
Definition at line 101 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 103 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 97 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 96 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 94 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 93 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 86 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 87 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 71 of file MuonTrackingRegionBuilder.h.
Referenced by region(), and setEvent().
|
private |
Definition at line 95 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 80 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 100 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 84 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 82 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 83 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 99 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 92 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 88 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 89 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 78 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 91 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 77 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 76 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 75 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 74 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 73 of file MuonTrackingRegionBuilder.h.
|
private |
Definition at line 102 of file MuonTrackingRegionBuilder.h.