42 std::unique_ptr<HGCalTowerProcessorBase>{
HGCalTowerFactory::get()->create(towerProcessorName, towerParamConfig)};
44 produces<l1t::HGCalTowerBxCollection>(towersProcess_->name());
54 auto towers_output = std::make_unique<l1t::HGCalTowerBxCollection>();
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::ESHandle< HGCalTriggerGeometryBase > triggerGeometry_
BXVector< HGCalTowerMap > HGCalTowerMapBxCollection
#define DEFINE_FWK_MODULE(type)
void beginRun(const edm::Run &, const edm::EventSetup &) override
edm::EDGetToken input_towers_map_
ParameterSet const & getParameterSet(std::string const &) const
~HGCalTowerProducer() override
void produce(edm::Event &, const edm::EventSetup &) override
HGCalTowerProducer(const edm::ParameterSet &)
T const * product() const
std::unique_ptr< HGCalTowerProcessorBase > towersProcess_
T get(const Candidate &c)