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
Merge requests
!69807
HIGlobal: delete legacy flags and utilities
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
HIGlobal: delete legacy flags and utilities
fwinkl/athena:hiflags
into
24.0
Overview
4
Commits
1
Pipelines
1
Changes
2
Merged
Frank Winklmeier
requested to merge
fwinkl/athena:hiflags
into
24.0
1 year ago
Overview
4
Commits
1
Pipelines
1
Changes
2
Expand
Delete unused legacy code.
0
0
Merge request reports
Compare
24.0
24.0 (base)
and
latest version
latest version
27aa9d1b
1 commit,
1 year ago
2 files
+
0
−
183
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
Reconstruction/HeavyIonRec/HIGlobal/python/HIGlobalFlags.py deleted
100644 → 0
+
0
−
160
Options
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
# @file: HIGlobalFlags.py
# @purpose: a container of flags for Heavy Ion Reconstruction of Global variables
# @author: Andrzej Olszewski <Andrzej.Olszewski@ifj.edu.pl>
"""
A container of flags for heavy ion global reconstruction
"""
#
#
__author__
=
'
Andrzej Olszewski
'
__version__
=
"
$Revision: 1.3 $
"
__doc__
=
"
A container of flags for Heavy Ion Reconstruction of Globals
"
from
AthenaCommon.JobProperties
import
JobProperty
,
JobPropertyContainer
from
AthenaCommon.JobProperties
import
jobproperties
class
doHIGlobalVars
(
JobProperty
):
"""
Run heavy ion global variable reconstruction
"""
statusOn
=
True
allowedTypes
=
[
'
bool
'
]
StoredValue
=
True
class
doHIFlow
(
JobProperty
):
"""
Switch for HIFlow
"""
statusOn
=
True
allowedTypes
=
[
'
bool
'
]
StoredValue
=
True
class
NumFlowHarmonics
(
JobProperty
):
"""
Min n to include in vn analysis
"""
statusOn
=
True
allowedTypes
=
[
'
int
'
]
StoredValue
=
7
class
HIFlowContainerPrefix
(
JobProperty
):
"""
Max n to include in vn analysis
"""
statusOn
=
True
allowedTypes
=
[
'
str
'
]
StoredValue
=
'
HIFlowData_v
'
class
doHICentrality
(
JobProperty
):
"""
Switch for HICentrality
"""
statusOn
=
True
allowedTypes
=
[
'
bool
'
]
StoredValue
=
True
class
doHITRT
(
JobProperty
):
"""
Switch for HITRT
"""
statusOn
=
True
allowedTypes
=
[
'
bool
'
]
StoredValue
=
True
class
doHIPixelTracklet
(
JobProperty
):
"""
Run heavy ion pixel tracklet reconstruction
"""
statusOn
=
True
allowedTypes
=
[
'
bool
'
]
StoredValue
=
True
class
doHIGlobalNSiCluster
(
JobProperty
):
"""
Switch for HIGlobalNSiCluster
"""
statusOn
=
True
allowedTypes
=
[
'
bool
'
]
StoredValue
=
True
class
EventShapeKey
(
JobProperty
):
"""
Name of HIEventShape object container
"""
statusOn
=
True
allowedTypes
=
[
'
string
'
]
StoredValue
=
"
HIEventShape
"
class
EventShapeSummaryKey
(
JobProperty
):
"""
Name of HIEventShape object container containing summary info
"""
statusOn
=
True
allowedTypes
=
[
'
string
'
]
StoredValue
=
'
CaloSums
'
class
SummarySubCalos
(
JobProperty
):
"""
List of SubCalos to be written in summary
"""
statusOn
=
True
allowedTypes
=
[
'
list
'
]
StoredValue
=
[
'
FCal
'
,
'
EMCal
'
,
'
HCal
'
,
'
ALL
'
]
class
SummarySamplings
(
JobProperty
):
"""
List of samplings to be written in summary
"""
statusOn
=
True
allowedTypes
=
[
'
list
'
]
StoredValue
=
[
'
FCAL0
'
,
'
FCAL1
'
,
'
FCAL2
'
]
class
DoSummary
(
JobProperty
):
"""
Add extra HIEventShapeContainer containing summary
"""
statusOn
=
True
allowedTypes
=
[
'
bool
'
]
StoredValue
=
True
class
SummaryPN
(
JobProperty
):
"""
Compute separate summaries for positive and negative eta
"""
statusOn
=
True
allowedTypes
=
[
'
bool
'
]
StoredValue
=
False
class
HIGlobalItemList
(
JobProperty
):
"""
List of items to be written to AOD, initially empty but filled based on configuration
"""
statusOn
=
True
allowedTypes
=
[
'
list
'
]
StoredValue
=
[]
# Defines the container for heavy ion reco flags
class
HIGlobalFlags
(
JobPropertyContainer
):
"""
The global heavy ion reconstruction flag/job property container.
"""
pass
# add the flags container to the top container
jobproperties
.
add_Container
(
HIGlobalFlags
)
# We want always the following flags in the container
list_jobproperties
=
[
doHIGlobalVars
,
doHIFlow
,
doHICentrality
,
doHITRT
,
doHIPixelTracklet
,
doHIGlobalNSiCluster
,
NumFlowHarmonics
,
HIFlowContainerPrefix
,
EventShapeKey
,
DoSummary
,
EventShapeSummaryKey
,
SummarySubCalos
,
SummarySamplings
,
SummaryPN
,
HIGlobalItemList
]
for
i
in
list_jobproperties
:
jobproperties
.
HIGlobalFlags
.
add_JobProperty
(
i
)
## module clean-up
del
list_jobproperties
Loading