15 theSeedingLayerToken(cb.theSeedingLayerToken),
31 throw cms::Exception(
"Configuration") <<
"CombinedHitPairGenerator expects SeedingLayerSetsHits::numberOfLayersInSet() to be 2, got " << layers.
numberOfLayersInSet();
34 theGenerator->hitPairs( region, result, ev, es, layerSet);
39 LogDebug(
"CombinedHitPairGenerator")<<
" total number of pairs provided back CHPG : "<<result.
size();
T getParameter(std::string const &) const
unsigned short numberOfLayersInSet() const
Get number of layers in each SeedingLayerSets.
std::vector< LayerSetAndLayers > layers(const SeedingLayerSetsHits &sets)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual unsigned int size() const
std::unique_ptr< HitPairGeneratorFromLayerPair > theGenerator
edm::EDGetTokenT< SeedingLayerSetsHits > theSeedingLayerToken
virtual ~CombinedHitPairGenerator()
unsigned int theMaxElement
virtual void hitPairs(const TrackingRegion ®, OrderedHitPairs &result, const edm::Event &ev, const edm::EventSetup &es)
form base class
CombinedHitPairGenerator(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
LayerCacheType theLayerCache