#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=default | |
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 |
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | token_field |
edm::ESGetToken< MultipleScatteringParametrisationMaker, TrackerMultipleScatteringRecord > | token_msmaker |
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, hiPixelPairStep_cff::points, funct::sin(), AlCaHLTBitMon_QueryRunRegistry::string, RectangularEtaPhiTrackingRegion::stringToUseMeasurementTracker(), funct::tan(), theta(), token_msmaker, x, y, and z.
|
overridedefault |
|
inlinestatic |
Definition at line 153 of file CandidatePointSeededTrackingRegionsProducer.h.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, VertexBeamspotOrigins::fillDescriptions(), HLT_2022v15_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverridevirtual |
Implements TrackingRegionProducer.
Definition at line 188 of file CandidatePointSeededTrackingRegionsProducer.h.
References funct::abs(), CANDIDATE_POINT_SEEDED, CANDIDATE_SEEDED, funct::cos(), SiPixelRawToDigiRegional_cfi::deltaPhi, MillePedeFileConverter_cfg::e, JetChargeProducer_cfi::exp, edm::EventSetup::getData(), 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, SiStripPI::min, normalizedPhi(), L1TPhase2Offline_cfi::objects, HLTEGTnPMonitor_cfi::objs, VertexBeamspotOrigins::origins(), POINT_SEEDED, edm::Handle< T >::product(), mps_fire::result, funct::sin(), funct::tan(), theta(), token_field, token_msmaker, x, y, and z.
|
private |
Definition at line 372 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 374 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 373 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 375 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 368 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 364 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 361 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by regions().
|
private |
Definition at line 376 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 370 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 381 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 365 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 377 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 378 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().
|
private |
Definition at line 379 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by regions().
|
private |
Definition at line 380 of file CandidatePointSeededTrackingRegionsProducer.h.
Referenced by CandidatePointSeededTrackingRegionsProducer(), and regions().