#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) | |
virtual std::vector < TrackingRegion * > | regions (const edm::Event &e, const edm::EventSetup &es) const |
virtual | ~CandidateSeededTrackingRegionsProducer () |
Public Member Functions inherited from TrackingRegionProducer | |
virtual | ~TrackingRegionProducer () |
Private Attributes | |
float | m_deltaEta |
float | m_deltaPhi |
int | m_maxNRegions |
int | m_maxNVertices |
std::string | m_measurementTrackerName |
Mode | m_mode |
float | m_nSigmaZBeamSpot |
float | m_nSigmaZVertex |
float | m_originRadius |
bool | m_precise |
float | m_ptMin |
bool | m_searchOpt |
float | m_whereToUseMeasurementTracker |
float | m_zErrorBeamSpot |
float | m_zErrorVetex |
edm::EDGetTokenT< reco::BeamSpot > | token_beamSpot |
edm::EDGetTokenT < reco::CandidateView > | token_input |
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 44 of file CandidateSeededTrackingRegionsProducer.h.
Enumerator | |
---|---|
BEAM_SPOT_FIXED | |
BEAM_SPOT_SIGMA | |
VERTICES_FIXED | |
VERTICES_SIGMA |
Definition at line 48 of file CandidateSeededTrackingRegionsProducer.h.
|
inlineexplicit |
Definition at line 50 of file CandidateSeededTrackingRegionsProducer.h.
References BEAM_SPOT_FIXED, BEAM_SPOT_SIGMA, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), m_deltaEta, m_deltaPhi, m_maxNRegions, m_maxNVertices, m_measurementTrackerName, m_mode, m_nSigmaZBeamSpot, m_nSigmaZVertex, m_originRadius, m_precise, m_ptMin, m_searchOpt, m_whereToUseMeasurementTracker, m_zErrorBeamSpot, m_zErrorVetex, AlCaHLTBitMon_QueryRunRegistry::string, token_beamSpot, token_input, token_vertex, VERTICES_FIXED, and VERTICES_SIGMA.
|
inlinevirtual |
Definition at line 104 of file CandidateSeededTrackingRegionsProducer.h.
|
inlinevirtual |
Implements TrackingRegionProducer.
Definition at line 107 of file CandidateSeededTrackingRegionsProducer.h.
References BEAM_SPOT_FIXED, BEAM_SPOT_SIGMA, first, edm::Event::getByToken(), i, edm::HandleBase::isValid(), j, m_deltaEta, m_deltaPhi, m_maxNRegions, m_maxNVertices, m_measurementTrackerName, m_mode, m_nSigmaZBeamSpot, m_nSigmaZVertex, m_originRadius, m_precise, m_ptMin, m_searchOpt, m_whereToUseMeasurementTracker, m_zErrorBeamSpot, m_zErrorVetex, query::result, edm::second(), token_beamSpot, token_input, token_vertex, findQualityFiles::v, VERTICES_FIXED, VERTICES_SIGMA, x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
|
private |
Definition at line 206 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 207 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 197 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 201 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 209 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 195 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 215 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 213 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 204 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 208 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 203 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 211 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 210 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 205 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 214 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 199 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 200 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 198 of file CandidateSeededTrackingRegionsProducer.h.
Referenced by CandidateSeededTrackingRegionsProducer(), and regions().