14 vector<SeedLayerPairs::LayerPair> layerPairs =
layers();
15 vector<SeedLayerPairs::LayerPair>::const_iterator it;
16 for (it = layerPairs.begin(); it != layerPairs.end(); it++) {
17 add( (*it).first, (*it).second,iSetup);
33 theGenerators.push_back(std::make_unique<CosmicHitPairGeneratorFromLayerPair>( inner, outer, iSetup));
42 Container::const_iterator
i;
43 for (i=theGenerators.begin(); i!=theGenerators.end(); i++) {
44 (**i).hitPairs( region, pairs, iSetup);
std::vector< LayerSetAndLayers > layers(const SeedingLayerSetsHits &sets)
void add(const std::vector< const T * > &source, std::vector< const T * > &dest)
void hitPairs(const TrackingRegion ®, OrderedHitPairs &prs, const edm::EventSetup &iSetup)
form base class
~CosmicHitPairGenerator()
void add(const LayerWithHits *inner, const LayerWithHits *outer, const edm::EventSetup &iSetup)
add generators based on layers
CosmicHitPairGenerator(SeedLayerPairs &layers, const edm::EventSetup &iSetup)