AnalysisTop: Add possibility of separate QGFracFiles for p + Pb and Pb + p HI collision setups
This MR adds the possibility into AnalysisTop to add separate quark/gluon fraction files for p + Pb and Pb + p heavy-ion collision setups via the JetUncertainties_QGFracFile
option as requested in ANALYSISTO-1312. From now on, this option accepts a comma-separated list of two files for these setups in addition to a single file. The comma-separated list should be supplied in the following format:
JetUncertainties_QGFracFile <pPb_QGFracFile>,<Pbp_QGFracFile>
In case of HI-collisions, the run-number check already performed for the p + Pb and Pb + p jet calibration configurations is also extended to these files, so that the correct quark/gluon fraction file is chosen according to the following check:
-
runnumber >= 313063 && runnumber <= 313435
: p + Pb setup, use first file from the list -
runnumber >= 313572 && runnumber <= 314170
: Pb + p setup, use second file from the list - Neither: Throw error if multiple QGFracFiles are submitted.
In case of a single q/g fraction file, it is used for both setups. Additionally, AnalysisTop throws an error in case an unexpected number of files is supplied for the HI-setups.
This MR addresses ANALYSISTO-1312.