#include <MultiHitGeneratorFromChi2.h>
Public Member Functions | |
void | hitSets (const TrackingRegion ®ion, OrderedMultiHits &result, const edm::EventSetup &es, const HitDoublets &doublets, const RecHitsSortedInPhi **thirdHitMap, const std::vector< const DetLayer * > &thirdLayerDetLayer, const int nThirdLayers, cacheHits &refittedHitStorage) |
void | hitSets (const TrackingRegion ®ion, OrderedMultiHits &trs, const edm::Event &ev, const edm::EventSetup &es, const HitDoublets &doublets, const std::vector< SeedingLayerSetsHits::SeedingLayer > &thirdLayers, LayerCacheType &layerCache, cacheHits &refittedHitStorage) |
void | hitSets (const TrackingRegion ®ion, OrderedMultiHits &trs, const edm::Event &ev, const edm::EventSetup &es, SeedingLayerSetsHits::SeedingLayerSet pairLayers, std::vector< SeedingLayerSetsHits::SeedingLayer > thirdLayers) override |
void | hitTriplets (const TrackingRegion ®ion, OrderedMultiHits &result, const edm::EventSetup &es, const HitDoublets &doublets, const RecHitsSortedInPhi **thirdHitMap, const std::vector< const DetLayer * > &thirdLayerDetLayer, const int nThirdLayers) override |
void | initES (const edm::EventSetup &es) override |
MultiHitGeneratorFromChi2 (const edm::ParameterSet &cfg) | |
~MultiHitGeneratorFromChi2 () override | |
Public Member Functions inherited from MultiHitGeneratorFromPairAndLayers | |
void | clear () |
void | init (std::unique_ptr< HitPairGeneratorFromLayerPair > &&pairGenerator, LayerCacheType *layerCache) |
MultiHitGeneratorFromPairAndLayers (const edm::ParameterSet &pset) | |
const HitPairGeneratorFromLayerPair & | pairGenerator () const |
virtual | ~MultiHitGeneratorFromPairAndLayers () |
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 |
std::vector< int > | detIdsToDebug |
float | dphi |
float | extraHitRPhitolerance |
float | extraHitRZtolerance |
float | extraPhiKDBox |
float | extraRKDBox |
float | extraZKDBox |
const ClusterShapeHitFilter * | filter |
std::string | filterName_ |
double | fnSigmaRZ |
double | maxChi2 |
std::string | mfName_ |
float | nomField |
double | nSigmaPhi |
double | nSigmaRZ |
std::vector< double > | pt_interv |
bool | refitHits |
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 29 of file MultiHitGeneratorFromChi2.h.
|
private |
Definition at line 76 of file MultiHitGeneratorFromChi2.h.
Definition at line 30 of file MultiHitGeneratorFromChi2.h.
MultiHitGeneratorFromChi2::MultiHitGeneratorFromChi2 | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 54 of file MultiHitGeneratorFromChi2.cc.
References bfield, looper::cfg, chi2_cuts, chi2VsPtCut, detIdsToDebug, dphi, filter, mfName_, nomField, pt_interv, AlCaHLTBitMon_QueryRunRegistry::string, useFixedPreFiltering, and useSimpleMF_.
|
override |
Definition at line 103 of file MultiHitGeneratorFromChi2.cc.
|
static |
Definition at line 105 of file MultiHitGeneratorFromChi2.cc.
References submitPVResolutionJobs::desc, MultiHitGeneratorFromPairAndLayers::fillDescriptions(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by MultiHitFromChi2EDProducer::fillDescriptions().
|
inlinestatic |
Definition at line 38 of file MultiHitGeneratorFromChi2.h.
Referenced by MultiHitFromChi2EDProducer::fillDescriptions().
void MultiHitGeneratorFromChi2::hitSets | ( | const TrackingRegion & | region, |
OrderedMultiHits & | result, | ||
const edm::EventSetup & | es, | ||
const HitDoublets & | doublets, | ||
const RecHitsSortedInPhi ** | thirdHitMap, | ||
const std::vector< const DetLayer * > & | thirdLayerDetLayer, | ||
const int | nThirdLayers, | ||
cacheHits & | refittedHitStorage | ||
) |
Definition at line 219 of file MultiHitGeneratorFromChi2.cc.
References RecHitsSortedInPhi::all(), angle(), cms::cuda::assert(), TrajectoryStateOnSurface::charge(), hltPixelTracks_cff::chi2, RZLine::chi2(), chi2_cuts, chi2VsPtCut, cloner, ThirdHitPredictionFromCircle::curvature(), PixelRecoUtilities::curvature(), declareDynArray, detIdsToDebug, DeadROC_duringRun::dir, HLT_FULL_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, mps_fire::i, IfLogTrace, HitDoublets::inner, RecHitsSortedInPhi::isBarrel, ClusterShapeHitFilter::isCompatible(), edm::isNotFinite(), mayown_ptr< T, N >::isOwn(), GetRecoTauVFromDQM_MC_cff::kk, mps_splice::line, LogTrace, M_PI, SiStripPI::max, maxChi2, SiStripMatchedRecHit2D::monoCluster(), SiStripMatchedRecHit2D::monoId(), eostools::move(), nomField, normalizedPhi(), ProjectedSiStripRecHit2D::originalHit(), HitDoublets::outer, PV3DBase< T, PVType, FrameType >::perp(), ThirdHitPredictionFromCircle::phi(), PV3DBase< T, PVType, FrameType >::phi(), GeometricSearchDet::position(), proxim(), DiDispStaMuonMonitor_cfi::pt, pt_interv, CosmicsPD_Skims::radius, rpcPointValidation_cfi::recHit, refit2Hits(), refitHits, HLT_FULL_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, RecHitsSortedInPhi::v, and PV3DBase< T, PVType, FrameType >::z().
void MultiHitGeneratorFromChi2::hitSets | ( | const TrackingRegion & | region, |
OrderedMultiHits & | trs, | ||
const edm::Event & | ev, | ||
const edm::EventSetup & | es, | ||
const HitDoublets & | doublets, | ||
const std::vector< SeedingLayerSetsHits::SeedingLayer > & | thirdLayers, | ||
LayerCacheType & | layerCache, | ||
cacheHits & | refittedHitStorage | ||
) |
Definition at line 190 of file MultiHitGeneratorFromChi2.cc.
References HLT_FULL_cff::doublets, hitSets(), HLT_FULL_cff::region, mps_fire::result, and findQualityFiles::size.
|
overridevirtual |
Implements MultiHitGeneratorFromPairAndLayers.
Definition at line 169 of file MultiHitGeneratorFromChi2.cc.
References cms::cuda::assert(), MultiHitGeneratorFromPairAndLayers::cache, HLT_FULL_cff::doublets, ev, LogDebug, LogTrace, HLT_FULL_cff::region, mps_fire::result, MultiHitGeneratorFromPairAndLayers::theLayerCache, and MultiHitGeneratorFromPairAndLayers::thePairGenerator.
Referenced by hitSets(), hitTriplets(), and MultiHitFromChi2EDProducer::produce().
|
overridevirtual |
Implements MultiHitGeneratorFromPairAndLayers.
Definition at line 209 of file MultiHitGeneratorFromChi2.cc.
References MultiHitGeneratorFromPairAndLayers::cache, HLT_FULL_cff::doublets, hitSets(), HLT_FULL_cff::region, and mps_fire::result.
|
overridevirtual |
Implements MultiHitGeneratorFromPairAndLayers.
Definition at line 135 of file MultiHitGeneratorFromChi2.cc.
References bfield, builder, builderName_, cloner, filter, filterName_, edm::EventSetup::get(), get, mfName_, nomField, MagneticField::nominalValue(), edm::ESHandle< T >::product(), refitHits, UniformMagneticField::set(), ufield, and useSimpleMF_.
Referenced by MultiHitFromChi2EDProducer::produce().
|
private |
Definition at line 686 of file MultiHitGeneratorFromChi2.cc.
References IfLogTrace, nomField, p1, p2, PV3DBase< T, PVType, FrameType >::perp(), DiDispStaMuonMonitor_cfi::pt, submitPVResolutionJobs::q, HLT_FULL_cff::region, rho, FastCircle::rho(), edm::swap(), ufield, PV3DBase< T, PVType, FrameType >::x(), FastCircle::x0(), y, PV3DBase< T, PVType, FrameType >::y(), FastCircle::y0(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by hitSets().
|
private |
Definition at line 106 of file MultiHitGeneratorFromChi2.h.
Referenced by initES(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 96 of file MultiHitGeneratorFromChi2.h.
Referenced by initES().
|
private |
Definition at line 116 of file MultiHitGeneratorFromChi2.h.
Referenced by initES().
|
private |
Definition at line 113 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 97 of file MultiHitGeneratorFromChi2.h.
|
private |
Definition at line 121 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 105 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 101 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 100 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 104 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 103 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 102 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 95 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), initES(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 115 of file MultiHitGeneratorFromChi2.h.
Referenced by initES().
|
private |
Definition at line 109 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 111 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 119 of file MultiHitGeneratorFromChi2.h.
Referenced by initES(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 108 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), initES(), MultiHitGeneratorFromChi2(), and refit2Hits().
|
private |
Definition at line 109 of file MultiHitGeneratorFromChi2.h.
|
private |
Definition at line 109 of file MultiHitGeneratorFromChi2.h.
|
private |
Definition at line 112 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 114 of file MultiHitGeneratorFromChi2.h.
|
private |
Definition at line 107 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), initES(), and refit2Hits().
|
private |
Definition at line 99 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 118 of file MultiHitGeneratorFromChi2.h.
Referenced by initES(), and MultiHitGeneratorFromChi2().