1 #ifndef LayerHitMapCache_H
2 #define LayerHitMapCache_H
57 LogDebug(
"LayerHitMapCache")<<
" I got"<< lhm->
all().second-lhm->
all().first<<
" hits in the cache for: "<<layer.
detLayer();
62 LogDebug(
"LayerHitMapCache")<<
" I got"<< lhm->
all().second-lhm->
all().first<<
" hits FROM THE cache for: "<<layer.
detLayer();
GlobalPoint const & origin() const
LayerHitMapCache(unsigned int initSize=50)
SimpleCache(const SimpleCache &)
virtual Hits hits(const edm::Event &ev, const edm::EventSetup &es, const SeedingLayerSetsHits::SeedingLayer &layer) const =0
get hits from layer compatible with region constraints
std::vector< const ValueType * > theContainer
const RecHitsSortedInPhi & operator()(const SeedingLayerSetsHits::SeedingLayer &layer, const TrackingRegion ®ion, const edm::Event &iEvent, const edm::EventSetup &iSetup)
void clear()
emptify cache, delete values associated to Key
const ValueType * get(KeyType key)
const DetLayer * detLayer() const
void add(KeyType key, const ValueType *value)
add object to cache. It is caller responsibility to check that object is not yet there.
SimpleCache(unsigned int initSize)
tuple size
Write out results.