12 theSeedingLayerToken(iC.consumes<
SeedingLayerSetsHits>(cfg.getParameter<edm::InputTag>(
"SeedingLayers")))
30 throw cms::Exception(
"Configuration") <<
"CombinedHitTripletGenerator expects SeedingLayerSetsHits::numberOfLayersInSet() to be 3, got " << layers.
numberOfLayersInSet();
33 for(
const auto& setAndLayers: trilayers) {
34 theGenerator->setSeedingLayers(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
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)