EditModels

Edit a model using some TQFolder edit commands. These can either be supplied in-place using the tag commands, or from some internal file using the tag file.

Usage:

+EditModels.systematics {
  +HWWRun2GGF {
    #remove shape component for processes which have low stats/relevant artifacts
    +ImportEdits.removeExpShape {
      <file = "./config/statistics/ggf/snippets/edit.removeHistoSys.txt">
    }
    # remove systematics on the VH samples
    +ImportEdits.removeVHSystematics {
      <commands = {"@Channel.* { @Sample.sigVH*jet* { $delete(OverallSys.*!); $delete(HistoSys.*!); } }"}>
    }
  }
}

The edits will be made in-place on the model.