12 theSeedingLayerToken(iC.consumes<
SeedingLayerSetsHits>(cfg.getParameter<edm::InputTag>(
"SeedingLayers")))
30 throw cms::Exception(
"Configuration") <<
"CombinedMultiHitGenerator expects SeedingLayerSetsHits::numberOfLayersInSet() to be 3, got " << layers.
numberOfLayersInSet();
35 for(
const auto& setAndLayers: trilayers) {
36 theGenerator->setSeedingLayers(setAndLayers.first, setAndLayers.second);
edm::EDGetTokenT< SeedingLayerSetsHits > theSeedingLayerToken
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 void hitSets(const TrackingRegion ®, OrderedMultiHits &result, const edm::Event &ev, const edm::EventSetup &es)
from base class
virtual ~CombinedMultiHitGenerator()
LayerCacheType theLayerCache
CombinedMultiHitGenerator(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
std::unique_ptr< MultiHitGeneratorFromPairAndLayers > theGenerator
T get(const Candidate &c)