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);
53 out->push_back(cluster);
#define DEFINE_FWK_MODULE(type)
~PFClusterProducerFromL1EGClusters() override
PFClusterProducerFromL1EGClusters(const edm::ParameterSet &)
l1tpf::ParametricResolution resol_
Abs< T >::type abs(const T &t)
std::vector< l1t::PFCluster > PFClusterCollection
std::vector< l1tp2::CaloCrystalCluster > CaloCrystalClusterCollection
void setPtError(float ptError)
void produce(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< l1tp2::CaloCrystalClusterCollection > src_
l1tpf::corrector corrector_