Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Computing
cbmroot
Merge requests
!1764
Fix for Error with Geant4 optical properties when using Geant4 11.2
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix for Error with Geant4 optical properties when using Geant4 11.2
s.neuhaus/cbmroot:cherry-pick-d1236c3a
into
master
Overview
4
Commits
1
Pipelines
1
Changes
1
Merged
Simon Neuhaus
requested to merge
s.neuhaus/cbmroot:cherry-pick-d1236c3a
into
master
1 year ago
Overview
4
Commits
1
Pipelines
1
Changes
1
Expand
Fix order of energyAr and reflectivityAr in CbmRich.cxx
0
0
Merge request reports
Compare
master
version 1
09e2cb74
1 year ago
master (base)
and
latest version
latest version
935381a4
1 commit,
1 year ago
version 1
09e2cb74
1 commit,
1 year ago
1 file
+
10
−
10
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
sim/detectors/rich/CbmRich.cxx
+
10
−
10
Options
@@ -314,22 +314,22 @@ void CbmRich::SetRichGlassPropertiesForGeant4()
}
std
::
vector
<
Double_t
>
energyAr
=
{
6.1
99
7
,
5.9045
,
5.6361
,
5.391
,
5.1664
,
4.9598
,
4.769
,
4.5924
,
4.4284
,
4.2757
,
4.1331
,
3.9998
,
3
.8
748
,
3.7574
,
3.6469
,
3.5427
,
3.4443
,
3.3512
,
3.263
,
3.1793
,
3.0
99
8
,
3
.0
242
,
2.
9522
,
2.
883
6
,
2.
8
18
,
2.75
5
4
,
2.
6955
,
2.6382
,
2.5832
,
2.5305
,
2.4799
,
2.4313
,
2.3845
,
2.3395
,
2.2962
,
2.
254
4
,
2.
2142
,
2.1753
,
2.1378
,
2.1016
,
2
.0
666
,
2.0327
,
1.9999
,
1.9682
,
1.9374
,
1.9076
,
1.8787
,
1.8507
,
1
.8
234
,
1.797
,
1.7713
,
1.7464
,
1.7221
,
1.6985
,
1.6756
,
1.6533
,
1.6315
,
1.6
10
3
,
1.5897
,
1.5695
,
1.54
99
};
1.54
99
,
1.5695
,
1.5897
,
1.6103
,
1.6315
,
1.6533
,
1.6756
,
1.6985
,
1.7221
,
1.7464
,
1.7713
,
1.7970
,
1
.8
234
,
1.8507
,
1.8787
,
1.9076
,
1.9374
,
1.9682
,
1.99
99
,
2
.0
327
,
2.
0666
,
2.
101
6
,
2.1
37
8
,
2.
1
75
3
,
2.2142
,
2.254
4
,
2.
2962
,
2.3395
,
2.3845
,
2.4313
,
2.4799
,
2.5305
,
2.5832
,
2.6382
,
2.6955
,
2.
755
4
,
2.
8180
,
2.8836
,
2.9522
,
3.0242
,
3
.0
998
,
3.1793
,
3.2630
,
3.3512
,
3.4443
,
3.5427
,
3.6469
,
3.7574
,
3
.8
748
,
3.9998
,
4.1331
,
4.2757
,
4.4284
,
4.5924
,
4.7690
,
4.9598
,
5.1664
,
5.39
10
,
5.6361
,
5.9045
,
6.1
99
7
};
// Transform to GeV
for
(
Double_t
&
energy
:
energyAr
)
{
energy
*=
1.e-9
;
}
std
::
vector
<
Double_t
>
reflectivityAr
=
{
0.
2252
9
,
0.1
862
,
0.15
901
,
0.14
71
3
,
0.1
3963
,
0.1
3898
,
0.137
62
,
0.13
622
,
0.13
868
,
0.13
951
,
0.1
40
31
,
0.1
4073
,
0.1
409
,
0.1
3977
,
0.1
4205
,
0.1
4072
,
0.1
396
,
0.1
3826
,
0.1
3665
,
0.1
351
3
,
0.1
3463
,
0.1
3287
,
0.1
3182
,
0.1
3084
,
0.1
2824
,
0.12
6
01
,
0.1
2622
,
0.12681
,
0.1219
3
,
0.12011
,
0.121
0
9
,
0.1
1908
,
0.1
15
26
,
0.1
1364
,
0.11385
,
0.12
015
,
0.1
1935
,
0.11712
,
0.1
208
,
0.1
2021
,
0.1
1909
,
0.1
178
3
,
0.1
2257
,
0.1
215
,
0.12199
,
0.1
2494
,
0.1
3101
,
0.1
2089
,
0.1
2284
,
0.1
2569
,
0.131
36
,
0.13
307
,
0.13
705
,
0.13
844
,
0.137
53
,
0.1
4416
,
0.1
4761
,
0.14
95
3
,
0.15
218
,
0.1
5315
,
0.1571
9
};
0.
1571
9
,
0.1
5315
,
0.15
218
,
0.14
95
3
,
0.1
4761
,
0.1
4416
,
0.137
53
,
0.13
844
,
0.13
705
,
0.13
307
,
0.131
36
,
0.1
2569
,
0.1
2284
,
0.1
2089
,
0.1
3101
,
0.1
2494
,
0.1
2199
,
0.1
2150
,
0.1
2257
,
0.1
178
3
,
0.1
1909
,
0.1
2021
,
0.1
2080
,
0.1
1712
,
0.1
1935
,
0.1201
5
,
0.1
1385
,
0.11364
,
0.11526
,
0.11908
,
0.121
0
9
,
0.12011
,
0.1219
3
,
0.1
2681
,
0.126
22
,
0.1
2601
,
0.12
824
,
0.1
3084
,
0.1
3182
,
0.1
3287
,
0.1
3463
,
0.1
351
3
,
0.1
3665
,
0.1
3826
,
0.13960
,
0.1
4072
,
0.1
4205
,
0.1
3977
,
0.1
4090
,
0.1
4073
,
0.1
40
31
,
0.13
951
,
0.13
868
,
0.13
622
,
0.137
62
,
0.1
3898
,
0.1
3963
,
0.14
71
3
,
0.15
901
,
0.1
8620
,
0.2252
9
};
for
(
Double_t
&
reflectivity
:
reflectivityAr
)
{
reflectivity
=
1.
-
reflectivity
;
Loading