31 std::vector<l1ct::Jet>
convertEDMToHW(std::vector<l1t::PFJet> edmJets)
const;
39 produces<std::vector<l1t::EtSum>>();
48 std::copy_if(edmJets.begin(), edmJets.end(), std::back_inserter(edmJetsFiltered), [&](
auto jet) {
58 std::unique_ptr<std::vector<l1t::EtSum>> mhtCollection(
new std::vector<l1t::EtSum>(0));
59 mhtCollection->push_back(edmSums.at(0));
60 mhtCollection->push_back(edmSums.at(1));
66 std::vector<l1ct::Jet> hwJets;
67 std::for_each(edmJets.begin(), edmJets.end(), [&](
l1t::PFJet jet) {
69 hwJets.push_back(hwJet);
75 std::vector<l1t::EtSum> edmSums;
91 edmSums.push_back(ht);
92 edmSums.push_back(mht);
float floatPhi(phi_t phi)
l1ct::Sum htmht(std::vector< l1ct::Jet > jets)
std::vector< l1t::EtSum > convertHWToEDM(l1ct::Sum hwSums) const
std::vector< l1t::PFJet > PFJetCollection
L1MhtPfProducer(const edm::ParameterSet &)
~L1MhtPfProducer() override
edm::EDGetTokenT< std::vector< l1t::PFJet > > jetsToken
Abs< T >::type abs(const T &t)
static Jet unpack(const std::array< uint64_t, 2 > &src)
#define DEFINE_FWK_MODULE(type)
void produce(edm::StreamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
std::vector< l1ct::Jet > convertEDMToHW(std::vector< l1t::PFJet > edmJets) const
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.