Skip to content

Trex config: ability to modify automatic systematics

Add ability to change the settings of automatic systematics via the trexfitter config file. This can be done by adding another item to Systematics, e.g.

  - name: "EG_SCALE_AF2"
    SmoothingOption: "MAXVARIATION"

Will add the SmoothingOption field to the EG_SCALE_AF2:

Systematic: "EG_SCALE_AF2"
	HistoFolderNameDown: EG_SCALE_AF2__1down
	Samples: bb4l_FS,ttV_FS,Multiboson_Sherpa_FS,Zjets_Sherpa_FS,LeptonFakes_bb4l_plus_background_FS
	HistoFolderNameUp: EG_SCALE_AF2__1up
	Title: "EG SCALE AF2"
	Type: HISTO
	Symmetrisation: TWOSIDED
	Smoothing: 40
	SmoothingOption: MAXVARIATION

Fields which are defined in both the automatic systematics and in the trexfitter yaml config file, will be taken from the trexfitter yaml config file settings.

If the systematics should not be merged, you can use the field MergeWithAutomaticSyst: False:

  - name: "EG_SCALE_AF2"
    SmoothingOption: "MAXVARIATION"
    MergeWithAutomaticSyst: False

This will lead to two blocks in the trexfitter config file:

Systematic: "EG_SCALE_AF2"
	HistoFolderNameDown: EG_SCALE_AF2__1down
	Samples: bb4l_FS,ttV_FS,Multiboson_Sherpa_FS,Zjets_Sherpa_FS,LeptonFakes_bb4l_plus_background_FS
	HistoFolderNameUp: EG_SCALE_AF2__1up
	Title: "EG SCALE AF2"
	Type: HISTO
	Symmetrisation: TWOSIDED
	Smoothing: 40

Systematic: "EG_SCALE_AF2"
	SmoothingOption: MAXVARIATION

Merge request reports