31 etCut_(iConfig.getParameter<double>(
"etMin")),
32 corrector_(iConfig.getParameter<
std::
string>(
"corrector"), -1),
34 produces<l1t::PFClusterCollection>();
42 unsigned int index = 0;
44 if (it->pt() <= etCut_)
48 it->pt(), it->eta(), it->phi(), 0.,
true);
49 if (corrector_.valid())
50 corrector_.correctPt(cluster);
52 cluster.setHwQual(it->hwQual());
53 out->push_back(cluster);
~PFClusterProducerFromL1EGClusters() override
PFClusterProducerFromL1EGClusters(const edm::ParameterSet &)
l1tpf::ParametricResolution resol_
Abs< T >::type abs(const T &t)
#define DEFINE_FWK_MODULE(type)
std::vector< l1t::PFCluster > PFClusterCollection
void setPtError(float ptError)
void produce(edm::Event &, const edm::EventSetup &) override
l1tpf::corrector corrector_
edm::EDGetTokenT< BXVector< l1t::EGamma > > src_