#include <MultiHitGeneratorFromChi2.h>
Private Types | |
using | HitOwnPtr = mayown_ptr< BaseTrackerRecHit > |
typedef CombinedMultiHitGenerator::LayerCacheType | LayerCacheType |
Private Member Functions | |
bool | checkPhiInRange (float phi, float phi1, float phi2) const |
std::pair< float, float > | mergePhiRanges (const std::pair< float, float > &r1, const std::pair< float, float > &r2) const |
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 |
bool | debug |
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 |
LayerCacheType * | theLayerCache |
std::vector < SeedingLayerSetsHits::SeedingLayer > | theLayers |
HitPairGenerator * | thePairGenerator |
bool | useFixedPreFiltering |
bool | useSimpleMF_ |
Additional Inherited Members | |
Public Types inherited from MultiHitGeneratorFromPairAndLayers | |
typedef LayerHitMapCache | LayerCacheType |
Public Attributes inherited from OrderedHitsGenerator | |
unsigned int | theMaxElement |
Protected Types inherited from MultiHitGenerator | |
using | cacheHitPointer = std::unique_ptr< BaseTrackerRecHit > |
using | cacheHits = std::vector< cacheHitPointer > |
Protected Attributes inherited from MultiHitGenerator | |
cacheHits | cache |
A MultiHitGenerator from HitPairGenerator and vector of Layers. The HitPairGenerator provides a set of hit pairs. For each pair the search for compatible hit(s) is done among provided Layers
Definition at line 27 of file MultiHitGeneratorFromChi2.h.
|
private |
Definition at line 49 of file MultiHitGeneratorFromChi2.h.
Definition at line 29 of file MultiHitGeneratorFromChi2.h.
MultiHitGeneratorFromChi2::MultiHitGeneratorFromChi2 | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 50 of file MultiHitGeneratorFromChi2.cc.
References bfield, chi2_cuts, chi2VsPtCut, debug, detIdsToDebug, dphi, edm::ParameterSet::exists(), filter, edm::ParameterSet::getParameter(), mfName_, nomField, pt_interv, AlCaHLTBitMon_QueryRunRegistry::string, OrderedHitsGenerator::theMaxElement, useFixedPreFiltering, and useSimpleMF_.
|
inlinevirtual |
Definition at line 34 of file MultiHitGeneratorFromChi2.h.
References thePairGenerator.
|
private |
Definition at line 644 of file MultiHitGeneratorFromChi2.cc.
References M_PI.
|
virtual |
Implements MultiHitGenerator.
Definition at line 143 of file MultiHitGeneratorFromChi2.cc.
References RecHitsSortedInPhi::all(), angle(), GeomDetEnumerators::barrel, bfield, KDTreeLinkerAlgo< DATA >::build(), MultiHitGenerator::cache, RZLine::chi2(), chi2_cuts, chi2VsPtCut, cloner, gather_cfg::cout, ThirdHitPredictionFromCircle::curvature(), PixelRecoUtilities::curvature(), debug, detIdsToDebug, dphi, relativeConstraints::empty, mayown_ptr< T, N >::empty(), ev, extraHitRPhitolerance, extraHitRZtolerance, extraPhiKDBox, extraRKDBox, extraZKDBox, filter, RZLine::fit(), fnSigmaRZ, ClusterShapeHitFilter::isCompatible(), edm::isNotFinite(), mayown_ptr< T, N >::isOwn(), geometryCSVtoXML::line, TrajectoryStateOnSurface::localMomentum(), DetLayer::location(), M_PI, bookConverter::max, maxChi2, SiStripMatchedRecHit2D::monoCluster(), SiStripMatchedRecHit2D::monoId(), mergeVDriftHistosByStation::name, nomField, ProjectedSiStripRecHit2D::originalHit(), TrackingRegion::originRBound(), filesave_online::pairs, PV3DBase< T, PVType, FrameType >::perp(), ThirdHitPredictionFromCircle::phi(), Geom::pi(), PixelSubdetector::PixelBarrel, RecoTauCleanerPlugins::pt, pt_interv, TrackingRegion::ptMin(), CosmicsPD_Skims::radius, refit2Hits(), refitHits, mayown_ptr< T, N >::release(), mayown_ptr< T, N >::reset(), ProxyBase11< T >::reset(), rho, KDTreeLinkerAlgo< DATA >::search(), OrderedMultiHits::size(), OrderedHitPairs::size(), findQualityFiles::size, SiStripMatchedRecHit2D::stereoCluster(), SiStripMatchedRecHit2D::stereoId(), theLayers, OrderedHitsGenerator::theMaxElement, thePairGenerator, StripSubdetector::TIB, SiStripDetId::TIB, SiStripDetId::TID, StripSubdetector::TOB, Geom::twoPi(), unlikely, useFixedPreFiltering, and PV3DBase< T, PVType, FrameType >::z().
|
overridevirtual |
Implements MultiHitGeneratorFromPairAndLayers.
Definition at line 97 of file MultiHitGeneratorFromChi2.cc.
References HitPairGenerator::clone(), theLayerCache, and thePairGenerator.
|
overridevirtual |
Implements MultiHitGeneratorFromPairAndLayers.
Definition at line 104 of file MultiHitGeneratorFromChi2.cc.
References bfield, builder, builderName_, cloner, filter, filterName_, edm::EventSetup::get(), mfName_, nomField, MagneticField::nominalValue(), edm::ESHandle< class >::product(), and useSimpleMF_.
|
private |
Definition at line 651 of file MultiHitGeneratorFromChi2.cc.
References M_PI, bookConverter::max, and min().
|
inline |
Definition at line 46 of file MultiHitGeneratorFromChi2.h.
References thePairGenerator.
|
private |
Definition at line 661 of file MultiHitGeneratorFromChi2.cc.
References bfield, cloner, gather_cfg::cout, PV3DBase< T, PVType, FrameType >::eta(), TrajectoryStateOnSurface::globalMomentum(), nomField, TrackingRegion::origin(), p1, p2, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), RecoTauCleanerPlugins::pt, lumiQueryAPI::q, mayown_ptr< T, N >::reset(), rho, FastCircle::rho(), funct::tan(), PV3DBase< T, PVType, FrameType >::theta(), x, PV3DBase< T, PVType, FrameType >::x(), FastCircle::x0(), detailsBasic3DVector::y, PV3DBase< T, PVType, FrameType >::y(), and FastCircle::y0().
Referenced by hitSets().
|
overridevirtual |
Implements MultiHitGeneratorFromPairAndLayers.
Definition at line 123 of file MultiHitGeneratorFromChi2.cc.
References HitPairGenerator::setSeedingLayers(), theLayers, and thePairGenerator.
|
private |
Definition at line 84 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), initES(), MultiHitGeneratorFromChi2(), and refit2Hits().
|
private |
Definition at line 74 of file MultiHitGeneratorFromChi2.h.
Referenced by initES().
|
private |
Definition at line 94 of file MultiHitGeneratorFromChi2.h.
Referenced by initES().
|
private |
Definition at line 90 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 87 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 75 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), initES(), and refit2Hits().
|
private |
Definition at line 92 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 99 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 83 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 79 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 78 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 82 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 81 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 80 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 73 of file MultiHitGeneratorFromChi2.h.
Referenced by Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filter(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), hitSets(), initES(), MultiHitGeneratorFromChi2(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setDataAccessor(), and Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView().
|
private |
Definition at line 93 of file MultiHitGeneratorFromChi2.h.
Referenced by initES().
|
private |
Definition at line 86 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 88 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 97 of file MultiHitGeneratorFromChi2.h.
Referenced by initES(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 85 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), initES(), MultiHitGeneratorFromChi2(), and refit2Hits().
|
private |
Definition at line 86 of file MultiHitGeneratorFromChi2.h.
|
private |
Definition at line 86 of file MultiHitGeneratorFromChi2.h.
|
private |
Definition at line 89 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 91 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 72 of file MultiHitGeneratorFromChi2.h.
Referenced by init().
|
private |
Definition at line 71 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and setSeedingLayers().
|
private |
Definition at line 70 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), init(), pairGenerator(), setSeedingLayers(), and ~MultiHitGeneratorFromChi2().
|
private |
Definition at line 77 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 96 of file MultiHitGeneratorFromChi2.h.
Referenced by initES(), and MultiHitGeneratorFromChi2().