#include <MultiHitGeneratorFromChi2.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ParameterSetDescription &desc) |
static const char * | fillDescriptionsLabel () |
Static Public Member Functions inherited from MultiHitGeneratorFromPairAndLayers | |
static void | fillDescriptions (edm::ParameterSetDescription &desc) |
Private Types | |
using | HitOwnPtr = mayown_ptr< BaseTrackerRecHit > |
typedef CombinedMultiHitGenerator::LayerCacheType | LayerCacheType |
Private Member Functions | |
void | refit2Hits (HitOwnPtr &hit0, HitOwnPtr &hit1, TrajectoryStateOnSurface &tsos0, TrajectoryStateOnSurface &tsos1, const TrackingRegion ®ion, float nomField, bool isDebug) |
Private Attributes | |
const MagneticField * | bfield |
TkTransientTrackingRecHitBuilder const * | builder |
std::string | builderName_ |
std::vector< double > | chi2_cuts |
bool | chi2VsPtCut |
TkClonerImpl | cloner |
edm::ESGetToken< ClusterShapeHitFilter, CkfComponentsRecord > | clusterShapeHitFilterESToken_ |
std::vector< int > | detIdsToDebug |
float | dphi |
float | extraHitRPhitolerance |
float | extraHitRZtolerance |
float | extraPhiKDBox |
float | extraRKDBox |
float | extraZKDBox |
const ClusterShapeHitFilter * | filter |
std::string | filterName_ |
double | fnSigmaRZ |
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | magneticFieldESToken_ |
double | maxChi2 |
std::string | mfName_ |
float | nomField |
double | nSigmaPhi |
double | nSigmaRZ |
std::vector< double > | pt_interv |
bool | refitHits |
edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > | transientTrackingRecHitBuilderESToken_ |
UniformMagneticField | ufield = 0. |
bool | useFixedPreFiltering |
bool | useSimpleMF_ |
Additional Inherited Members | |
Public Types inherited from MultiHitGeneratorFromPairAndLayers | |
typedef LayerHitMapCache | LayerCacheType |
Protected Types inherited from MultiHitGeneratorFromPairAndLayers | |
using | cacheHitPointer = std::unique_ptr< BaseTrackerRecHit > |
using | cacheHits = std::vector< cacheHitPointer > |
Protected Attributes inherited from MultiHitGeneratorFromPairAndLayers | |
cacheHits | cache |
LayerCacheType * | theLayerCache |
const unsigned int | theMaxElement |
std::unique_ptr< HitPairGeneratorFromLayerPair > | thePairGenerator |
Definition at line 36 of file MultiHitGeneratorFromChi2.h.
|
private |
Definition at line 81 of file MultiHitGeneratorFromChi2.h.
Definition at line 37 of file MultiHitGeneratorFromChi2.h.
|
inline |
Definition at line 40 of file MultiHitGeneratorFromChi2.h.
MultiHitGeneratorFromChi2::MultiHitGeneratorFromChi2 | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 49 of file MultiHitGeneratorFromChi2.cc.
References bfield, builderName_, looper::cfg, chi2_cuts, chi2VsPtCut, clusterShapeHitFilterESToken_, detIdsToDebug, dphi, edm::ConsumesCollector::esConsumes(), filter, filterName_, magneticFieldESToken_, mfName_, nomField, pt_interv, refitHits, AlCaHLTBitMon_QueryRunRegistry::string, transientTrackingRecHitBuilderESToken_, useFixedPreFiltering, and useSimpleMF_.
|
override |
Definition at line 107 of file MultiHitGeneratorFromChi2.cc.
|
static |
Definition at line 109 of file MultiHitGeneratorFromChi2.cc.
References submitPVResolutionJobs::desc, MultiHitGeneratorFromPairAndLayers::fillDescriptions(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by MultiHitFromChi2EDProducer::fillDescriptions().
|
inlinestatic |
Definition at line 47 of file MultiHitGeneratorFromChi2.h.
Referenced by MultiHitFromChi2EDProducer::fillDescriptions().
|
overridevirtual |
Implements MultiHitGeneratorFromPairAndLayers.
Definition at line 164 of file MultiHitGeneratorFromChi2.cc.
References cms::cuda::assert(), MultiHitGeneratorFromPairAndLayers::cache, HLT_2023v11_cff::doublets, makeMEIFBenchmarkPlots::ev, LogDebug, LogTrace, HLT_2023v11_cff::region, mps_fire::result, MultiHitGeneratorFromPairAndLayers::theLayerCache, and MultiHitGeneratorFromPairAndLayers::thePairGenerator.
Referenced by hitSets(), hitTriplets(), and MultiHitFromChi2EDProducer::produce().
void MultiHitGeneratorFromChi2::hitSets | ( | const TrackingRegion & | region, |
OrderedMultiHits & | trs, | ||
const HitDoublets & | doublets, | ||
const std::vector< SeedingLayerSetsHits::SeedingLayer > & | thirdLayers, | ||
LayerCacheType & | layerCache, | ||
cacheHits & | refittedHitStorage | ||
) |
Definition at line 185 of file MultiHitGeneratorFromChi2.cc.
References HLT_2023v11_cff::doublets, hitSets(), HLT_2023v11_cff::region, mps_fire::result, and findQualityFiles::size.
void MultiHitGeneratorFromChi2::hitSets | ( | const TrackingRegion & | region, |
OrderedMultiHits & | result, | ||
const HitDoublets & | doublets, | ||
const RecHitsSortedInPhi ** | thirdHitMap, | ||
const std::vector< const DetLayer *> & | thirdLayerDetLayer, | ||
const int | nThirdLayers, | ||
cacheHits & | refittedHitStorage | ||
) |
Definition at line 211 of file MultiHitGeneratorFromChi2.cc.
References RecHitsSortedInPhi::all(), angle(), cms::cuda::assert(), bfield, TrajectoryStateOnSurface::charge(), hltPixelTracks_cff::chi2, RZLine::chi2(), chi2_cuts, chi2VsPtCut, cloner, runTheMatrix::const, PixelRecoUtilities::curvature(), ThirdHitPredictionFromCircle::curvature(), declareDynArray, detIdsToDebug, DeadROC_duringRun::dir, HLT_2023v11_cff::doublets, dphi, relativeConstraints::empty, mayown_ptr< T, N >::empty(), PV3DBase< T, PVType, FrameType >::eta(), extraHitRPhitolerance, extraHitRZtolerance, extraPhiKDBox, extraRKDBox, extraZKDBox, f, filter, dqmMemoryStats::float, fnSigmaRZ, TrajectoryStateOnSurface::globalMomentum(), runTauDisplay::gp, hh, mps_fire::i, IfLogTrace, HitDoublets::inner, RecHitsSortedInPhi::isBarrel, ClusterShapeHitFilter::isCompatible(), edm::isNotFinite(), mayown_ptr< T, N >::isOwn(), GetRecoTauVFromDQM_MC_cff::kk, pixelTopology::layer, mps_splice::line, LogTrace, M_PI, SiStripPI::max, maxChi2, phase1PixelTopology::maxz, MTVHistoProducerAlgoForTrackerBlock_cfi::minChi2, phase1PixelTopology::minz, SiStripMatchedRecHit2D::monoCluster(), SiStripMatchedRecHit2D::monoId(), eostools::move(), nomField, normalizedPhi(), ProjectedSiStripRecHit2D::originalHit(), HitDoublets::outer, PV3DBase< T, PVType, FrameType >::perp(), ThirdHitPredictionFromCircle::phi(), PV3DBase< T, PVType, FrameType >::phi(), proxim(), DiDispStaMuonMonitor_cfi::pt, pt_interv, CosmicsPD_Skims::radius, rpcPointValidation_cfi::recHit, refit2Hits(), refitHits, HLT_2023v11_cff::region, mayown_ptr< T, N >::release(), mayown_ptr< T, N >::reset(), mps_fire::result, rho, FastCircle::rho(), SiStripMatchedRecHit2D::stereoCluster(), SiStripMatchedRecHit2D::stereoId(), MultiHitGeneratorFromPairAndLayers::theMaxElement, SiStripDetId::TIB, SiStripDetId::TID, Geom::twoPi(), mitigatedMETSequence_cff::U, ufield, useFixedPreFiltering, and PV3DBase< T, PVType, FrameType >::z().
|
overridevirtual |
Implements MultiHitGeneratorFromPairAndLayers.
Definition at line 202 of file MultiHitGeneratorFromChi2.cc.
References MultiHitGeneratorFromPairAndLayers::cache, HLT_2023v11_cff::doublets, hitSets(), HLT_2023v11_cff::region, and mps_fire::result.
|
overridevirtual |
Implements MultiHitGeneratorFromPairAndLayers.
Definition at line 139 of file MultiHitGeneratorFromChi2.cc.
References bfield, builder, cloner, clusterShapeHitFilterESToken_, filter, edm::EventSetup::getData(), magneticFieldESToken_, nomField, MagneticField::nominalValue(), refitHits, UniformMagneticField::set(), transientTrackingRecHitBuilderESToken_, and ufield.
Referenced by MultiHitFromChi2EDProducer::produce().
|
private |
Definition at line 677 of file MultiHitGeneratorFromChi2.cc.
References gpuPixelDoublets::cc, IfLogTrace, nomField, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, PV3DBase< T, PVType, FrameType >::perp(), DiDispStaMuonMonitor_cfi::pt, submitPVResolutionJobs::q, HLT_2023v11_cff::region, rho, FastCircle::rho(), edm::swap(), ufield, PV3DBase< T, PVType, FrameType >::x(), FastCircle::x0(), y, PV3DBase< T, PVType, FrameType >::y(), FastCircle::y0(), PV3DBase< T, PVType, FrameType >::z(), and gpuVertexFinder::zv.
Referenced by hitSets().
|
private |
Definition at line 111 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), initES(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 101 of file MultiHitGeneratorFromChi2.h.
Referenced by initES().
|
private |
Definition at line 121 of file MultiHitGeneratorFromChi2.h.
Referenced by MultiHitGeneratorFromChi2().
|
private |
Definition at line 118 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 115 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 102 of file MultiHitGeneratorFromChi2.h.
|
private |
Definition at line 129 of file MultiHitGeneratorFromChi2.h.
Referenced by initES(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 126 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 110 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 106 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 105 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 109 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 108 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 107 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 100 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), initES(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 120 of file MultiHitGeneratorFromChi2.h.
Referenced by MultiHitGeneratorFromChi2().
|
private |
Definition at line 114 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 128 of file MultiHitGeneratorFromChi2.h.
Referenced by initES(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 116 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 124 of file MultiHitGeneratorFromChi2.h.
Referenced by MultiHitGeneratorFromChi2().
|
private |
Definition at line 113 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), initES(), MultiHitGeneratorFromChi2(), and refit2Hits().
|
private |
Definition at line 114 of file MultiHitGeneratorFromChi2.h.
|
private |
Definition at line 114 of file MultiHitGeneratorFromChi2.h.
|
private |
Definition at line 117 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 119 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), initES(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 130 of file MultiHitGeneratorFromChi2.h.
Referenced by initES(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 112 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), initES(), and refit2Hits().
|
private |
Definition at line 104 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 123 of file MultiHitGeneratorFromChi2.h.
Referenced by MultiHitGeneratorFromChi2().