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
Elemer Nagy
athena
Commits
e9deba6f
Commit
e9deba6f
authored
6 years ago
by
James Catmore
Browse files
Options
Downloads
Patches
Plain Diff
Adding protection to DAOD_PHYSVAL such that it doesn't crash on MC
Former-commit-id: abc437714e1479fbbece643298f07151b025be38
parent
dc92798f
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
PhysicsAnalysis/DerivationFramework/DerivationFrameworkExamples/share/PHYSVAL.py
+13
-8
13 additions, 8 deletions
...ionFramework/DerivationFrameworkExamples/share/PHYSVAL.py
with
13 additions
and
8 deletions
PhysicsAnalysis/DerivationFramework/DerivationFrameworkExamples/share/PHYSVAL.py
+
13
−
8
View file @
e9deba6f
...
...
@@ -26,19 +26,23 @@ DerivationFrameworkJob += CfgMgr.DerivationFramework__DerivationKernel("PHYSVALK
OutputJets
[
"
PHYSVAL
"
]
=
[
"
AntiKtVR30Rmax4Rmin02TrackJets
"
,
"
AntiKt10LCTopoTrimmedPtFrac5SmallR20Jets
"
,
"
AntiKt10TruthTrimmedPtFrac5SmallR20Jets
"
,
"
AntiKt4EMTopoLowPtJets
"
,
"
AntiKt4LCTopoLowPtJets
"
,
"
AntiKt4EMPFlowLowPtJets
"
]
reducedJetList
=
[
"
AntiKt10PV0TrackJets
"
,
"
AntiKt4TruthWZJets
"
,
"
AntiKt10TruthJets
"
,
"
AntiKt10TruthWZJets
"
,
"
AntiKt10LCTopoJets
"
,
"
AntiKt2PV0TrackJets
"
,
"
AntiKt4PV0TrackJets
"
,
"
AntiKt4TruthJets
"
]
"
AntiKt4PV0TrackJets
"
]
if
(
DerivationFrameworkIsMonteCarlo
):
OutputJets
[
"
PHYSVAL
"
].
append
(
"
AntiKt10TruthTrimmedPtFrac5SmallR20Jets
"
)
reducedJetList
.
append
(
"
AntiKt4TruthWZJets
"
)
reducedJetList
.
append
(
"
AntiKt10TruthJets
"
)
reducedJetList
.
append
(
"
AntiKt10TruthWZJets
"
)
reducedJetList
.
append
(
"
AntiKt4TruthJets
"
)
replaceAODReducedJets
(
reducedJetList
,
DerivationFrameworkJob
,
"
PHYSVAL
"
)
updateJVT_xAODColl
(
"
AntiKt4EMTopo
"
)
addAntiKt4LowPtJets
(
DerivationFrameworkJob
,
"
PHYSVAL
"
)
...
...
@@ -63,8 +67,9 @@ FlavorTagInit(JetCollections = [ 'AntiKt4EMTopoJets','AntiKt4EMPFlowJets'], Seq
#====================================================================
# Truth collections
#====================================================================
from
DerivationFrameworkMCTruth.MCTruthCommon
import
addStandardTruthContents
addStandardTruthContents
()
if
(
DerivationFrameworkIsMonteCarlo
):
from
DerivationFrameworkMCTruth.MCTruthCommon
import
addStandardTruthContents
addStandardTruthContents
()
#====================================================================
# SET UP STREAM
...
...
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