#include <CandidatePointSeededTrackingRegionsProducer.h>
Public Types | |
enum | SeedingMode { SeedingMode::CANDIDATE_SEEDED, SeedingMode::POINT_SEEDED, SeedingMode::CANDIDATE_POINT_SEEDED } |
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 |
float | m_originRadius |
VertexBeamspotOrigins | m_origins |
bool | m_precise |
float | m_ptMin |
bool | m_searchOpt |
SeedingMode | m_seedingMode |
edm::EDGetTokenT< reco::CandidateView > | m_token_input |
edm::EDGetTokenT< MeasurementTrackerEvent > | m_token_measurementTracker |
RectangularEtaPhiTrackingRegion::UseMeasurementTracker | m_whereToUseMeasurementTracker |
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 57 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 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_originRadius, m_precise, m_ptMin, m_searchOpt, m_seedingMode, m_token_input, m_token_measurementTracker, m_whereToUseMeasurementTracker, POINT_SEEDED, hiPixelPairStep_cff::points, funct::sin(), AlCaHLTBitMon_QueryRunRegistry::string, RectangularEtaPhiTrackingRegion::stringToUseMeasurementTracker(), funct::tan(), theta(), x, y, and z.
|
inlineoverride |
Definition at line 137 of file CandidatePointSeededTrackingRegionsProducer.h.
|
inlinestatic |
Definition at line 139 of file CandidatePointSeededTrackingRegionsProducer.h.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), VertexBeamspotOrigins::fillDescriptions(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverridevirtual |
Implements TrackingRegionProducer.
Definition at line 175 of file CandidatePointSeededTrackingRegionsProducer.h.
References funct::abs(), CANDIDATE_POINT_SEEDED, CANDIDATE_SEEDED, funct::cos(), hiPixelPairStep_cff::deltaPhi, JetChargeProducer_cfi::exp, edm::Event::getByToken(), edm::EDGetTokenT< T >::isUninitialized(), m_deltaEta_Cand, m_deltaEta_Point, m_deltaPhi_Cand, m_deltaPhi_Point, m_directionPoints, m_etaPhiPoints, m_maxNRegions, m_originRadius, m_origins, M_PI, m_precise, m_ptMin, m_searchOpt, m_seedingMode, m_token_input, m_token_measurementTracker, m_whereToUseMeasurementTracker, SiStripPI::max, min(), normalizedPhi(), VertexBeamspotOrigins::origins(), POINT_SEEDED, edm::Handle< T >::product(), mps_fire::result, funct::sin(), edm::View< T >::size(), funct::tan(), theta(), x, y, and z.
|
private |
Definition at line 364 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 366 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 365 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 367 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 360 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 359 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 356 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 363 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 353 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by regions().
|
private |
Definition at line 368 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 362 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 371 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 354 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 357 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 369 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 370 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().