Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ecce
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
ecce
Merge requests
!1
Ecal barrel SciGlass work in progress
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Ecal barrel SciGlass work in progress
wdconinc-main-patch-85946
into
main
Overview
1
Commits
17
Pipelines
0
Changes
11
Merged
Wouter Deconinck
requested to merge
wdconinc-main-patch-85946
into
main
3 years ago
Overview
1
Commits
17
Pipelines
0
Changes
11
Expand
0
0
Merge request reports
Compare
main
version 12
eeec7c64
3 years ago
version 11
a187de44
3 years ago
version 10
5fb82996
3 years ago
version 9
9fe00355
3 years ago
version 8
9102e3b0
3 years ago
version 7
a4890047
3 years ago
version 6
8ac95669
3 years ago
version 5
79eb7a49
3 years ago
version 4
f567cf91
3 years ago
version 3
7c2f4711
3 years ago
version 2
a567e063
3 years ago
version 1
03e24bd4
3 years ago
main (base)
and
latest version
latest version
1012dbcd
17 commits,
3 years ago
version 12
eeec7c64
12 commits,
3 years ago
version 11
a187de44
11 commits,
3 years ago
version 10
5fb82996
10 commits,
3 years ago
version 9
9fe00355
9 commits,
3 years ago
version 8
9102e3b0
6 commits,
3 years ago
version 7
a4890047
5 commits,
3 years ago
version 6
8ac95669
4 commits,
3 years ago
version 5
79eb7a49
3 commits,
3 years ago
version 4
f567cf91
2 commits,
3 years ago
version 3
7c2f4711
2 commits,
3 years ago
version 2
a567e063
2 commits,
3 years ago
version 1
03e24bd4
1 commit,
3 years ago
11 files
+
615
−
208
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
11
Search (e.g. *.vue) (Ctrl+P)
bin/generate_prim_file
+
4
−
4
Options
@@ -72,9 +72,9 @@ args.compact = os.path.abspath(args.compact)
macro
=
os
.
path
.
abspath
(
macro
)
# adjust fiber radius to reduce the number of fibers
compact_dir
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
args
.
compact
))
ci_ecal
=
os
.
path
.
join
(
compact_dir
,
'
compact
'
,
'
ci_ecal_scfi.xml
'
)
os
.
system
(
'
sed -i
\'
s/radius=
\"
EcalEndcapP_FiberRadius
\"
/radius=
\"
EcalEndcapP_FiberRadius*10
\"
/
\'
{}
'
.
format
(
ci_ecal
))
#
compact_dir = os.path.dirname(os.path.realpath(args.compact))
#
ci_ecal = os.path.join(compact_dir, 'compact', 'ci_ecal_scfi.xml')
#
os.system('sed -i \'s/radius=\"EcalEndcapP_FiberRadius\"/radius=\"EcalEndcapP_FiberRadius*10\"/\' {}'.format(ci_ecal))
prim_file
=
'
g4_0000.prim
'
dawn_env
=
os
.
environ
.
copy
()
@@ -144,7 +144,7 @@ for proc in psutil.process_iter():
os
.
kill
(
pinfo
[
'
pid
'
],
signal
.
SIGTERM
)
# revert the change
os
.
system
(
'
sed -i
\'
s/radius=
\"
EcalEndcapP_FiberRadius*10
\"
/radius=
\"
EcalEndcapP_FiberRadius
\"
/
\'
{}
'
.
format
(
ci_ecal
))
#
os.system('sed -i \'s/radius=\"EcalEndcapP_FiberRadius*10\"/radius=\"EcalEndcapP_FiberRadius\"/\' {}'.format(ci_ecal))
line
=
b
'
stderr outputs:
\n
'
while
line
:
Loading