#include <MultiHitGeneratorFromChi2.h>
Public Member Functions | |
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) | |
~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 73 of file MultiHitGeneratorFromChi2.h.
Definition at line 31 of file MultiHitGeneratorFromChi2.h.
MultiHitGeneratorFromChi2::MultiHitGeneratorFromChi2 | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 57 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_.
|
override |
Definition at line 101 of file MultiHitGeneratorFromChi2.cc.
|
static |
Definition at line 104 of file MultiHitGeneratorFromChi2.cc.
References edm::ParameterSetDescription::add(), MultiHitGeneratorFromPairAndLayers::fillDescriptions(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by MultiHitFromChi2EDProducer::fillDescriptions().
|
inlinestatic |
Definition at line 39 of file MultiHitGeneratorFromChi2.h.
References HiRegitMuonDetachedTripletStep_cff::doublets, ev, MultiHitGeneratorFromPairAndLayers::hitSets(), MultiHitGeneratorFromPairAndLayers::hitTriplets(), MultiHitGeneratorFromPairAndLayers::initES(), and mps_fire::result.
Referenced by MultiHitFromChi2EDProducer::fillDescriptions().
|
overridevirtual |
Implements MultiHitGeneratorFromPairAndLayers.
Definition at line 173 of file MultiHitGeneratorFromChi2.cc.
References MultiHitGeneratorFromPairAndLayers::cache, HiRegitMuonDetachedTripletStep_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 193 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 223 of file MultiHitGeneratorFromChi2.cc.
References RecHitsSortedInPhi::all(), angle(), TrajectoryStateOnSurface::charge(), vertices_cff::chi2, RZLine::chi2(), chi2_cuts, chi2VsPtCut, cloner, ThirdHitPredictionFromCircle::curvature(), PixelRecoUtilities::curvature(), declareDynArray, detIdsToDebug, dir, dphi, relativeConstraints::empty, mayown_ptr< T, N >::empty(), PV3DBase< T, PVType, FrameType >::eta(), extraHitRPhitolerance, extraHitRZtolerance, extraPhiKDBox, extraRKDBox, extraZKDBox, f, filter, objects.autophobj::float, fnSigmaRZ, TrajectoryStateOnSurface::globalMomentum(), HitDoublets::gp(), runTauDisplay::gp, 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, mps_splice::line, LogTrace, M_PI, SiStripPI::max, maxChi2, 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(), EnergyCorrector::pt, pt_interv, TrackingRegion::ptMin(), TCMET_cfi::radius, rpcPointValidation_cfi::recHit, refit2Hits(), refitHits, mayown_ptr< T, N >::release(), ProxyBase11< T >::reset(), mayown_ptr< T, N >::reset(), rho, FastCircle::rho(), OrderedMultiHits::size(), HitDoublets::size(), 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().
|
overridevirtual |
Implements MultiHitGeneratorFromPairAndLayers.
Definition at line 211 of file MultiHitGeneratorFromChi2.cc.
References MultiHitGeneratorFromPairAndLayers::cache, and hitSets().
|
overridevirtual |
Implements MultiHitGeneratorFromPairAndLayers.
Definition at line 135 of file MultiHitGeneratorFromChi2.cc.
References bfield, builder, builderName_, cloner, filter, filterName_, edm::EventSetup::get(), mfName_, nomField, MagneticField::nominalValue(), edm::ESHandle< T >::product(), refitHits, edm::second(), UniformMagneticField::set(), ufield, and useSimpleMF_.
Referenced by MultiHitFromChi2EDProducer::produce().
|
private |
Definition at line 661 of file MultiHitGeneratorFromChi2.cc.
References IfLogTrace, nomField, TrackingRegion::origin(), p1, p2, PV3DBase< T, PVType, FrameType >::perp(), EnergyCorrector::pt, lumiQueryAPI::q, 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 101 of file MultiHitGeneratorFromChi2.h.
Referenced by initES(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 91 of file MultiHitGeneratorFromChi2.h.
Referenced by initES().
|
private |
Definition at line 111 of file MultiHitGeneratorFromChi2.h.
Referenced by initES().
|
private |
Definition at line 108 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 92 of file MultiHitGeneratorFromChi2.h.
|
private |
Definition at line 116 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 100 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
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 99 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 98 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 97 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 90 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 110 of file MultiHitGeneratorFromChi2.h.
Referenced by initES().
|
private |
Definition at line 104 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 106 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets().
|
private |
Definition at line 114 of file MultiHitGeneratorFromChi2.h.
Referenced by initES(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 103 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), initES(), MultiHitGeneratorFromChi2(), and refit2Hits().
|
private |
Definition at line 104 of file MultiHitGeneratorFromChi2.h.
|
private |
Definition at line 104 of file MultiHitGeneratorFromChi2.h.
|
private |
Definition at line 107 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 109 of file MultiHitGeneratorFromChi2.h.
|
private |
Definition at line 102 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), initES(), and refit2Hits().
|
private |
Definition at line 94 of file MultiHitGeneratorFromChi2.h.
Referenced by hitSets(), and MultiHitGeneratorFromChi2().
|
private |
Definition at line 113 of file MultiHitGeneratorFromChi2.h.
Referenced by initES(), and MultiHitGeneratorFromChi2().