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
Peter Sherwood
athena
Commits
e9f4f49e
Commit
e9f4f49e
authored
6 years ago
by
Tomasz Bold
Committed by
Adam Edward Barton
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
cleaned New JO main file a bit
parent
aa9519eb
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Control/AthenaConfiguration/python/ComponentAccumulator.py
+6
-3
6 additions, 3 deletions
Control/AthenaConfiguration/python/ComponentAccumulator.py
Trigger/TrigValidation/TrigUpgradeTest/share/newJOtest.py
+4
-41
4 additions, 41 deletions
Trigger/TrigValidation/TrigUpgradeTest/share/newJOtest.py
with
10 additions
and
44 deletions
Control/AthenaConfiguration/python/ComponentAccumulator.py
+
6
−
3
View file @
e9f4f49e
...
...
@@ -548,7 +548,7 @@ class ComponentAccumulator(object):
# if local bootstrap is missing, use one from the release
bsfilename
=
find_datafile
(
"
bootstrap.pkl
"
)
else
:
bsfilename
=
localbs
[
0
]
bsfilename
=
"
./
"
+
localbs
[
0
]
bsfile
=
open
(
bsfilename
)
self
.
_jocat
=
pickle
.
load
(
bsfile
)
...
...
@@ -565,8 +565,11 @@ class ComponentAccumulator(object):
evtalgseq
.
append
(
alg
.
getFullName
()
)
for
seqName
,
algoList
in
flatSequencers
(
self
.
_sequence
).
iteritems
():
self
.
_jocat
[
seqName
][
"
Members
"
]
=
str
(
[
alg
.
getFullName
()
for
alg
in
algoList
]
)
for
seqName
,
algoList
in
flatSequencers
(
self
.
_sequence
).
iteritems
():
# part of the sequence may come from the bootstrap, we need to retain the content, that is done here
mergedSequence
=
ast
.
literal_eval
(
self
.
_jocat
[
seqName
][
"
Members
"
])
+
[
alg
.
getFullName
()
for
alg
in
algoList
]
self
.
_jocat
[
seqName
][
"
Members
"
]
=
str
(
mergedSequence
)
#Conditions Algorithms:
condalgseq
=
[]
...
...
This diff is collapsed.
Click to expand it.
Trigger/TrigValidation/TrigUpgradeTest/share/newJOtest.py
+
4
−
41
View file @
e9f4f49e
...
...
@@ -3,7 +3,7 @@
#
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
from
AthenaConfiguration.AllConfigFlags
import
ConfigFlags
from
AthenaConfiguration.AllConfigFlags
import
ConfigFlags
as
flags
from
AthenaCommon.CFElements
import
parOR
,
seqOR
,
seqAND
,
stepSeq
from
AthenaCommon.AlgSequence
import
dumpMasterSequence
from
AthenaCommon.AppMgr
import
theApp
...
...
@@ -14,7 +14,7 @@ from AthenaCommon.Configurable import Configurable
Configurable
.
configurableRun3Behavior
=
1
flags
=
ConfigFlags
setupMenu
(
flags
)
...
...
@@ -30,33 +30,9 @@ flags.lock()
from
AthenaCommon.Constants
import
INFO
,
DEBUG
acc
=
ComponentAccumulator
()
# make sure we run the right scheduler
# need to move elsewhere
nThreads
=
1
from
StoreGate.StoreGateConf
import
SG__HiveMgrSvc
eventDataSvc
=
SG__HiveMgrSvc
(
"
EventDataSvc
"
)
eventDataSvc
.
NSlots
=
nThreads
eventDataSvc
.
OutputLevel
=
DEBUG
acc
.
addService
(
eventDataSvc
)
from
SGComps.SGCompsConf
import
SGInputLoader
inputLoader
=
SGInputLoader
(
DetStore
=
'
StoreGateSvc/DetectorStore
'
,
EvtStore
=
'
StoreGateSvc
'
,
ExtraInputs
=
[],
ExtraOutputs
=
[],
FailIfNoProxy
=
False
,
Load
=
[],
NeededResources
=
[])
acc
.
addEventAlgo
(
inputLoader
)
from
ByteStreamCnvSvc.ByteStreamConfig
import
TrigBSReadCfg
acc
.
merge
(
TrigBSReadCfg
(
flags
))
#from AtlasGeoModel.GeoModelConfig import GeoModelCfg
#acc.merge(GeoModelCfg(flags ))
from
TrigUpgradeTest.TriggerHistSvcConfig
import
TriggerHistSvcConfig
acc
.
merge
(
TriggerHistSvcConfig
(
flags
))
...
...
@@ -66,22 +42,9 @@ from TriggerMenuMT.HLTMenuConfig.Menu.GenerateMenuMT_newJO import generateMenu
from
TriggerJobOpts.TriggerConfig
import
triggerRunCfg
acc
.
merge
(
triggerRunCfg
(
flags
,
generateMenu
)
)
from
EventInfoMgt.EventInfoMgtConf
import
TagInfoMgr
tagInfoMgr
=
TagInfoMgr
()
tagInfoMgr
.
ExtraTagValuePairs
=
[
'
AtlasRelease
'
,
'
Athena-22.0.1
'
]
# this has to come from somewhere else
acc
.
addService
(
tagInfoMgr
)
acc
.
getService
(
"
EventPersistencySvc
"
).
CnvServices
+=
[
tagInfoMgr
.
getName
()
]
acc
.
getService
(
"
ProxyProviderSvc
"
).
ProviderNames
+=
[
tagInfoMgr
.
getName
()
]
acc
.
getService
(
"
IOVDbSvc
"
).
Folders
+=
[
'
/TagInfo<metaOnly/>
'
]
# setup algorithm sequences here, need few additional components
# TODO take care of merging RegSel, and remove it from here
from
RegionSelector.RegSelConfig
import
RegSelConfig
rsc
,
regSel
=
RegSelConfig
(
ConfigF
lags
)
rsc
,
regSel
=
RegSelConfig
(
f
lags
)
regSel
.
enableCalo
=
True
regSel
.
enableID
=
False
regSel
.
enablePixel
=
False
...
...
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