Skip to content
Snippets Groups Projects

Update central JES configs to R22 prerecs

Merged Teng Jian Khoo requested to merge khoo/athena:JetAnalysisAlgs-R22Recs into master
3 files
+ 22
19
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -108,14 +108,14 @@ class SmallRJetAnalysisConfig (ConfigBlock) :
config.addPrivateTool( 'calibrationTool', 'JetCalibrationTool' )
alg.calibrationTool.JetCollection = jetCollectionName[:-4]
# Get the correct string to use in the config file name
if config.dataType() == 'afii':
configFile = "JES_MC16Recommendation_AFII_{0}_Apr2019_Rel21.config"
if jetInput == "EMPFlow":
configFile = "PreRec_R22_PFlow_ResPU_EtaJES_GSC_February23_230215.config"
else:
configFile = "JES_MC16Recommendation_Consolidated_{0}_Apr2019_Rel21.config"
if self.jetInput == "EMPFlow":
configFile = configFile.format("PFlow")
else:
configFile = configFile.format(self.jetInput)
if dataType == 'afii':
configFile = "JES_MC16Recommendation_AFII_{0}_Apr2019_Rel21.config"
else:
configFile = "JES_MC16Recommendation_Consolidated_{0}_Apr2019_Rel21.config"
configFile = configFile.format(jetInput)
alg.calibrationTool.ConfigFile = configFile
if config.dataType() == 'data':
alg.calibrationTool.CalibSequence = 'JetArea_Residual_EtaJES_GSC_Insitu'
Loading