15 using namespace ctfseeding;
43 throw cms::Exception(
"Configuration") <<
"CombinedHitQuadrupletsGenerator expects SeedingLayerSetsHits::numberOfLayersInSet() to be 4, got " << layers.
numberOfLayersInSet();
46 for(
const auto& tripletAndLayers: quadlayers) {
47 theGenerator->hitQuadruplets(region, result, ev, es, tripletAndLayers.first, tripletAndLayers.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)
virtual ~CombinedHitQuadrupletGenerator()
bool getByToken(EDGetToken token, Handle< PROD > &result) const
CombinedHitQuadrupletGenerator(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
std::unique_ptr< HitQuadrupletGeneratorFromTripletAndLayers > theGenerator
edm::EDGetTokenT< SeedingLayerSetsHits > theSeedingLayerToken
LayerCacheType theLayerCache
std::vector< LayerSetAndLayers > layers(const SeedingLayerSetsHits &sets)
T get(const Candidate &c)
virtual void hitQuadruplets(const TrackingRegion ®, OrderedHitSeeds &triplets, const edm::Event &ev, const edm::EventSetup &es)
from base class