#include <MultiHitGeneratorFromChi2.h>
Public Member Functions | |
virtual 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 | 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 &result, const edm::EventSetup &es, const HitDoublets &doublets, const RecHitsSortedInPhi **thirdHitMap, const std::vector< const DetLayer * > &thirdLayerDetLayer, const int nThirdLayers, cacheHits &refittedHitStorage) |
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) | |
virtual | ~MultiHitGeneratorFromChi2 () |
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 |
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 27 of file MultiHitGeneratorFromChi2.h.
|
private |
Definition at line 71 of file MultiHitGeneratorFromChi2.h.
Definition at line 29 of file MultiHitGeneratorFromChi2.h.
MultiHitGeneratorFromChi2::MultiHitGeneratorFromChi2 | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 68 of file MultiHitGeneratorFromChi2.cc.
References bfield, chi2_cuts, chi2VsPtCut, detIdsToDebug, dphi, edm::ParameterSet::exists(), filter, edm::ParameterSet::getParameter(), mfName_, nomField, pt_interv, AlCaHLTBitMon_QueryRunRegistry::string, useFixedPreFiltering, and useSimpleMF_.
|
virtual |
Definition at line 112 of file MultiHitGeneratorFromChi2.cc.
|
static |
Definition at line 115 of file MultiHitGeneratorFromChi2.cc.
References edm::ParameterSetDescription::add(), MultiHitGeneratorFromPairAndLayers::fillDescriptions(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by MultiHitFromChi2EDProducer::fillDescriptions().
|
inlinestatic |
Definition at line 37 of file MultiHitGeneratorFromChi2.h.
Referenced by MultiHitFromChi2EDProducer::fillDescriptions().
|
overridevirtual |
Implements MultiHitGeneratorFromPairAndLayers.
Definition at line 183 of file MultiHitGeneratorFromChi2.cc.
References assert(), MultiHitGeneratorFromPairAndLayers::cache, DetachedQuadStep_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 edm::Event & | ev, | ||
const edm::EventSetup & | es, | ||
const HitDoublets & | doublets, | ||
const std::vector< SeedingLayerSetsHits::SeedingLayer > & | thirdLayers, | ||
LayerCacheType & | layerCache, | ||
cacheHits & | refittedHitStorage | ||
) |
Definition at line 203 of file MultiHitGeneratorFromChi2.cc.
References hitSets(), and findQualityFiles::size.
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 233 of file MultiHitGeneratorFromChi2.cc.
References RecHitsSortedInPhi::all(), angle(), assert(), GeomDetEnumerators::barrel, bfield, RZLine::chi2(), beam_dqm_sourceclient-live_cfg::chi2, chi2_cuts, chi2VsPtCut, cloner, ThirdHitPredictionFromCircle::curvature(), PixelRecoUtilities::curvature(), declareDynArray, detIdsToDebug, dphi, relativeConstraints::empty, mayown_ptr< T, N >::empty(), extraHitRPhitolerance, extraHitRZtolerance, extraPhiKDBox, extraRKDBox, extraZKDBox, f, filter, fnSigmaRZ, runTauDisplay::gp, HitDoublets::hit(), IfLogTrace, HitDoublets::inner, ClusterShapeHitFilter::isCompatible(), edm::isNotFinite(), mayown_ptr< T, N >::isOwn(), geometryCSVtoXML::line, TrajectoryStateOnSurface::localMomentum(), DetLayer::location(), LogTrace, M_PI, bookConverter::max, maxChi2, SiStripMatchedRecHit2D::monoCluster(), SiStripMatchedRecHit2D::monoId(), eostools::move(), nomField, normalizedPhi(), ProjectedSiStripRecHit2D::originalHit(), TrackingRegion::originRBound(), HitDoublets::outer, PV3DBase< T, PVType, FrameType >::perp(), ThirdHitPredictionFromCircle::phi(), PixelSubdetector::PixelBarrel, GeometricSearchDet::position(), proxim(), EnergyCorrector::pt, pt_interv, TrackingRegion::ptMin(), CosmicsPD_Skims::radius, refit2Hits(), refitHits, mayown_ptr< T, N >::release(), ProxyBase11< T >::reset(), mayown_ptr< T, N >::reset(), rho, OrderedMultiHits::size(), HitDoublets::size(), SiStripMatchedRecHit2D::stereoCluster(), SiStripMatchedRecHit2D::stereoId(), MultiHitGeneratorFromPairAndLayers::theMaxElement, StripSubdetector::TIB, SiStripDetId::TIB, SiStripDetId::TID, StripSubdetector::TOB, Geom::twoPi(), useFixedPreFiltering, and PV3DBase< T, PVType, FrameType >::z().
|
overridevirtual |
Implements MultiHitGeneratorFromPairAndLayers.
Definition at line 221 of file MultiHitGeneratorFromChi2.cc.
References MultiHitGeneratorFromPairAndLayers::cache, and hitSets().
|
overridevirtual |
Implements MultiHitGeneratorFromPairAndLayers.
Definition at line 146 of file MultiHitGeneratorFromChi2.cc.
References bfield, builder, builderName_, cloner, filter, filterName_, edm::EventSetup::get(), mfName_, nomField, MagneticField::nominalValue(), edm::ESHandle< class >::product(), refitHits, and useSimpleMF_.
Referenced by MultiHitFromChi2EDProducer::produce().
|
private |
Definition at line 707 of file MultiHitGeneratorFromChi2.cc.
References bfield, cloner, PV3DBase< T, PVType, FrameType >::eta(), TrajectoryStateOnSurface::globalMomentum(), IfLogTrace, nomField, TrackingRegion::origin(), p1, p2, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), EnergyCorrector::pt, lumiQueryAPI::q, mayown_ptr< T, N >::reset(), rho, FastCircle::rho(), 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 99 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), initES(), MultiHitGeneratorFromChi2(), and refit2Hits().
|
private |
Definition at line 89 of file MultiHitGeneratorFromChi2.h.
Referenced by initES().
|
private |
Definition at line 108 of file MultiHitGeneratorFromChi2.h.
Referenced by initES().
|
private |
Definition at line 105 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 102 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 90 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), initES(), and refit2Hits().
|
private |
Definition at line 113 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 98 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 94 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 93 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 97 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 96 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 95 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 88 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 107 of file MultiHitGeneratorFromChi2.h.
Referenced by initES().
|
private |
Definition at line 101 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 103 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 111 of file MultiHitGeneratorFromChi2.h.
Referenced by initES(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 100 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), initES(), MultiHitGeneratorFromChi2(), and refit2Hits().
|
private |
Definition at line 101 of file MultiHitGeneratorFromChi2.h.
|
private |
Definition at line 101 of file MultiHitGeneratorFromChi2.h.
|
private |
Definition at line 104 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 106 of file MultiHitGeneratorFromChi2.h.
|
private |
Definition at line 92 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 110 of file MultiHitGeneratorFromChi2.h.
Referenced by initES(), and MultiHitGeneratorFromChi2().