Skip to content
Snippets Groups Projects

Merging full workflow into Tanay's HiggsDNA

Open Sergi Castells requested to merge castells/higgs-dna-4-gamma-tanays-copy:master into master
Compare and Show latest version
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -499,6 +499,9 @@ class HggBaseProcessor(processor.ProcessorABC): # type: ignore
events = tmp_events
assert len(events) == len(events.Photon) == len(tmp_photons), f"events: {len(events)}\t events.Photon: {len(events.Photon)}\t tmp_photons: {len(tmp_photons)}\t tmp_photons num: {awkward.num(tmp_photons, axis=0)}\t Cycle: {offset}"
else:
tmp_photons = events.Photon
"""
# Do event mixing - activated if "EvtMix" is in the dataset name in the samples JSON
if "EvtMix" in dataset_name:
@@ -535,9 +538,6 @@ class HggBaseProcessor(processor.ProcessorABC): # type: ignore
tmp_photons = awkward.concatenate((tmp_photons, artificial_stats_photons))
"""
else:
tmp_photons = events.Photon
original_photons = tmp_photons
#logger.info("original photons length %i"%len(original_photons)) # kt
# NOTE: jet jerc systematics are added in the correction functions and handled later
Loading