There is a bug in the JEC of the scouting code: somehow the JEC did not run properly (might be) because of a wrong input type of jet kinematics (type=<class 'vector.backends.awkward.MomentumArray4D'>). I fixed it by changing the input type according to what is done in the offline code, which is taken from the events.Jet (type=<class 'vector.backends.awkward.MomentumArray4D'>). Now the ht_JEC is similar to ht, tested on small samples.
There is a bug in the JEC of the scouting code: somehow the JEC did not run properly (might be) because of a wrong input type of jet kinematics (type=<class 'vector.backends.awkward.MomentumArray4D'>). I fixed it by changing the input type according to what is done in the offline code, which is taken from the events.Jet (type=<class 'vector.backends.awkward.MomentumArray4D'>). Now the ht_JEC is similar to ht, tested on small samples.