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
49fc9675
Commit
49fc9675
authored
7 years ago
by
dhaliwal
Browse files
Options
Downloads
Patches
Plain Diff
DESDM_MCP modified to have flag that swtiches between toroid off/on runs
parent
1b06868f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
PhysicsAnalysis/PrimaryDPDMaker/python/PrimaryDESDMFlags_PerfMS.py
+10
-1
10 additions, 1 deletion
...alysis/PrimaryDPDMaker/python/PrimaryDESDMFlags_PerfMS.py
PhysicsAnalysis/PrimaryDPDMaker/share/PerfDESDM_MS.py
+30
-6
30 additions, 6 deletions
PhysicsAnalysis/PrimaryDPDMaker/share/PerfDESDM_MS.py
with
40 additions
and
7 deletions
PhysicsAnalysis/PrimaryDPDMaker/python/PrimaryDESDMFlags_PerfMS.py
+
10
−
1
View file @
49fc9675
...
...
@@ -46,9 +46,18 @@ primDPDAlignTrigMu=jobproperties.PrimaryDESDMFlags_PerfMSStream
#=====================================================================
##=============================================================================
## Define the content of the
Tight Muon output DPD
stream
## Define the content of the
DESDM_MCP
stream
##=============================================================================
## General switches
class
doAlignmentFormat
(
JobProperty
):
"""
Switch between Alignment and Trigger DESDM format. Default is Trigger.
"""
statusOn
=
True
allowedTypes
=
[
'
bool
'
]
StoredValue
=
False
pass
jobproperties
.
PrimaryDESDMFlags_PerfMSStream
.
add_JobProperty
(
doAlignmentFormat
)
class
ApplySkimming
(
JobProperty
):
"""
Apply the skimming (event selection) for muon performance DESDM
"""
statusOn
=
True
...
...
This diff is collapsed.
Click to expand it.
PhysicsAnalysis/PrimaryDPDMaker/share/PerfDESDM_MS.py
+
30
−
6
View file @
49fc9675
...
...
@@ -263,18 +263,34 @@ MuonHLTTrig_EventSkimmingTool=DerivationFramework__FilterCombinationAND(name="Mu
ToolSvc
+=
MuonHLTTrig_EventSkimmingTool
print
MuonHLTTrig_EventSkimmingTool
# ================================================
# ------------------------------------------------
# Final logical selection
# ------------------------------------------------
# ================================================
#EventFilterTool=DerivationFramework__FilterCombinationOR(name="EventFilterTool",FilterList=[MuonNoAlgTrig_EventSkimmingTool, OrthoTrig_EventSkimmingTool])
EventFilterTool
=
DerivationFramework__FilterCombinationOR
(
name
=
"
EventFilterTool
"
,
FilterList
=
[
MuonNoAlgTrig_EventSkimmingTool
,
OrthoTrig_EventSkimmingTool
,
JpsiTrig_EventSkimmingTool
,
MuonHLTTrig_EventSkimmingTool
])
ToolSvc
+=
EventFilterTool
print
EventFilterTool
desdAlignmentTriggerMuonSequence
+=
CfgMgr
.
DerivationFramework__DerivationKernel
(
"
EventSkimmingKernel
"
,
SkimmingTools
=
[
EventFilterTool
])
if
primDPDAlignTrigMu
.
doAlignmentFormat
():
# -------------------------------------------------------------------
# If running alignment format, want following selction:
# -------------------------------------------------------------------
AlignmentEventStringSkimmingTool
=
DerivationFramework__xAODStringSkimmingTool
(
name
=
"
AlignmentEventStringSkimmingTool
"
,
expression
=
"
(count(Muons.muonType == 0 && Muons.pt > 5*GeV) > 0)
"
)
ToolSvc
+=
AlignmentEventStringSkimmingTool
print
AlignmentEventStringSkimmingTool
desdAlignmentTriggerMuonSequence
+=
CfgMgr
.
DerivationFramework__DerivationKernel
(
"
EventSkimmingKernel
"
,
SkimmingTools
=
[
AlignmentEventStringSkimmingTool
])
else
:
EventFilterTool
=
DerivationFramework__FilterCombinationOR
(
name
=
"
EventFilterTool
"
,
FilterList
=
[
MuonNoAlgTrig_EventSkimmingTool
,
OrthoTrig_EventSkimmingTool
,
JpsiTrig_EventSkimmingTool
,
MuonHLTTrig_EventSkimmingTool
])
ToolSvc
+=
EventFilterTool
print
EventFilterTool
desdAlignmentTriggerMuonSequence
+=
CfgMgr
.
DerivationFramework__DerivationKernel
(
"
EventSkimmingKernel
"
,
SkimmingTools
=
[
EventFilterTool
])
# ------------------------
...
...
@@ -322,6 +338,11 @@ from PrimaryDPDMaker import PrimaryDPD_OutputDefinitions as dpdOutput
trackParticleAuxExclusions
=
"
-caloExtension.-cellAssociation.-clusterAssociation.-trackParameterCovarianceMatrices.-parameterX.-parameterY.-parameterZ.-parameterPX.-parameterPY.-parameterPZ.-parameterPosition
"
if
primDPDAlignTrigMu
.
doAlignmentFormat
():
trackParticleAuxExclusions
=
""
#General
AlignmentTriggerMuonStream
.
AddItem
([
"
xAOD::EventInfo#*
"
])
AlignmentTriggerMuonStream
.
AddItem
([
"
xAOD::EventAuxInfo#*
"
])
...
...
@@ -350,7 +371,10 @@ AlignmentTriggerMuonStream.AddItem(["Muon::MdtPrepDataContainer#*"])
#Alignment
AlignmentTriggerMuonStream
.
AddItem
([
"
Trk::SegmentCollection#MuonSegments
"
])
AlignmentTriggerMuonStream
.
AddItem
([
"
xAOD::VertexContainer#PrimaryVertices
"
])
AlignmentTriggerMuonStream
.
AddItem
([
"
xAOD::VertexAuxContainer#PrimaryVerticesAux.-vxTrackAtVertex
"
])
if
primDPDAlignTrigMu
.
doAlignmentFormat
():
AlignmentTriggerMuonStream
.
AddItem
([
"
xAOD::VertexAuxContainer#PrimaryVerticesAux.
"
])
else
:
AlignmentTriggerMuonStream
.
AddItem
([
"
xAOD::VertexAuxContainer#PrimaryVerticesAux.-vxTrackAtVertex
"
])
AlignmentTriggerMuonStream
.
AddItem
([
"
TrackCollection#MuonSpectrometerTracks
"
])
AlignmentTriggerMuonStream
.
AddItem
([
"
TrackCollection#CombinedMuonTracks
"
])
#AlignmentTriggerMuonStream.AddItem(["TrackCollection#Tracks"])
...
...
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