#include <CandidatePointSeededTrackingRegionsProducer.h>
Public Member Functions | |
CandidatePointSeededTrackingRegionsProducer (const edm::ParameterSet &conf, edm::ConsumesCollector &&iC) | |
std::vector< std::unique_ptr< TrackingRegion > > | regions (const edm::Event &e, const edm::EventSetup &es) const override |
~CandidatePointSeededTrackingRegionsProducer () override | |
Public Member Functions inherited from TrackingRegionProducer | |
virtual | ~TrackingRegionProducer () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
float | m_deltaEta_Cand |
float | m_deltaEta_Point |
float | m_deltaPhi_Cand |
float | m_deltaPhi_Point |
std::vector< GlobalVector > | m_directionPoints |
std::vector< std::pair< double, double > > | m_etaPhiPoints |
int | m_maxNRegions |
int | m_maxNVertices |
float | m_nSigmaZBeamSpot |
float | m_nSigmaZVertex |
OperationMode | m_operationMode |
float | m_originRadius |
bool | m_precise |
float | m_ptMin |
bool | m_searchOpt |
SeedingMode | m_seedingMode |
edm::EDGetTokenT< reco::BeamSpot > | m_token_beamSpot |
edm::EDGetTokenT< reco::CandidateView > | m_token_input |
edm::EDGetTokenT< MeasurementTrackerEvent > | m_token_measurementTracker |
edm::EDGetTokenT< reco::VertexCollection > | m_token_vertex |
RectangularEtaPhiTrackingRegion::UseMeasurementTracker | m_whereToUseMeasurementTracker |
float | m_zErrorBeamSpot |
float | m_zErrorVetex |
class CandidatePointSeededTrackingRegionsProducer
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 ("operationMode" 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.
Three seeding modes are supported ("seedingMode" parameter):
Candidate-seeded: defines regions around candidates from the "input" collection Point-seeded: defines regions around fixed points in the detector (previously in PointSeededTrackingRegionsProducer) Candidate+point-seeded: defines regions as intersections of regions around candidates from the "input" collections and around fixed points in the detector
Definition at line 56 of file CandidatePointSeededTrackingRegionsProducer.h.
Enumerator | |
---|---|
BEAM_SPOT_FIXED | |
BEAM_SPOT_SIGMA | |
VERTICES_FIXED | |
VERTICES_SIGMA |
Definition at line 60 of file CandidatePointSeededTrackingRegionsProducer.h.
Enumerator | |
---|---|
CANDIDATE_SEEDED | |
POINT_SEEDED | |
CANDIDATE_POINT_SEEDED |
Definition at line 61 of file CandidatePointSeededTrackingRegionsProducer.h.
|
inlineexplicit |
Definition at line 63 of file CandidatePointSeededTrackingRegionsProducer.h.
References BEAM_SPOT_FIXED, BEAM_SPOT_SIGMA, CANDIDATE_POINT_SEEDED, CANDIDATE_SEEDED, edm::errors::Configuration, funct::cos(), Exception, edm::ParameterSet::exists(), JetChargeProducer_cfi::exp, edm::ParameterSet::getParameter(), mps_fire::i, RectangularEtaPhiTrackingRegion::kNever, m_deltaEta_Cand, m_deltaEta_Point, m_deltaPhi_Cand, m_deltaPhi_Point, m_directionPoints, m_etaPhiPoints, m_maxNRegions, m_maxNVertices, m_nSigmaZBeamSpot, m_nSigmaZVertex, m_operationMode, m_originRadius, m_precise, m_ptMin, m_searchOpt, m_seedingMode, m_token_beamSpot, m_token_input, m_token_measurementTracker, m_token_vertex, m_whereToUseMeasurementTracker, m_zErrorBeamSpot, m_zErrorVetex, POINT_SEEDED, hiPixelPairStep_cff::points, funct::sin(), AlCaHLTBitMon_QueryRunRegistry::string, RectangularEtaPhiTrackingRegion::stringToUseMeasurementTracker(), funct::tan(), theta(), VERTICES_FIXED, VERTICES_SIGMA, x, y, and z.
|
inlineoverride |
Definition at line 166 of file CandidatePointSeededTrackingRegionsProducer.h.
|
inlinestatic |
Definition at line 168 of file CandidatePointSeededTrackingRegionsProducer.h.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverridevirtual |
Implements TrackingRegionProducer.
Definition at line 211 of file CandidatePointSeededTrackingRegionsProducer.h.
References funct::abs(), BEAM_SPOT_FIXED, BEAM_SPOT_SIGMA, CANDIDATE_POINT_SEEDED, CANDIDATE_SEEDED, funct::cos(), hiPixelPairStep_cff::deltaPhi, JetChargeProducer_cfi::exp, edm::Event::getByToken(), edm::EDGetTokenT< T >::isUninitialized(), edm::HandleBase::isValid(), m_deltaEta_Cand, m_deltaEta_Point, m_deltaPhi_Cand, m_deltaPhi_Point, m_directionPoints, m_etaPhiPoints, m_maxNRegions, m_maxNVertices, m_nSigmaZBeamSpot, m_nSigmaZVertex, m_operationMode, m_originRadius, M_PI, m_precise, m_ptMin, m_searchOpt, m_seedingMode, m_token_beamSpot, m_token_input, m_token_measurementTracker, m_token_vertex, m_whereToUseMeasurementTracker, m_zErrorBeamSpot, m_zErrorVetex, SiStripPI::max, min(), normalizedPhi(), POINT_SEEDED, edm::Handle< T >::product(), mps_fire::result, reco::BeamSpot::sigmaZ(), funct::sin(), edm::View< T >::size(), funct::tan(), theta(), findQualityFiles::v, electrons_cff::vertices, VERTICES_FIXED, VERTICES_SIGMA, x, reco::BeamSpot::x0(), y, reco::BeamSpot::y0(), z, reco::BeamSpot::z0(), and reco::BeamSpot::z0Error().
|
private |
Definition at line 440 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 442 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 441 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 443 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 435 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 434 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 428 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 432 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 451 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 449 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 425 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 438 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 444 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 437 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 447 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 426 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 430 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 431 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 445 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 429 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 446 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 439 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 450 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().