Map Sherpa 2.2.11 and 2.2.14 to 2.2.12
Background
The FTagAnalysisConfig.py
code considers Sherpa versions other than "Sherpa221", "Sherpa2210", "Sherpa2212" to be invalid. This is because the MC-MC corrections are not available for other Sherpa versions. We asked the generator experts about the Sherpa versions. They said:
All Sherpa versions between 2.2.11 and 2.2.16 have the same shower properties, i.e. one can always use the same MC-MC scale factors
So it makes sense to map other Sherpa versions to 2.2.12 for which MC-MC maps are available. This MR maps Sherpa 2.2.11 and 2.2.14 to 2.2.12 for Run2 and 2.2.14 for Run3 (will be available in the future for Run3, for now the DSID is mapped to the same DSID as 2.2.12).
Tests performed
I used TopCPToolkit with tag v2.11.0
and the config exampleTtbarLjets
to run over two Sherpa samples (DAOD PHYSLITE):
- DSID 700338 (W+jets sample generated with Sherpa 2.2.11)
- DSID 700793 (Z+jets sample generated with Sherpa 2.2.14)
The processing finished successfully. The tested part of the code is the one using the metadata information to get the generator information. The fallback method of using TopData preparation file has not been tested. (Mostly because I didn't know which sample might not have metadata information so as to use the fallback method).