Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
atlas
athena
Commits
65d858e4
Commit
65d858e4
authored
Jul 29, 2020
by
Teng Jian Khoo
Browse files
Remove duplicated code + make truth parton pseudojets ghosts
parent
47a26fd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Generators/GeneratorFilters/share/common/GenerateTruthJets.py
View file @
65d858e4
...
...
@@ -30,11 +30,6 @@ def PrepareTruthJetInputs(algseq):
#IncludePromptPhotons=False,
BarCodeFromMetadata
=
0
)
ToolSvc
+=
ParticleJetToolsConf
.
CopyTruthJetParticles
(
"truthpartcopy"
,
OutputName
=
"JetInputTruthParticles"
,
MCTruthClassifier
=
ToolSvc
.
JetMCTruthClassifier
,
BarCodeFromMetadata
=
0
)
ToolSvc
+=
ParticleJetToolsConf
.
CopyTruthPartons
(
"truthpartonscopy"
,
OutputName
=
"TruthLabelPartons"
,
PtMin
=
5000
)
...
...
@@ -98,10 +93,10 @@ def ScheduleAntiKtTruthJets(jetradius,algseq,mods=""):
truthpartonget
=
ToolSvc
.
truthpartonget
else
:
truthpartonget
=
JetRecConf
.
PseudoJetGetter
(
"truthpartonget"
,
Label
=
"TruthPartons"
,
Label
=
"
Ghost
TruthPartons"
,
InputContainer
=
ToolSvc
.
truthpartonscopy
.
OutputName
,
OutputContainer
=
"PseudoJetTruthPartons"
,
GhostScale
=
0.
0
,
OutputContainer
=
"PseudoJet
Ghost
TruthPartons"
,
GhostScale
=
1e-4
0
,
SkipNegativeEnergy
=
True
,
)
ToolSvc
+=
truthpartonget
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment