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
Commits
789254bc
Commit
789254bc
authored
3 years ago
by
David Emschermann
Browse files
Options
Downloads
Patches
Plain Diff
fine-tune RICH v21b, refs
#2459
parent
422c707e
No related branches found
No related tags found
1 merge request
!757
Add RICH, TRD and MUCH geometries, with correct positions for the mCBM Carbon run of 2022 03 09, refs #2456 refs #2432 refs #2459 refs #2462
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
macro/mcbm/geometry/rich/create_rich_v21b_mcbm.C
+3
-3
3 additions, 3 deletions
macro/mcbm/geometry/rich/create_rich_v21b_mcbm.C
with
3 additions
and
3 deletions
macro/mcbm/geometry/rich/create_rich_v21b_mcbm.C
+
3
−
3
View file @
789254bc
...
...
@@ -33,15 +33,15 @@ void create_rich_v21b_mcbm()
TString
geoFileName
=
"rich_v21b_mcbm.geo.root"
;
TString
topNodeName
=
"rich_v21b_mcbm"
;
// displace RICH module along the rails on the TOF frame
Double_t
XOffset
=
0
;
Double_t
ZOffset
=
0
;
// displace RICH module along the rails on the TOF frame
Double_t
displacement_along_rails
=
-
20
.
0
;
// cm for Carbon-12 run
Double_t
support_frame_rotation_angle
=
12
.
5
;
// degrees
XOffset
=
+
displacement_along_rails
*
cos
(
support_frame_rotation_angle
*
acos
(
-
1
)
/
180
);
ZOffset
=
-
displacement_along_rails
*
sin
(
support_frame_rotation_angle
*
acos
(
-
1
)
/
180
);
XOffset
+
=
+
displacement_along_rails
*
cos
(
support_frame_rotation_angle
*
acos
(
-
1
)
/
180
);
ZOffset
+
=
-
displacement_along_rails
*
sin
(
support_frame_rotation_angle
*
acos
(
-
1
)
/
180
);
// end of displacement along the rails
FairGeoLoader
*
geoLoad
=
new
FairGeoLoader
(
"TGeo"
,
"FairGeoLoader"
);
...
...
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