Skip to content
Snippets Groups Projects
Commit 789254bc authored by David Emschermann's avatar David Emschermann
Browse files

fine-tune RICH v21b, refs #2459

parent 422c707e
No related branches found
No related tags found
1 merge request!757Add 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
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment