Skip to content
Snippets Groups Projects
Commit 85f04e36 authored by Administrator's avatar Administrator
Browse files

Fix mvd qa macros

Correct target position. The macros were not adjusted for the shift of the
coordinate system. The origin is now in the middle of the magnet and not any
longer in the target. A shift of the target by -44 cm is needed.
parent 1fb1a27a
No related branches found
No related tags found
No related merge requests found
Pipeline #20737 passed
......@@ -83,7 +83,7 @@ void mvd_qa1_transUrqmd(const char* setup = "sis100_electron")
Double_t targetDiameter = 2.5; // diameter in cm
Double_t targetPosX = 0.; // target x position in global c.s. [cm]
Double_t targetPosY = 0.; // target y position in global c.s. [cm]
Double_t targetPosZ = 0.; // target z position in global c.s. [cm]
Double_t targetPosZ = -44.; // target z position in global c.s. [cm]
Double_t targetRotY = 0.; // target rotation angle around the y axis [deg]
// ------------------------------------------------------------------------
......
......@@ -84,7 +84,7 @@ void mvd_qa2_transDelta(const char* setup = "sis100_electron")
Double_t targetDiameter = 2.5; // diameter in cm
Double_t targetPosX = 0.; // target x position in global c.s. [cm]
Double_t targetPosY = 0.; // target y position in global c.s. [cm]
Double_t targetPosZ = 0.; // target z position in global c.s. [cm]
Double_t targetPosZ = -44.; // target z position in global c.s. [cm]
Double_t targetRotY = 0.; // target rotation angle around the y axis [deg]
// ------------------------------------------------------------------------
......@@ -146,7 +146,7 @@ void mvd_qa2_transDelta(const char* setup = "sis100_electron")
// ----- Create PrimaryGenerator --------------------------------------
FairPrimaryGenerator* primGen = new FairPrimaryGenerator();
FairIonGenerator* fIongen = new FairIonGenerator(79, 197, 79, 1, 0., 0., 25, 0., 0., -1.);
FairIonGenerator* fIongen = new FairIonGenerator(79, 197, 79, 1, 0., 0., 25, 0., 0., -45.);
primGen->AddGenerator(fIongen);
fRun->SetGenerator(primGen);
......
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