27 produces<l1t::HGCalMulticlusterBxCollection>();
31 std::unique_ptr<l1t::HGCalMulticlusterBxCollection>
out = std::make_unique<l1t::HGCalMulticlusterBxCollection>();
36 for (
int bx = multiclusters->getFirstBX(); bx <= multiclusters->getLastBX(); ++bx) {
37 for (
auto it = multiclusters->begin(bx), ed = multiclusters->end(bx); it != ed; ++it) {
40 out->push_back(bx,
c);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
HGC3DClusterSimpleSelector(const edm::ParameterSet &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
#define DEFINE_FWK_MODULE(type)
const edm::EDGetTokenT< l1t::HGCalMulticlusterBxCollection > src_
const StringCutObjectSelector< l1t::HGCalMulticluster > cut_
~HGC3DClusterSimpleSelector() override