12 using namespace ctfseeding;
15 : initialised(
false), theConfig(cfg)
27 std::string layerBuilderName = cfg.
getParameter<std::string>(
"SeedingLayers");
38 typedef SeedingLayerSets::const_iterator IL;
39 for (IL il=layerSets.begin(), ilEnd=layerSets.end(); il != ilEnd; ++il) {
41 if (set.size() != 2)
continue;
42 add( set[0], set[1] );
48 Container::const_iterator it;
82 Container::const_iterator
i;
88 (**i).hitPairs(convRegion, region, resultTmp, ev, es);
89 result.insert(result.end(),resultTmp.begin(),resultTmp.end());
T getParameter(std::string const &) const
CombinedHitPairGeneratorForPhotonConversion(const edm::ParameterSet &cfg)
LayerCacheType theLayerCache
edm::ParameterSet theConfig
virtual unsigned int size() const
virtual void hitPairs(const TrackingRegion &, OrderedHitPairs &, const edm::Event &, const edm::EventSetup &)
form base class
const OrderedHitPairs & run(const ConversionRegion &convRegion, const TrackingRegion ®ion, const edm::Event &ev, const edm::EventSetup &es)
unsigned int theMaxElement
edm::ESWatcher< TrackerDigiGeometryRecord > theESWatcher
void add(const ctfseeding::SeedingLayer &inner, const ctfseeding::SeedingLayer &outer)
bool check(const edm::EventSetup &iSetup)
void init(const ctfseeding::SeedingLayerSets &layerSets)
uint32_t maxHitPairsPerTrackAndGenerator
virtual ~CombinedHitPairGeneratorForPhotonConversion()
std::vector< SeedingLayer > SeedingLayers
std::vector< std::vector< SeedingLayer > > SeedingLayerSets
void set(const std::string &name, int value)
set the flag, with a run-time name