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)
def create(alignables, pedeDump, additionalData, outputFile, config)
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
virtual void hitTriplets(const TrackingRegion ®, OrderedHitTriplets &triplets, const edm::Event &ev, const edm::EventSetup &es)
from base class
virtual ~CombinedHitTripletGenerator()
LayerCacheType theLayerCache
T get(const Candidate &c)