30 throw cms::Exception(
"Configuration") <<
"CombinedHitTripletGenerator expects SeedingLayerSetsHits::numberOfLayersInSet() to be 3, got " << layers.
numberOfLayersInSet();
33 for(
const auto& setAndLayers: trilayers) {
34 theGenerator->hitTriplets( region, result, ev, es, setAndLayers.first, setAndLayers.second);
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
edm::EDGetTokenT< SeedingLayerSetsHits > theSeedingLayerToken
CombinedHitTripletGenerator(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
std::unique_ptr< HitTripletGeneratorFromPairAndLayers > theGenerator
LayerCacheType theLayerCache
void hitTriplets(const TrackingRegion ®, OrderedHitTriplets &triplets, const edm::Event &ev, const edm::EventSetup &es) override
from base class
T get(const Candidate &c)
~CombinedHitTripletGenerator() override