Skip to content
Snippets Groups Projects
Commit 7d73f2fe authored by Johannes Elmsheuser's avatar Johannes Elmsheuser
Browse files

Merge branch 'asg/cp-photons' into 'master'

CP algs: Photons updates for DAOD_PHYS in master

See merge request atlas/athena!39403
parents f656436b 8fcb20a3
No related branches found
No related tags found
No related merge requests found
......@@ -146,6 +146,7 @@ def makePhotonAnalysisSequence( dataType, workingPoint,
alg.isolationCorrectionTool.IsMC = 1
pass
seq.append( alg, inputPropName = 'egammas', outputPropName = 'egammasOut',
affectingSystematics = '(^PH_Iso_.*)',
stageName = 'selection' )
# Set up the isolation selection algorithm:
......@@ -165,11 +166,9 @@ def makePhotonAnalysisSequence( dataType, workingPoint,
addPrivateTool( alg, 'efficiencyCorrectionTool',
'AsgPhotonEfficiencyCorrectionTool' )
alg.scaleFactorDecoration = 'effSF' + postfix
alg.efficiencyCorrectionTool.MapFilePath = \
'PhotonEfficiencyCorrection/2015_2017/rel21.2/Winter2018_Prerec_v1/map0.txt'
if dataType == 'afii':
alg.efficiencyCorrectionTool.ForceDataType = \
PATCore.ParticleDataType.Fast
PATCore.ParticleDataType.Full # no AFII ID SFs for now
elif dataType == 'mc':
alg.efficiencyCorrectionTool.ForceDataType = \
PATCore.ParticleDataType.Full
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment