Skip to content
Snippets Groups Projects
Verified Commit 8fcb20a3 authored by Tadej Novak's avatar Tadej Novak
Browse files

CP algs: Photons updates for DAOD_PHYS in master

parent 2bcd1f6a
No related branches found
No related tags found
No related merge requests found
...@@ -146,6 +146,7 @@ def makePhotonAnalysisSequence( dataType, workingPoint, ...@@ -146,6 +146,7 @@ def makePhotonAnalysisSequence( dataType, workingPoint,
alg.isolationCorrectionTool.IsMC = 1 alg.isolationCorrectionTool.IsMC = 1
pass pass
seq.append( alg, inputPropName = 'egammas', outputPropName = 'egammasOut', seq.append( alg, inputPropName = 'egammas', outputPropName = 'egammasOut',
affectingSystematics = '(^PH_Iso_.*)',
stageName = 'selection' ) stageName = 'selection' )
# Set up the isolation selection algorithm: # Set up the isolation selection algorithm:
...@@ -165,11 +166,9 @@ def makePhotonAnalysisSequence( dataType, workingPoint, ...@@ -165,11 +166,9 @@ def makePhotonAnalysisSequence( dataType, workingPoint,
addPrivateTool( alg, 'efficiencyCorrectionTool', addPrivateTool( alg, 'efficiencyCorrectionTool',
'AsgPhotonEfficiencyCorrectionTool' ) 'AsgPhotonEfficiencyCorrectionTool' )
alg.scaleFactorDecoration = 'effSF' + postfix alg.scaleFactorDecoration = 'effSF' + postfix
alg.efficiencyCorrectionTool.MapFilePath = \
'PhotonEfficiencyCorrection/2015_2017/rel21.2/Winter2018_Prerec_v1/map0.txt'
if dataType == 'afii': if dataType == 'afii':
alg.efficiencyCorrectionTool.ForceDataType = \ alg.efficiencyCorrectionTool.ForceDataType = \
PATCore.ParticleDataType.Fast PATCore.ParticleDataType.Full # no AFII ID SFs for now
elif dataType == 'mc': elif dataType == 'mc':
alg.efficiencyCorrectionTool.ForceDataType = \ alg.efficiencyCorrectionTool.ForceDataType = \
PATCore.ParticleDataType.Full 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