Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
atlas
athena
Commits
895fb5af
Commit
895fb5af
authored
3 years ago
by
Albert Kong
Browse files
Options
Downloads
Patches
Plain Diff
Migrate JETM13
parent
56a44510
Loading
Loading
4 merge requests
!69091
Fix correlated smearing bug in JER in JetUncertainties in 22.0
,
!58791
DataQualityConfigurations: Modify L1Calo config for web display
,
!51674
Fixing hotSpotInHIST for Run3 HIST
,
!46360
Migration of JETMX derivation configs for R22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
PhysicsAnalysis/DerivationFramework/DerivationFrameworkJetEtMiss/share/JETM13.py
+17
-18
17 additions, 18 deletions
...ionFramework/DerivationFrameworkJetEtMiss/share/JETM13.py
with
17 additions
and
18 deletions
PhysicsAnalysis/DerivationFramework/DerivationFrameworkJetEtMiss/share/JETM13.py
+
17
−
18
View file @
895fb5af
...
...
@@ -3,12 +3,9 @@
# reductionConf flag JETM13 in Reco_tf.py
#====================================================================
from
DerivationFrameworkCore.DerivationFrameworkMaster
import
*
from
DerivationFrameworkJetEtMiss.JetCommon
import
*
from
DerivationFrameworkJetEtMiss.ExtendedJetCommon
import
*
from
DerivationFrameworkJetEtMiss.METCommon
import
*
from
DerivationFrameworkEGamma.EGammaCommon
import
*
from
DerivationFrameworkMuons.MuonsCommon
import
*
from
DerivationFrameworkCore.DerivationFrameworkMaster
import
DerivationFrameworkIsMonteCarlo
,
DerivationFrameworkJob
,
buildFileName
from
DerivationFrameworkJetEtMiss.JetCommon
import
OutputJets
,
addJetOutputs
from
DerivationFrameworkJetEtMiss.METCommon
import
addMETOutputs
#
if
DerivationFrameworkIsMonteCarlo
:
...
...
@@ -17,6 +14,8 @@ if DerivationFrameworkIsMonteCarlo:
MCTruthCommon
.
addBosonsAndDownstreamParticles
(
generations
=
4
,
rejectHadronChildren
=
True
)
MCTruthCommon
.
addTopQuarkAndDownstreamParticles
(
generations
=
4
,
rejectHadronChildren
=
True
)
from
DerivationFrameworkPhys
import
PhysCommon
#====================================================================
# SET UP STREAM
#====================================================================
...
...
@@ -68,31 +67,31 @@ jetm13Seq = CfgMgr.AthSequencer("JETM13Sequence")
DerivationFrameworkJob
+=
jetm13Seq
from
TrackCaloClusterRecTools.TrackCaloClusterConfig
import
runTCCReconstruction
runTCCReconstruction
(
jetm13Seq
,
ToolSvc
,
"
LCOriginTopoClusters
"
,
outputTCCName
=
"
TrackCaloClustersCombinedAndNeutral
"
)
#
from TrackCaloClusterRecTools.TrackCaloClusterConfig import runTCCReconstruction
#
runTCCReconstruction(jetm13Seq,ToolSvc, "LCOriginTopoClusters", outputTCCName="TrackCaloClustersCombinedAndNeutral")
# Add the necessary constituents for UFOs
from
JetRecTools.ConstModHelpers
import
getConstModSeq
,
xAOD
addCHSPFlowObjects
()
pflowCSSKSeq
=
getConstModSeq
([
"
CS
"
,
"
SK
"
],
"
EMPFlow
"
)
#
from JetRecTools.ConstModHelpers import getConstModSeq, xAOD
#
addCHSPFlowObjects()
#
pflowCSSKSeq = getConstModSeq(["CS","SK"], "EMPFlow")
# add the pflow cssk sequence to the main jetalg if not already there :
if
pflowCSSKSeq
.
getFullName
()
not
in
[
t
.
getFullName
()
for
t
in
DerivationFrameworkJob
.
jetalg
.
Tools
]:
DerivationFrameworkJob
.
jetalg
.
Tools
+=
[
pflowCSSKSeq
]
#
if pflowCSSKSeq.getFullName() not in [t.getFullName() for t in DerivationFrameworkJob.jetalg.Tools]:
#
DerivationFrameworkJob.jetalg.Tools += [pflowCSSKSeq]
# Finally we can run the UFO building taking our unified PFlow container as input
from
TrackCaloClusterRecTools.TrackCaloClusterConfig
import
runUFOReconstruction
emufoAlg
=
runUFOReconstruction
(
jetm13Seq
,
ToolSvc
,
PFOPrefix
=
"
CHS
"
,
caloClusterName
=
"
LCOriginTopoClusters
"
)
emcsskufoAlg
=
runUFOReconstruction
(
jetm13Seq
,
ToolSvc
,
PFOPrefix
=
"
CSSK
"
,
caloClusterName
=
"
LCOriginTopoClusters
"
)
#
from TrackCaloClusterRecTools.TrackCaloClusterConfig import runUFOReconstruction
#
emufoAlg = runUFOReconstruction(jetm13Seq,ToolSvc, PFOPrefix="CHS",caloClusterName="LCOriginTopoClusters")
#
emcsskufoAlg = runUFOReconstruction(jetm13Seq,ToolSvc, PFOPrefix="CSSK",caloClusterName="LCOriginTopoClusters")
#=======================================
# RESTORE AOD-REDUCED JET COLLECTIONS
#=======================================
OutputJets
[
"
JETM13
"
]
=
[]
reducedJetList
=
[
"
AntiKt4TruthJets
"
,
"
AntiKt10TruthJets
"
,]
replaceAODReducedJets
(
reducedJetList
,
jetm13Seq
,
"
JETM13
"
)
#
reducedJetList = ["AntiKt4TruthJets","AntiKt10TruthJets",]
#
replaceAODReducedJets(reducedJetList,jetm13Seq,"JETM13")
jetm13Seq
+=
CfgMgr
.
DerivationFramework__DerivationKernel
(
name
=
"
JETM13MainKernel
"
,
SkimmingTools
=
[],
...
...
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