#include <CandidateSeededTrackingRegionsProducer.h>
Public Types | |
enum | Mode { BEAM_SPOT_FIXED, BEAM_SPOT_SIGMA, VERTICES_FIXED, VERTICES_SIGMA } |
Public Member Functions | |
CandidateSeededTrackingRegionsProducer (const edm::ParameterSet &conf, edm::ConsumesCollector &&iC) | |
std::vector< std::unique_ptr< TrackingRegion > > | regions (const edm::Event &e, const edm::EventSetup &es) const override |
~CandidateSeededTrackingRegionsProducer () override | |
Public Member Functions inherited from TrackingRegionProducer | |
virtual | ~TrackingRegionProducer () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
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 |
edm::EDGetTokenT< reco::BeamSpot > | token_beamSpot |
edm::EDGetTokenT< reco::CandidateView > | token_input |
edm::EDGetTokenT< MeasurementTrackerEvent > | token_measurementTracker |
edm::EDGetTokenT< reco::VertexCollection > | token_vertex |
class CandidateSeededTrackingRegionsProducer
eta-phi TrackingRegions producer in directions defined by Candidate-based 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 45 of file CandidateSeededTrackingRegionsProducer.h.
Enumerator | |
---|---|
BEAM_SPOT_FIXED | |
BEAM_SPOT_SIGMA | |
VERTICES_FIXED | |
VERTICES_SIGMA |
Definition at line 47 of file CandidateSeededTrackingRegionsProducer.h.
|
inlineexplicit |
Definition at line 49 of file CandidateSeededTrackingRegionsProducer.h.
References BEAM_SPOT_FIXED, BEAM_SPOT_SIGMA, 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, AlCaHLTBitMon_QueryRunRegistry::string, RectangularEtaPhiTrackingRegion::stringToUseMeasurementTracker(), token_beamSpot, token_input, token_measurementTracker, token_vertex, VERTICES_FIXED, and VERTICES_SIGMA.
|
inlineoverride |
Definition at line 106 of file CandidateSeededTrackingRegionsProducer.h.
|
inlinestatic |
Definition at line 108 of file CandidateSeededTrackingRegionsProducer.h.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverridevirtual |
Implements TrackingRegionProducer.
Definition at line 142 of file CandidateSeededTrackingRegionsProducer.h.
References BEAM_SPOT_FIXED, BEAM_SPOT_SIGMA, cms::cuda::bs, MillePedeFileConverter_cfg::e, dqmdumpme::first, mps_fire::i, edm::EDGetTokenT< T >::isUninitialized(), 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, HLTSiStripMonitoring_cff::measurementTracker, hgcalPerformanceValidation::objects, edm::Handle< T >::product(), mps_fire::result, edm::second(), token_beamSpot, token_input, token_measurementTracker, token_vertex, findQualityFiles::v, pwdgSkimBPark_cfi::vertices, VERTICES_FIXED, VERTICES_SIGMA, x, y, and z.
|
private |
Definition at line 236 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 237 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 227 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 231 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 225 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 245 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 243 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 234 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 238 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 233 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 241 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 240 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 235 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 244 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 229 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 230 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 239 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 228 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().