26 cut_(iConfig.getParameter<std::
string>(
"cut")) {
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.
const edm::EventSetup & c
HGC3DClusterSimpleSelector(const edm::ParameterSet &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
const edm::EDGetTokenT< l1t::HGCalMulticlusterBxCollection > src_
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
const StringCutObjectSelector< l1t::HGCalMulticluster > cut_
~HGC3DClusterSimpleSelector() override