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
40db12bf
Commit
40db12bf
authored
1 year ago
by
Walter Lampl
Browse files
Options
Downloads
Patches
Plain Diff
remove LumiCalc_twoFinalStates.py
parent
22f3e47c
No related branches found
No related tags found
2 merge requests
!69769
2024-03-13: merge of 24.0 into main
,
!69742
Remove broken jobO files from DataQuality/GoodRunsListsUser
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DataQuality/GoodRunsListsUser/share/LumiCalc_twoFinalStates.py
+0
-91
0 additions, 91 deletions
...uality/GoodRunsListsUser/share/LumiCalc_twoFinalStates.py
with
0 additions
and
91 deletions
DataQuality/GoodRunsListsUser/share/LumiCalc_twoFinalStates.py
deleted
100644 → 0
+
0
−
91
View file @
22f3e47c
########################################
# Job to run RecExCommon, schedule
# LumiBlockMetaDataTool
# but don't write out any AOD outputfile
########################################
include
(
"
AMAAthena/Trigger_jobOptions.py
"
)
########################################
# the Input AOD File
from
AthenaCommon.AthenaCommonFlags
import
athenaCommonFlags
athenaCommonFlags
.
PoolAODInput
=
[
"
/afs/cern.ch/user/r/radbal/scratch0/data/TopMix/user.RichardHawkings.0108175.topmix_Muon.AOD.v4._00057.pool.root
"
]
# the EvtMax
if
not
vars
().
has_key
(
'
EvtMax
'
):
EvtMax
=
-
1
athenaCommonFlags
.
EvtMax
=
EvtMax
# Configure the goodrunslist selector tool
from
GoodRunsLists.GoodRunsListsConf
import
*
ToolSvc
+=
TriggerRegistryTool
()
ToolSvc
+=
GoodRunsListSelectorTool
()
GoodRunsListSelectorTool
.
GoodRunsListVec
=
[
'
grl1.xml
'
,
'
grl2.xml
'
,
'
grl3.xml
'
]
GoodRunsListSelectorTool
.
BlackRunsListVec
=
[
'
blacklist1.xml
'
]
#GoodRunsListSelectorTool.OutputLevel = DEBUG
# add LumiBlockMetaDataTool and configure
from
GoodRunsListsUser.GoodRunsListsUserConf
import
DummyDumperAlg
from
LumiBlockComps.LumiBlockCompsConf
import
LumiBlockMetaDataTool
ToolSvc
+=
LumiBlockMetaDataTool
(
"
LumiBlockMetaDataTool
"
)
## This Athena job consists of algorithms that loop over events;
## here, the (default) top sequence is used:
from
AthenaCommon.AlgSequence
import
AlgSequence
,
AthSequencer
job
=
AlgSequence
()
job
+=
AthSequencer
(
"
ModSequence1
"
)
job
+=
AthSequencer
(
"
ModSequence2
"
)
## GRL selector
job
.
ModSequence1
+=
GRLTriggerSelectorAlg
(
'
GRLTriggerAlg1
'
)
job
.
ModSequence1
.
GRLTriggerAlg1
.
GoodRunsListArray
=
[
'
grl1
'
]
job
.
ModSequence1
.
GRLTriggerAlg1
.
BlackRunsListArray
=
[
'
blacklist1
'
]
job
.
ModSequence1
.
GRLTriggerAlg1
.
TriggerSelection
=
'
EF_mu20
'
#job.ModSequence1.GRLTriggerAlg1.OutputLevel = DEBUG
job
.
ModSequence1
+=
DummyDumperAlg
(
'
DummyDumperAlg1
'
)
# job.ModSequence1.DummyDumperAlg1.RootFileName = 'file1.root'
THistSvc
.
Output
=
{
"
new DATAFILE=
'
file1.root
'
TYP=
'
ROOT
'
OPT=
'
NEW
'"
};
job
.
ModSequence1
.
DummyDumperAlg1
.
GRLNameVec
=
[
'
LumiBlocks_GoodDQ0
'
,
'
IncompleteLumiBlocks_GoodDQ0
'
]
## GRL selector
job
.
ModSequence2
+=
GRLTriggerSelectorAlg
(
'
GRLTriggerAlg2
'
)
job
.
ModSequence2
.
GRLTriggerAlg2
.
GoodRunsListArray
=
[
'
grl2
'
,
'
grl3
'
]
job
.
ModSequence2
.
GRLTriggerAlg2
.
TriggerSelection
=
'
EF_e20_loose_passEF || EF_e20_loose
'
#job.ModSequence2.GRLTriggerAlg2.OutputLevel = DEBUG
job
.
ModSequence2
+=
DummyDumperAlg
(
'
DummyDumperAlg2
'
)
# job.ModSequence2.DummyDumperAlg2.RootFileName = 'file2.root'
THistSvc
.
Output
=
{
"
new DATAFILE=
'
file2.root
'
TYP=
'
ROOT
'
OPT=
'
NEW
'"
};
job
.
ModSequence2
.
DummyDumperAlg2
.
GRLNameVec
=
[
'
LumiBlocks_GoodDQ1
'
,
'
IncompleteLumiBlocks_GoodDQ1
'
]
# Either use aodtoaod.py as it is
#include ("RecExCommon/aodtoaod.py")
# Or work directly on RecExCommon_topOptions.py
# turn OFF most flags for RecExCommon, no output files
doCBNT
=
False
doWriteRDO
=
False
doWriteESD
=
False
doWriteAOD
=
False
doAOD
=
False
doWriteTAG
=
False
readAOD
=
True
# turn ON these 2 flags
doDPD
=
True
doFileMetaData
=
True
# execute RecExCommon
include
(
"
RecExCommon/RecExCommon_topOptions.py
"
)
# reduce POOL verbosity
os
.
environ
[
'
POOL_OUTMSG_LEVEL
'
]
=
'
WARNING
'
os
.
environ
[
'
CORAL_MSGLEVEL
'
]
=
'
WARNING
'
# This is need for PANDA Grid job
#xfile = open('dummy.txt','w')
#xfile.write('a')
#xfile.close()
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