Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
athena
Manage
Activity
Members
Labels
Plan
Issues
38
Issue boards
Milestones
Wiki
Code
Merge requests
34
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
EIC
detectors
athena
Commits
b64aee03
Commit
b64aee03
authored
3 years ago
by
Whitney Armstrong
Browse files
Options
Downloads
Patches
Plain Diff
Added detailed check of acts tracking geometry
parent
9c0c68de
No related branches found
Branches containing commit
No related tags found
1 merge request
!101
Added detailed check of acts tracking geometry
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
bin/acts_geo_check
+24
-0
24 additions, 0 deletions
bin/acts_geo_check
with
25 additions
and
1 deletion
.gitlab-ci.yml
+
1
−
1
View file @
b64aee03
...
@@ -175,11 +175,11 @@ convert_to_gdml:
...
@@ -175,11 +175,11 @@ convert_to_gdml:
tracking_geometry_debug
:
tracking_geometry_debug
:
stage
:
test
stage
:
test
allow_failure
:
true
needs
:
needs
:
-
[
"
common:detector"
]
-
[
"
common:detector"
]
script
:
script
:
-
root -b -q "scripts/test_ACTS.cxx+(\"${DETECTOR_PATH}/athena.xml\")" | tee geo/tracking_geometry_debug.out
-
root -b -q "scripts/test_ACTS.cxx+(\"${DETECTOR_PATH}/athena.xml\")" | tee geo/tracking_geometry_debug.out
-
./bin/acts_geo_check geo/tracking_geometry_debug.out
detector:config_testing
:
detector:config_testing
:
stage
:
test
stage
:
test
...
...
This diff is collapsed.
Click to expand it.
bin/acts_geo_check
0 → 100755
+
24
−
0
View file @
b64aee03
#!/bin/bash
logfile
=
$1
# parse the verobse output of scripts/test_ACTS.cxx
res
=
0
nlines
=
$(
grep
-in
error
${
logfile
}
|
grep
-in
D2A_ |
wc
-l
)
if
[[
"
$nlines
"
>
"0"
]]
;
then
echo
" ACTS geometry error: "
grep
-in
error
${
logfile
}
|
grep
-in
D2A_
res
=
"1"
fi
nlines
=
$(
grep
-in
warn
${
logfile
}
|
grep
-in
D2A_ |
wc
-l
)
if
[[
"
$nlines
"
>
"0"
]]
;
then
echo
" ACTS geometry error: "
grep
-in
warn
${
logfile
}
|
grep
-in
D2A_
res
=
"1"
fi
exit
${
res
}
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