#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_, chi2_cuts, chi2VsPtCut, clusterShapeHitFilterESToken_, detIdsToDebug, dphi, edm::ConsumesCollector::esConsumes(), edm::ParameterSet::exists(), filter, filterName_, edm::ParameterSet::getParameter(), 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 edm::ParameterSetDescription::add(), 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_FULL_cff::doublets, LogDebug, LogTrace, 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 hitSets(), 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(), RZLine::chi2(), HLT_FULL_cff::chi2, chi2_cuts, chi2VsPtCut, cloner, runTheMatrix::const, PixelRecoUtilities::curvature(), ThirdHitPredictionFromCircle::curvature(), declareDynArray, detIdsToDebug, DeadROC_duringRun::dir, dphi, relativeConstraints::empty, mayown_ptr< T, N >::empty(), PV3DBase< T, PVType, FrameType >::eta(), extraHitRPhitolerance, extraHitRZtolerance, extraPhiKDBox, extraRKDBox, extraZKDBox, validate-o2o-wbm::f, filter, fnSigmaRZ, TrajectoryStateOnSurface::globalMomentum(), HitDoublets::gp(), runTauDisplay::gp, hh, HitDoublets::hit(), mps_fire::i, IfLogTrace, HitDoublets::inner, HitDoublets::innerLayer(), RecHitsSortedInPhi::isBarrel, ClusterShapeHitFilter::isCompatible(), edm::isNotFinite(), mayown_ptr< T, N >::isOwn(), GetRecoTauVFromDQM_MC_cff::kk, phase1PixelTopology::layer, geometryCSVtoXML::line, LogTrace, M_PI, SiStripPI::max, maxChi2, gpuPixelDoublets::maxz, gpuPixelDoublets::minz, SiStripMatchedRecHit2D::monoCluster(), SiStripMatchedRecHit2D::monoId(), eostools::move(), nomField, normalizedPhi(), ProjectedSiStripRecHit2D::originalHit(), TrackingRegion::originRBound(), HitDoublets::outer, HitDoublets::outerLayer(), PV3DBase< T, PVType, FrameType >::perp(), ThirdHitPredictionFromCircle::phi(), PV3DBase< T, PVType, FrameType >::phi(), GeometricSearchDet::position(), proxim(), DiDispStaMuonMonitor_cfi::pt, pt_interv, TrackingRegion::ptMin(), CosmicsPD_Skims::radius, refit2Hits(), refitHits, mayown_ptr< T, N >::release(), mayown_ptr< T, N >::reset(), rho, FastCircle::rho(), OrderedMultiHits::size(), HitDoublets::size(), SiStripMatchedRecHit2D::stereoCluster(), SiStripMatchedRecHit2D::stereoId(), MultiHitGeneratorFromPairAndLayers::theMaxElement, SiStripDetId::TIB, SiStripDetId::TID, Geom::twoPi(), ufield, useFixedPreFiltering, and PV3DBase< T, PVType, FrameType >::z().
|
overridevirtual |
Implements MultiHitGeneratorFromPairAndLayers.
Definition at line 202 of file MultiHitGeneratorFromChi2.cc.
References MultiHitGeneratorFromPairAndLayers::cache, and hitSets().
|
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 IfLogTrace, nomField, TrackingRegion::origin(), fireworks::p1, fireworks::p2, PV3DBase< T, PVType, FrameType >::perp(), DiDispStaMuonMonitor_cfi::pt, submitPVResolutionJobs::q, 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().