diff --git a/external/InstallGeometry.cmake b/external/InstallGeometry.cmake index 0dec4c411f5405d035a88219a7a6e01ac5d6a651..6220c484f29f0e8e5f41497d49df30d8f7da4fb1 100644 --- a/external/InstallGeometry.cmake +++ b/external/InstallGeometry.cmake @@ -1,4 +1,4 @@ -set(GEOMETRY_VERSION 53266cad5da6c85d242d8ce4d87882b401a6eb8e) +set(GEOMETRY_VERSION 41b97faa49d7a0d84e1d65ad5d4f1d4f5de3f53f) set(GEOMETRY_SRC_URL "https://git.cbm.gsi.de/CbmSoft/cbmroot_geometry.git") diff --git a/macro/run/run_tra_beam.C b/macro/run/run_tra_beam.C index ad354b132ce3bd4d9e9da681798ce4423cb27289..2b8f5c90155c5ce8530d7445beb825d4b63ba420 100644 --- a/macro/run/run_tra_beam.C +++ b/macro/run/run_tra_beam.C @@ -59,7 +59,7 @@ **/ void run_tra_beam(Int_t nEvents = 1, const char* species = "Au", Double_t beamP = 12., Double_t beamStartZ = -1., const char* output = "beam", const char* setup = "sis100_electron", ECbmEngine engine = kGeant3, - int randomSeed = 0, Bool_t overwrite = kFALSE) + int randomSeed = 0, Bool_t overwrite = kTRUE) { // --- Logger settings ---------------------------------------------------- @@ -138,16 +138,10 @@ void run_tra_beam(Int_t nEvents = 1, const char* species = "Au", Double_t beamP // ------------------------------------------------------------------------ // ----- Target properties ----------------------------------------------- - Double_t targetZpos = -40.0; - // The target position is at z=0 for the old coordinate system but is intended - // to be moved to -4cm in the DEC21 release. The global coordinate system will - // also shift from the old target position to the center of the magnet which - // is a net displacement of -40 cm. In terms of the new coordainte system - // the target is therefore to be at -44 cm. In order not to cause forgetting - // we will automate the shifting process for a short time, until the full move - // has been completed. - if (strstr(setup, "_APR21")) targetZpos = 0.0; - if (strstr(setup, "_DEC21")) targetZpos = -44.0; + Double_t targetZpos = -44.0; + // According to a Technical Board decision in April 2020, the target is + // moved upstream by 4cm. The target is therefore 44cm from the centre of + // the magnet. std::cout << "Target is at " << targetZpos << "cm from origin" << std::endl; // ------------------------------------------------------------------------ diff --git a/macro/run/run_tra_file.C b/macro/run/run_tra_file.C index 30d930169bfba1a7c795e8b7521cd9835f8eef81..ffd5b3deee93e9dc50054b641262630f55b5fee8 100644 --- a/macro/run/run_tra_file.C +++ b/macro/run/run_tra_file.C @@ -70,7 +70,7 @@ **/ void run_tra_file(const char* input = "", Int_t nEvents = 1, const char* output = "", const char* setup = "sis100_electron", ECbmEngine engine = kGeant3, int randomSeed = 0, - Bool_t overwrite = kFALSE) + Bool_t overwrite = kTRUE) { // --- Logger settings ---------------------------------------------------- @@ -112,16 +112,8 @@ void run_tra_file(const char* input = "", Int_t nEvents = 1, const char* output Double_t targetThickness = 0.025; // in cm Double_t targetDiameter = 2.5; // in cm - Double_t targetZpos = -40.0; - // The target position is at z=0 for the old coordinate system but is intended - // to be moved to -4cm in the DEC21 release. The global coordinate system will - // also shift from the old target position to the center of the magnet which - // is a net displacement of -40 cm. In terms of the new coordainte system - // the target is therefore to be at -44 cm. In order not to cause forgetting - // we will automate the shifting process for a short time, until the full move - // has been completed. - if (strstr(setup, "_APR21")) targetZpos = 0.0; - if (strstr(setup, "_DEC21")) targetZpos = -44.0; + Double_t targetZpos = -44.0; + // The target is at -44 cm from the centre of the magnet. std::cout << "Target is at " << targetZpos << "cm from origin" << std::endl; // ------------------------------------------------------------------------