#include <PointSeededTrackingRegionsProducer.h>
Public Types | |
enum | Mode { BEAM_SPOT_FIXED, BEAM_SPOT_SIGMA, VERTICES_FIXED, VERTICES_SIGMA } |
Public Member Functions | |
PointSeededTrackingRegionsProducer (const edm::ParameterSet &conf, edm::ConsumesCollector &&iC) | |
std::vector< std::unique_ptr < TrackingRegion > > | regions (const edm::Event &e, const edm::EventSetup &es) const override |
~PointSeededTrackingRegionsProducer () override | |
Public Member Functions inherited from TrackingRegionProducer | |
virtual | ~TrackingRegionProducer () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
std::vector< double > | etaPoints |
float | m_deltaEta |
float | m_deltaPhi |
int | m_maxNRegions |
int | m_maxNVertices |
Mode | m_mode |
float | m_nSigmaZBeamSpot |
float | m_nSigmaZVertex |
float | m_originRadius |
bool | m_precise |
float | m_ptMin |
bool | m_searchOpt |
RectangularEtaPhiTrackingRegion::UseMeasurementTracker | m_whereToUseMeasurementTracker |
float | m_zErrorBeamSpot |
float | m_zErrorVetex |
std::vector< double > | phiPoints |
edm::EDGetTokenT< reco::BeamSpot > | token_beamSpot |
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | token_field |
edm::EDGetTokenT < MeasurementTrackerEvent > | token_measurementTracker |
edm::ESGetToken < MultipleScatteringParametrisationMaker, TrackerMultipleScatteringRecord > | token_msmaker |
edm::EDGetTokenT < reco::VertexCollection > | token_vertex |
class PointSeededTrackingRegionsProducer
eta-phi TrackingRegions producer in directions defined by Point-based objects of interest from the "input" parameters.
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 52 of file PointSeededTrackingRegionsProducer.h.
Enumerator | |
---|---|
BEAM_SPOT_FIXED | |
BEAM_SPOT_SIGMA | |
VERTICES_FIXED | |
VERTICES_SIGMA |
Definition at line 54 of file PointSeededTrackingRegionsProducer.h.
|
inlineexplicit |
Definition at line 56 of file PointSeededTrackingRegionsProducer.h.
References BEAM_SPOT_FIXED, BEAM_SPOT_SIGMA, edm::errors::Configuration, etaPoints, Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), RectangularEtaPhiTrackingRegion::kNever, m_deltaEta, m_deltaPhi, m_maxNRegions, m_maxNVertices, m_mode, m_nSigmaZBeamSpot, m_nSigmaZVertex, m_originRadius, m_precise, m_ptMin, m_searchOpt, m_whereToUseMeasurementTracker, m_zErrorBeamSpot, m_zErrorVetex, phiPoints, AlCaHLTBitMon_QueryRunRegistry::string, RectangularEtaPhiTrackingRegion::stringToUseMeasurementTracker(), token_beamSpot, token_measurementTracker, token_msmaker, token_vertex, VERTICES_FIXED, and VERTICES_SIGMA.
|
inlineoverride |
Definition at line 123 of file PointSeededTrackingRegionsProducer.h.
|
inlinestatic |
Definition at line 125 of file PointSeededTrackingRegionsProducer.h.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverridevirtual |
Implements TrackingRegionProducer.
Definition at line 164 of file PointSeededTrackingRegionsProducer.h.
References BEAM_SPOT_FIXED, BEAM_SPOT_SIGMA, cms::cuda::bs, funct::cos(), etaPoints, makeMEIFBenchmarkPlots::ev, funct::exp(), first, edm::Event::getByToken(), edm::EventSetup::getData(), mps_fire::i, edm::EDGetTokenT< T >::isUninitialized(), edm::HandleBase::isValid(), gpuVertexFinder::iv, dqmiolumiharvest::j, m_deltaEta, m_deltaPhi, m_maxNRegions, m_maxNVertices, m_mode, m_nSigmaZBeamSpot, m_nSigmaZVertex, m_originRadius, m_precise, m_ptMin, m_searchOpt, m_whereToUseMeasurementTracker, m_zErrorBeamSpot, m_zErrorVetex, HLT_FULL_cff::measurementTracker, phiPoints, edm::Handle< T >::product(), mps_fire::result, edm::second(), funct::sin(), funct::tan(), theta(), token_beamSpot, token_field, token_measurementTracker, token_msmaker, token_vertex, beam_dqm_sourceclient-live_cfg::vertices, VERTICES_FIXED, VERTICES_SIGMA, x, y, and z.
|
private |
Definition at line 259 of file PointSeededTrackingRegionsProducer.h.
Referenced by PointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 265 of file PointSeededTrackingRegionsProducer.h.
Referenced by PointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 266 of file PointSeededTrackingRegionsProducer.h.
Referenced by PointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 254 of file PointSeededTrackingRegionsProducer.h.
Referenced by PointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 257 of file PointSeededTrackingRegionsProducer.h.
Referenced by PointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 252 of file PointSeededTrackingRegionsProducer.h.
Referenced by PointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 276 of file PointSeededTrackingRegionsProducer.h.
Referenced by PointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 274 of file PointSeededTrackingRegionsProducer.h.
Referenced by PointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 263 of file PointSeededTrackingRegionsProducer.h.
Referenced by PointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 267 of file PointSeededTrackingRegionsProducer.h.
Referenced by PointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 262 of file PointSeededTrackingRegionsProducer.h.
Referenced by PointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 272 of file PointSeededTrackingRegionsProducer.h.
Referenced by PointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 269 of file PointSeededTrackingRegionsProducer.h.
Referenced by PointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 264 of file PointSeededTrackingRegionsProducer.h.
Referenced by PointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 275 of file PointSeededTrackingRegionsProducer.h.
Referenced by PointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 260 of file PointSeededTrackingRegionsProducer.h.
Referenced by PointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 256 of file PointSeededTrackingRegionsProducer.h.
Referenced by PointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 270 of file PointSeededTrackingRegionsProducer.h.
Referenced by regions().
|
private |
Definition at line 268 of file PointSeededTrackingRegionsProducer.h.
Referenced by PointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 271 of file PointSeededTrackingRegionsProducer.h.
Referenced by PointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 255 of file PointSeededTrackingRegionsProducer.h.
Referenced by PointSeededTrackingRegionsProducer(), and regions().