File indexing completed on 2026-04-03 08:12:35
0001 #include <iostream>
0002 #include <limits>
0003 #include <vector>
0004
0005 class JetInfo {
0006 public:
0007 JetInfo() = default;
0008 ~JetInfo();
0009
0010 float px() {return Px;};
0011 void set_px(float tpx) {Px = tpx;};
0012
0013 float py() {return Py;};
0014 void set_py(float tpy) {Py = tpy;};
0015
0016 float pz() {return Pz;};
0017 void set_pz(float tpz) {Pz = tpz;};
0018
0019 float e() {return E;};
0020 void set_e(float te) {E = te;};
0021
0022 float pt() {return Pt;};
0023 void set_pt(float pt) {Pt = pt;};
0024
0025 float pt_uncalib() {return Pt_uncalib;};
0026 void set_pt_uncalib(float pt_uncalib) {Pt_uncalib = pt_uncalib;};
0027
0028 float hCaloFrac() {return HCaloFrac;};
0029 void set_hCaloFrac(float cf) {HCaloFrac = cf;};
0030
0031 std::vector<int> get_constituents() { return constituents; };
0032 void set_constituents (std::vector<int> jetCons) { constituents = jetCons; };
0033
0034 void CopyTo(JetInfo *jet);
0035 private:
0036 float Px;
0037 float Py;
0038 float Pz;
0039 float E;
0040 float Pt;
0041 float Pt_uncalib;
0042 float HCaloFrac;
0043 std::vector<int> constituents;
0044 };