1 #ifndef RecoTracker_TkTrackingRegions_TrackingRegionEDProducerT_H 2 #define RecoTracker_TkTrackingRegions_TrackingRegionEDProducerT_H 11 template <
typename T_TrackingRegionProducer>
21 produces<ProductType>();
27 T_TrackingRegionProducer::fillDescriptions(descriptions);
32 auto ret = std::make_unique<ProductType>();
33 ret->reserve(regions.size());
34 for(
auto& regionPtr: regions) {
35 ret->push_back(regionPtr.release());
T_TrackingRegionProducer regionProducer_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
TrackingRegionEDProducerT(const edm::ParameterSet &iConfig)
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
~TrackingRegionEDProducerT()=default