8 theSeedingLayerToken(iC.consumes<
SeedingLayerSetsHits>(cfg.getParameter<edm::InputTag>(
"SeedingLayers")))
15 theSeedingLayerToken(cb.theSeedingLayerToken),
24 assert(0 ==
"not implemented");
35 throw cms::Exception(
"Configuration") <<
"CombinedHitPairGenerator expects SeedingLayerSetsHits::numberOfLayersInSet() to be 2, got " << layers.
numberOfLayersInSet();
44 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()
void setSeedingLayers(SeedingLayerSetsHits::SeedingLayerSet layers) override
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