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
7355ac87
Commit
7355ac87
authored
6 years ago
by
Goetz Gaycken
Browse files
Options
Downloads
Patches
Plain Diff
Import specifically, rather than importing everything.
Former-commit-id: dbf0a4be0a7c98c80336e72b09454c2f75cc2a69
parent
2fdcf439
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
PhysicsAnalysis/DerivationFramework/DerivationFrameworkHiggs/python/HIGG5Common.py
+20
-15
20 additions, 15 deletions
...nFramework/DerivationFrameworkHiggs/python/HIGG5Common.py
with
20 additions
and
15 deletions
PhysicsAnalysis/DerivationFramework/DerivationFrameworkHiggs/python/HIGG5Common.py
+
20
−
15
View file @
7355ac87
...
...
@@ -59,30 +59,35 @@ def filterContentList(pattern, content_list) :
def
getTruth3Collections
(
kernel
)
:
from
DerivationFrameworkMCTruth.MCTruthCommon
import
*
#STEP 1do the prejet augmentations by hand
decorationDressing
=
'
dressedPhoton
'
DFCommonTruthElectronDressingTool
.
decorationName
=
decorationDressing
DFCommonTruthMuonDressingTool
.
decorationName
=
decorationDressing
import
DerivationFrameworkMCTruth.TruthDerivationTools
from
AthenaCommon.AppMgr
import
ToolSvc
ToolSvc
.
DFCommonTruthElectronDressingTool
.
decorationName
=
decorationDressing
ToolSvc
.
DFCommonTruthMuonDressingTool
.
decorationName
=
decorationDressing
if
not
hasattr
(
kernel
,
'
MCTruthCommonPreJetKernel
'
):
augmentationToolsList
=
[
DFCommonTruthClassificationTool
,
DFCommonTruthMuonTool
,
DFCommonTruthElectronTool
,
DFCommonTruthPhotonToolSim
,
DFCommonTruthNeutrinoTool
,
DFCommonTruthTopTool
,
DFCommonTruthBosonTool
,
DFCommonTruthBSMTool
,
DFCommonTruthElectronDressingTool
,
DFCommonTruthMuonDressingTool
,
DFCommonTruthElectronIsolationTool1
,
DFCommonTruthElectronIsolationTool2
,
DFCommonTruthMuonIsolationTool1
,
DFCommonTruthMuonIsolationTool2
,
DFCommonTruthPhotonIsolationTool1
,
DFCommonTruthPhotonIsolationTool2
]
augmentationToolsList
=
[
ToolSvc
.
DFCommonTruthClassificationTool
,
ToolSvc
.
DFCommonTruthMuonTool
,
ToolSvc
.
DFCommonTruthElectronTool
,
ToolSvc
.
DFCommonTruthPhotonToolSim
,
ToolSvc
.
DFCommonTruthNeutrinoTool
,
ToolSvc
.
DFCommonTruthTopTool
,
ToolSvc
.
DFCommonTruthBosonTool
,
ToolSvc
.
DFCommonTruthBSMTool
,
ToolSvc
.
DFCommonTruthElectronDressingTool
,
ToolSvc
.
DFCommonTruthMuonDressingTool
,
ToolSvc
.
DFCommonTruthElectronIsolationTool1
,
ToolSvc
.
DFCommonTruthElectronIsolationTool2
,
ToolSvc
.
DFCommonTruthMuonIsolationTool1
,
ToolSvc
.
DFCommonTruthMuonIsolationTool2
,
ToolSvc
.
DFCommonTruthPhotonIsolationTool1
,
ToolSvc
.
DFCommonTruthPhotonIsolationTool2
]
from
DerivationFrameworkCore.DerivationFrameworkCoreConf
import
DerivationFramework__CommonAugmentation
from
AthenaCommon
import
CfgMgr
kernel
+=
CfgMgr
.
DerivationFramework__CommonAugmentation
(
"
MCTruthCommonPreJetKernel
"
,
AugmentationTools
=
augmentationToolsList
)
#STEP2 rest of addStandardTruth
from
DerivationFrameworkMCTruth.MCTruthCommon
import
addTruthJets
,
addTruthMET
from
DerivationFrameworkMCTruth.MCTruthCommon
import
schedulePostJetMCTruthAugmentations
from
DerivationFrameworkMCTruth.MCTruthCommon
import
addHFAndDownstreamParticles
,
addBosonsAndDownstreamParticles
,
addTopQuarkAndDownstreamParticles
from
DerivationFrameworkMCTruth.MCTruthCommon
import
addHardScatterCollection
,
addPVCollection
,
addTruthCollectionNavigationDecorations
# Jets and MET
addTruthJets
(
kernel
,
decorationDressing
)
addTruthMET
(
kernel
)
...
...
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