File indexing completed on 2026-04-03 08:12:35
0001 #include "JetInfo.h"
0002
0003 JetInfo::~JetInfo() = default;
0004
0005 void JetInfo::CopyTo(JetInfo* jet)
0006 {
0007 jet->set_px(Px);
0008 jet->set_py(Py);
0009 jet->set_pz(Pz);
0010 jet->set_e(E);
0011 jet->set_pt(Pt);
0012 jet->set_pt_uncalib(Pt_uncalib);
0013 jet->set_hCaloFrac(HCaloFrac);
0014 std::vector<int> constit;
0015 for(auto cons : constituents)
0016 {
0017 constit.push_back(cons);
0018 }
0019 jet->set_constituents(constit);
0020
0021 return;
0022 }