#include <LayerHitMapCache.h>
Classes | |
class | SimpleCache |
Public Member Functions | |
RecHitsSortedInPhi * | add (const SeedingLayerSetsHits::SeedingLayer &layer, std::unique_ptr< RecHitsSortedInPhi > hits) |
void | clear () |
void | extend (const LayerHitMapCache &other) |
LayerHitMapCache (unsigned int initSize=50) | |
LayerHitMapCache (LayerHitMapCache &&)=default | |
const RecHitsSortedInPhi & | operator() (const SeedingLayerSetsHits::SeedingLayer &layer, const TrackingRegion ®ion) |
LayerHitMapCache & | operator= (LayerHitMapCache &&)=default |
Private Types | |
typedef SimpleCache | Cache |
Private Attributes | |
Cache | theCache |
A cache adressable by DetLayer* and TrackingRegion* . Used to cache all the hits of a DetLayer.
Definition at line 14 of file LayerHitMapCache.h.
|
private |
Definition at line 62 of file LayerHitMapCache.h.
|
inline |
Definition at line 65 of file LayerHitMapCache.h.
|
default |
|
inline |
Definition at line 74 of file LayerHitMapCache.h.
References LayerHitMapCache::SimpleCache::add(), SeedingLayerSetsHits::SeedingLayer::index(), and theCache.
Referenced by operator()(), and counter.Counter::register().
|
inline |
Definition at line 69 of file LayerHitMapCache.h.
References LayerHitMapCache::SimpleCache::clear(), and theCache.
Referenced by hitTripletEDProducerT::ImplSeedingHitSets::beginRegion(), CombinedHitPairGeneratorForPhotonConversion::clearCache(), CombinedHitQuadrupletGeneratorForPhotonConversion::clearLayerCache(), CombinedHitPairGenerator::hitPairs(), CombinedHitQuadrupletGeneratorForPhotonConversion::hitPairs(), CombinedMultiHitGenerator::hitSets(), CombinedHitTripletGenerator::hitTriplets(), and MultiHitFromChi2EDProducer::produce().
|
inline |
Definition at line 71 of file LayerHitMapCache.h.
References LayerHitMapCache::SimpleCache::extend(), and theCache.
Referenced by MatrixUtil.WF::__init__(), MultiHitFromChi2EDProducer::produce(), and hitTripletEDProducerT::Impl< T_HitTripletGenerator, T_SeedingHitSets, T_IntermediateHitTriplets >::produce().
|
inline |
Definition at line 80 of file LayerHitMapCache.h.
References add(), RecHitsSortedInPhi::all(), cms::cuda::assert(), SeedingLayerSetsHits::SeedingLayer::detLayer(), LayerHitMapCache::SimpleCache::get(), TrackingRegion::hits(), SeedingLayerSetsHits::SeedingLayer::index(), submitPVResolutionJobs::key, LogDebug, TrackingRegion::origin(), theCache, and createJobs::tmp.
|
default |
|
private |
Definition at line 100 of file LayerHitMapCache.h.
Referenced by add(), clear(), extend(), and operator()().