#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 58 of file CandidatePointSeededTrackingRegionsProducer.h.
Enumerator | |
---|---|
CANDIDATE_SEEDED | |
POINT_SEEDED | |
CANDIDATE_POINT_SEEDED |
Definition at line 60 of file CandidatePointSeededTrackingRegionsProducer.h.
|
inlineexplicit |
Definition at line 62 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, HLT_FULL_cff::points, funct::sin(), AlCaHLTBitMon_QueryRunRegistry::string, RectangularEtaPhiTrackingRegion::stringToUseMeasurementTracker(), funct::tan(), theta(), x, y, and z.
|
inlineoverride |
Definition at line 147 of file CandidatePointSeededTrackingRegionsProducer.h.
|
inlinestatic |
Definition at line 149 of file CandidatePointSeededTrackingRegionsProducer.h.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, VertexBeamspotOrigins::fillDescriptions(), HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverridevirtual |
Implements TrackingRegionProducer.
Definition at line 184 of file CandidatePointSeededTrackingRegionsProducer.h.
References funct::abs(), CANDIDATE_POINT_SEEDED, CANDIDATE_SEEDED, funct::cos(), SiPixelRawToDigiRegional_cfi::deltaPhi, MillePedeFileConverter_cfg::e, JetChargeProducer_cfi::exp, 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, HLTSiStripMonitoring_cff::measurementTracker, min(), normalizedPhi(), hgcalPerformanceValidation::objects, HLTEGTnPMonitor_cfi::objs, VertexBeamspotOrigins::origins(), POINT_SEEDED, edm::Handle< T >::product(), mps_fire::result, funct::sin(), funct::tan(), theta(), x, y, and z.
|
private |
Definition at line 356 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 358 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 359 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 352 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 351 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 348 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 355 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 345 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by regions().
|
private |
Definition at line 360 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 363 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 346 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 349 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 361 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 362 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().