Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
EIC
detectors
topside
Commits
ea21e2b3
Commit
ea21e2b3
authored
Feb 27, 2021
by
Whitney Armstrong
Browse files
Make the test fail if overlaps are detected.
- Require no overlaps in ci.
parent
02d8368d
Pipeline
#6821
passed with stages
in 2 minutes and 55 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ea21e2b3
...
...
@@ -148,9 +148,10 @@ overlap_check:
-
[
"
compile"
]
script
:
#- $(exit $(checkOverlaps -c topside.xml | tee doc/overlap_check.out | wc -l ))
-
checkOverlaps -c topside.xml | tee doc/overlap_check.out | wc -l
-
cat doc/overlap_check.out
allow_failure
:
true
-
checkOverlaps -c topside.xml | tee doc/overlap_check.out
-
echo "$(cat doc/overlap_check.out | grep ovlp | wc -l) overlaps..."
-
if [[ "$(cat doc/overlap_check.out | grep ovlp | wc -l)" -gt "1" ]] ; then echo "Overlaps exist!" &&
false
; fi
# allow_failure
:
true
topside:config_testing:
...
...
topside/topside_defs.xml
View file @
ea21e2b3
...
...
@@ -320,7 +320,7 @@
------------
</comment>
<constant
name=
"EcalBarrel_rmin"
value=
"SiliconTrackerOuterRadius + 3.0 * cm"
/>
<constant
name=
"HcalBarrel_rmax"
value=
"Solenoid_rmin -
10
.0 *
m
m "
/>
<constant
name=
"HcalBarrel_rmax"
value=
"Solenoid_rmin -
5
.0 *
c
m "
/>
<constant
name=
"AvailTotalBarrelCalorimetryThickness"
value=
"HcalBarrel_rmax - EcalBarrel_rmin"
/>
<constant
name=
"CalBarrelDivider"
value=
"0.5"
/>
<!-- Ecal and Hcal have the same thickness -->
<constant
name=
"EcalBarrelAvailTotalThickness"
value=
"AvailTotalBarrelCalorimetryThickness * CalBarrelDivider"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment