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
~CombinedHitPairGenerator() override
void hitPairs(const TrackingRegion ®, OrderedHitPairs &result, const edm::Event &ev, const edm::EventSetup &es) override
form base class
std::unique_ptr< HitPairGeneratorFromLayerPair > theGenerator
edm::EDGetTokenT< SeedingLayerSetsHits > theSeedingLayerToken
unsigned int size() const override
unsigned int theMaxElement
CombinedHitPairGenerator(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
LayerCacheType theLayerCache