Skip to content
Snippets Groups Projects

CP algs: Jet updates for DAOD_PHYS in master

Merged Tadej Novak requested to merge tadej/athena:asg/cp-jets into master
All threads resolved!
3 files
+ 17
16
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -5,7 +5,7 @@ from AnaAlgorithm.DualUseConfig import createAlgorithm, addPrivateTool
@@ -5,7 +5,7 @@ from AnaAlgorithm.DualUseConfig import createAlgorithm, addPrivateTool
def makeFTagAnalysisSequence( seq, dataType, jetCollection,
def makeFTagAnalysisSequence( seq, dataType, jetCollection,
btagWP = "FixedCutBEff_77",
btagWP = "FixedCutBEff_77",
btagger = "MV2c10",
btagger = "DL1r",
postfix = "",
postfix = "",
preselection=None,
preselection=None,
kinematicSelection = False,
kinematicSelection = False,
@@ -46,14 +46,12 @@ def makeFTagAnalysisSequence( seq, dataType, jetCollection,
@@ -46,14 +46,12 @@ def makeFTagAnalysisSequence( seq, dataType, jetCollection,
if legacyRecommendations:
if legacyRecommendations:
# Remove b-tagging calibration from the container name
# Remove b-tagging calibration from the container name
btIndex = jetCollection.find('_BTagging')
btIndex = jetCollection.find('_BTagging')
if btIndex != -1:
if btIndex == -1:
jetCollection = jetCollection[:btIndex]
jetCollection += '_BTagging201903'
# CDI file
# CDI file
# https://twiki.cern.ch/twiki/bin/view/AtlasProtected/BTagCalibrationRecommendationsRelease21
# https://twiki.cern.ch/twiki/bin/view/AtlasProtected/BTagCalibrationRecommendationsRelease21
bTagCalibFile = "xAODBTaggingEfficiency/13TeV/2017-21-13TeV-MC16-CDI-2019-07-30_v1.root"
bTagCalibFile = "xAODBTaggingEfficiency/13TeV/2020-21-13TeV-MC16-CDI-2020-03-11_Sh228_v3.root"
else:
bTagCalibFile = "xAODBTaggingEfficiency/13TeV/2020-21-13TeV-MC16-CDI-2020-03-11_Sh228_v3.root"
# # Create the analysis algorithm sequence object:
# # Create the analysis algorithm sequence object:
# seq = AnaAlgSequence( "FTagAnalysisSequence" )
# seq = AnaAlgSequence( "FTagAnalysisSequence" )
Loading