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
1fc3e02f
Commit
1fc3e02f
authored
4 years ago
by
Tulay Cuhadar Donszelmann
Browse files
Options
Downloads
Patches
Plain Diff
update validation test
parent
2f631f17
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Simulation/FastSimulation/FastChainPileup/test/test_g4ms_validation.sh
+24
-17
24 additions, 17 deletions
...stSimulation/FastChainPileup/test/test_g4ms_validation.sh
with
24 additions
and
17 deletions
Simulation/FastSimulation/FastChainPileup/test/test_g4ms_validation.sh
+
24
−
17
View file @
1fc3e02f
...
...
@@ -3,8 +3,10 @@
# art-description: test
#
# art-type: grid
# art-include: master/Athena
# art-input: mc16_13TeV.410470.PhPy8EG_A14_ttbar_hdamp258p75_nonallhad.merge.EVNT.e6337_e5984
# art-input-nfiles: 1
# art-cores: 10
# art-include: master/Athena
# art-output: *.root
# art-output: art_core*
# art-output: dcube-*
...
...
@@ -34,27 +36,32 @@ case $ArtProcess in
dcubeXmlNTUP
=
"/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/FastChainPileup/DCube-configs/
${
AtlasBuildBranch
}
/physval-validation.xml"
dcubeRefNTUP
=
"/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/FastChainPileup/DCube-refs/
${
AtlasBuildBranch
}
/test_g4ms_validation/
${
merge_ntup_file
}
"
dcubeRefAF2NTUP
=
"/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/FastChainPileup/DCube-refs/
${
AtlasBuildBranch
}
/test_af2_validation/physval_af2_validation_
all
.root"
dcubeRefAF2NTUP
=
"/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/FastChainPileup/DCube-refs/
${
AtlasBuildBranch
}
/test_af2_validation/physval_af2_validation_
merge
.root"
# Histogram comparison of G4MS with AF2 DCube
$ATLAS_LOCAL_ROOT
/dcube/current/DCubeClient/python/dcube.py
\
-p
-x
dcube-physval
\
-c
${
dcubeXmlNTUP
}
-r
${
dcubeRefNTUP
}
./
${
merge_ntup_file
}
echo
"art-result:
$?
dcube-physval"
$ATLAS_LOCAL_ROOT
/dcube/current/DCubeClient/python/dcube.py
\
-p
-x
dcube-physval
\
-c
${
dcubeXmlNTUP
}
-r
${
dcubeRefNTUP
}
./
${
merge_ntup_file
}
echo
"art-result:
$?
dcube-physval"
# Histogram comparison of G4MS with AF2 DCube
$ATLAS_LOCAL_ROOT
/dcube/current/DCubeClient/python/dcube.py
\
-p
-x
dcube-g4msVsaf2
\
-c
${
dcubeXmlNTUP
}
-r
${
dcubeRefAF2NTUP
}
./
${
merge_ntup_file
}
echo
"art-result:
$?
dcube-g4msVsaf2"
# Histogram comparison of G4MS with AF2 DCube
$ATLAS_LOCAL_ROOT
/dcube/current/DCubeClient/python/dcube.py
\
-p
-x
dcube-g4msVsaf2
\
-c
${
dcubeXmlNTUP
}
-r
${
dcubeRefAF2NTUP
}
./
${
merge_ntup_file
}
echo
"art-result:
$?
dcube-g4msVsaf2"
;;
*
)
echo
"Test
$ArtProcess
"
mkdir
"art_core_
${
ArtProcess
}
"
cd
"art_core_
${
ArtProcess
}
"
IFS
=
','
read
-r
-a
file
<<<
"
${
ArtInFile
}
"
file
=
${
file
[0]
}
x
=
"../
$file
"
max_events
=
1000
skip_events
=
$((${
max_events
}
*
${
ArtProcess
}))
...
...
@@ -64,7 +71,7 @@ case $ArtProcess in
unset
ATHENA_NUM_PROC
# Output files to be saved
hi
s
t_file
=
HITS_
${
ArtProcess
}
.pool.root
hit
s
_file
=
HITS_
${
ArtProcess
}
.pool.root
aod_file
=
AOD_
${
ArtProcess
}
.pool.root
ntup_file
=
physval_g4ms_
${
ArtProcess
}
.root
...
...
@@ -76,8 +83,8 @@ case $ArtProcess in
--preInclude
'EVNTtoHITS:SimulationJobOptions/preInclude.BeamPipeKill.py'
\
--preExec
'EVNTtoHITS:simFlags.TightMuonStepping=True'
\
--DataRunNumber
'284500'
--geometryVersion
'default:ATLAS-R2-2016-01-00-01'
\
--inputEVNTFile
=
'/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/FastChainPileup/mc16_13TeV.410470.PhPy8EG_A14_ttbar_hdamp258p75_nonallhad.merge.EVNT.e6337_e5984_tid12860049_00/EVNT.12860049._002516.pool.root.1'
\
--outputHITSFile
=
${
hi
s
t_file
}
\
--inputEVNTFile
=
${
x
}
\
--outputHITSFile
=
${
hit
s
_file
}
\
--maxEvents
${
max_events
}
--skipEvents
${
skip_events
}
\
--randomSeed
=
1234
--imf
False
rc
=
$?
...
...
@@ -85,7 +92,7 @@ case $ArtProcess in
if
[
$rc
-eq
0
]
then
Reco_tf.py
--autoConfiguration
'everything'
\
--inputHITSFile
=
${
hi
s
t_file
}
--conditionsTag
'default:OFLCOND-MC16-SDR-25'
\
--inputHITSFile
=
${
hit
s
_file
}
--conditionsTag
'default:OFLCOND-MC16-SDR-25'
\
--geometryVersion
'default:ATLAS-R2-2016-01-00-01'
\
--postExec
"all:CfgMgr.MessageSvc().setError+=['HepMcParticleLink']"
\
--postInclude
"default:PyJobTransforms/UseFrontier.py"
\
...
...
@@ -98,7 +105,7 @@ case $ArtProcess in
echo
"art-result:
$rc2
Reco_
${
ArtProcess
}
"
# if no problem, remove all files except the output files
fi
# for i in `ls | grep -v "${aod_file}\|${hi
s
t_file}\|${ntup_file}"` ; do rm -vrf $i; done
# for i in `ls | grep -v "${aod_file}\|${hit
s
_file}\|${ntup_file}"` ; do rm -vrf $i; done
for
i
in
`
ls
|
grep
-v
"
${
aod_file
}
\|
${
ntup_file
}
"
`
;
do
rm
-vrf
$i
;
done
...
...
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