Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Sherwood
athena
Commits
8fcb20a3
Verified
Commit
8fcb20a3
authored
4 years ago
by
Tadej Novak
Browse files
Options
Downloads
Patches
Plain Diff
CP algs: Photons updates for DAOD_PHYS in master
parent
2bcd1f6a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
PhysicsAnalysis/Algorithms/EgammaAnalysisAlgorithms/python/PhotonAnalysisSequence.py
+2
-3
2 additions, 3 deletions
...EgammaAnalysisAlgorithms/python/PhotonAnalysisSequence.py
with
2 additions
and
3 deletions
PhysicsAnalysis/Algorithms/EgammaAnalysisAlgorithms/python/PhotonAnalysisSequence.py
+
2
−
3
View file @
8fcb20a3
...
@@ -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
.
F
ast
PATCore
.
ParticleDataType
.
F
ull
# no AFII ID SFs for now
elif
dataType
==
'
mc
'
:
elif
dataType
==
'
mc
'
:
alg
.
efficiencyCorrectionTool
.
ForceDataType
=
\
alg
.
efficiencyCorrectionTool
.
ForceDataType
=
\
PATCore
.
ParticleDataType
.
Full
PATCore
.
ParticleDataType
.
Full
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment