Commit 0c2fcd8b authored by Eoin Clerkin's avatar Eoin Clerkin
Browse files

New Setup Files

Electron, Hadron, JPSI and LMVM setups use new coordinate system, each dectector is written
with reference to the centre of the magnet, instead of the old target position.

Old setup_sis100_[electron,hadron,jpsi,hadron.C renamed to
setup_sis100_[electron,hadron,jpsi,hadron]_APR21.C with the intenstion that they
will be deleted in the near future.

Candidate default geometries for the DEC21 SW release are available at setup_sis100_electron_DEC21.C
and similarily for other setups.

long_sts setup is removed from setup directory.
parent 9a14b90c
No preview for this file type
......@@ -6,6 +6,7 @@
**
**/
// 2021-12-15 - EC - For V&V, all APR21 geometries are shifted by 40cm.
// 2020-04-23 - FU - Use exported TOF geometry v16d (same as v16c but
// different file format
// 2017-11-24 - VF - New default v16g for STS (unit-based)
......@@ -42,21 +43,21 @@ void setup_sis100_electron()
{
// ----- Geometry Tags --------------------------------------------------
TString magnetGeoTag = "v20a";
TString pipeGeoTag = "v16b_1e";
TString mvdGeoTag = "v20a_tr";
TString stsGeoTag = "v19a";
TString richGeoTag = "v17a_1e";
TString trdGeoTag = "v20b_1e";
TString tofGeoTag = "v20b_1e";
TString psdGeoTag = "v20a";
TString magnetGeoTag = "v21a";
TString pipeGeoTag = "v16c_1e";
TString mvdGeoTag = "v20c_tr";
TString stsGeoTag = "v20a";
TString richGeoTag = "v21a";
TString trdGeoTag = "v20c_1e";
TString tofGeoTag = "v20c_1e";
TString psdGeoTag = "v20c";
TString platGeoTag = "v13a";
// ------------------------------------------------------------------------
// ----- Magnetic field -------------------------------------------------
TString fieldTag = "v18a";
Double_t fieldZ = 40.; // field centre z position
Double_t fieldZ = 0.; // field centre z position
Double_t fieldScale = 1.; // field scaling factor
// ------------------------------------------------------------------------
......@@ -72,7 +73,7 @@ void setup_sis100_electron()
setup->SetModule(ECbmModuleId::kMagnet, magnetGeoTag);
setup->SetModule(ECbmModuleId::kPipe, pipeGeoTag);
setup->SetModule(ECbmModuleId::kMvd, mvdGeoTag);
setup->SetModule(ECbmModuleId::kSts, stsGeoTag);
setup->SetModule(ECbmModuleId::kSts, stsGeoTag);
setup->SetModule(ECbmModuleId::kRich, richGeoTag);
setup->SetModule(ECbmModuleId::kTrd, trdGeoTag);
setup->SetModule(ECbmModuleId::kTof, tofGeoTag);
......
......@@ -6,7 +6,6 @@
**
**/
// 2020-04-28 - DE - Test setup for STS with 105mm pitch
// 2020-04-23 - FU - Use exported TOF geometry v16d (same as v16c but
// different file format
// 2017-11-24 - VF - New default v16g for STS (unit-based)
......@@ -39,18 +38,18 @@
//
void setup_sis100_electron_sts_long()
void setup_sis100_electron_APR21()
{
// ----- Geometry Tags --------------------------------------------------
TString magnetGeoTag = "v18a";
TString pipeGeoTag = "v16d_1e"; // "v16b_1e";
TString mvdGeoTag = "v17b_tr"; // "v17a_tr";
TString stsGeoTag = "v19i"; // "v19a";
TString magnetGeoTag = "v20a";
TString pipeGeoTag = "v16b_1e";
TString mvdGeoTag = "v20a_tr";
TString stsGeoTag = "v19a";
TString richGeoTag = "v17a_1e";
TString trdGeoTag = "v17n_1e";
TString tofGeoTag = "v16e_1e";
TString psdGeoTag = "v18e";
TString trdGeoTag = "v20b_1e";
TString tofGeoTag = "v20b_1e";
TString psdGeoTag = "v20a";
TString platGeoTag = "v13a";
// ------------------------------------------------------------------------
......
/** ROOT macro to define the CBM setup sis_100_electron
**
** @author Volker Friese <v.friese@gsi.de>
** @author David Emschermann <d.emschermann@gsi.de>
** @date 5 February 2016
**
**/
// 2021-12-15 - EC - Candidate DEC21 geometries for testing.
// 2020-04-23 - FU - Use exported TOF geometry v16d (same as v16c but
// different file format
// 2017-11-24 - VF - New default v16g for STS (unit-based)
// 2017-11-20 - DE - use TRD v17n as new default
// 2017-05-22 - DE - use TRD v17c as new default
// 2016-06-27 - DE - use STS v16x as new default, see issue #647
// 2016-05-19 - VF - Add platform module
// 2016-02-25 - DE - use STS v16c as new default
// 2016-02-05 - VF - Replaces former sis100_electron_setup.C,
// now using the CbmSetup class.
// 2016-01-29 - AL - Use RICH v16a_1e as new default
// 2015-12-11 - DE - use STS v15c as new default
// 2015-07-20 - FU - magnet v15a is v12b with correct keeping volume material
// 2015-07-20 - FU - add material budget files
// 2015-03-13 - DE - use STS v13y with correct ladder orientation as new default
// 2015-01-28 - DE - use STS v13x fitting with with PIPE v14l
// 2015-01-22 - DE - use MVD v14b with PIPE v14l as default
// 2015-01-19 - DE - use TRD v15a as new default
// 2014-07-05 - DE - use PIPE v14x as interim solution
// 2014-07-01 - DE - use PIPE v14f -> overlap with STS
// 2014-06-30 - DE - use PIPE v14d together with RICH v14a
// 2014-06-30 - DE - make RICH v14a the new default
// 2014-06-30 - DE - make TRD v14a the new default
// 2014-06-25 - DE - define digi files through tags for STS, TRD and TOF
// 2013-11-05 - DE - switch to trd_v13p geometry
// 2013-10-11 - DE - add empty string defining the platform
// 2013-10-07 - DE - pipe_v13d.geo fixes overlap with TOF
// 2013-10-07 - DE - rich_v13a is not at nominal position 1800mm, but at 1600mm
// 2013-11-04 - VF - make STS v15b the new default
//
void setup_sis100_electron_DEC21()
{
// ----- Geometry Tags --------------------------------------------------
TString magnetGeoTag = "v21a";
TString pipeGeoTag = "v21e";
TString mvdGeoTag = "v20c_tr";
TString stsGeoTag = "v21e";
TString richGeoTag = "v21a";
TString trdGeoTag = "v20b_1e";
TString tofGeoTag = "v21a";
TString psdGeoTag = "v20c";
TString platGeoTag = "v13a";
// ------------------------------------------------------------------------
// ----- Magnetic field -------------------------------------------------
TString fieldTag = "v18a";
Double_t fieldZ = 0.; // field centre z position
Double_t fieldScale = 1.; // field scaling factor
// ------------------------------------------------------------------------
// ----- Create setup ---------------------------------------------------
CbmSetup* setup = CbmSetup::Instance();
if ( ! setup->IsEmpty() ) {
std::cout << "-W- setup_sis100_electron: overwriting existing setup"
<< setup->GetTitle() << std::endl;
setup->Clear();
}
setup->SetTitle("SIS100 - Electron Setup");
setup->SetModule(ECbmModuleId::kMagnet, magnetGeoTag);
setup->SetModule(ECbmModuleId::kPipe, pipeGeoTag);
setup->SetModule(ECbmModuleId::kMvd, mvdGeoTag);
setup->SetModule(ECbmModuleId::kSts, stsGeoTag);
setup->SetModule(ECbmModuleId::kRich, richGeoTag);
setup->SetModule(ECbmModuleId::kTrd, trdGeoTag);
setup->SetModule(ECbmModuleId::kTof, tofGeoTag);
setup->SetModule(ECbmModuleId::kPsd, psdGeoTag);
setup->SetModule(ECbmModuleId::kPlatform, platGeoTag);
setup->SetField(fieldTag, fieldScale, 0., 0., fieldZ);
// ------------------------------------------------------------------------
}
......@@ -8,6 +8,7 @@
**
**/
// 2021-12-15 - EC - V&V all APR21 geometries are shifted by 40cm.
// 2020-04-23 - FU - Use exported TOF geometry v16d (same as v16c but
// different file format
// 2017-11-24 - VF - New default v16g for STS (unit-based)
......@@ -36,13 +37,13 @@ void setup_sis100_hadron()
{
// ----- Geometry Tags --------------------------------------------------
TString magnetGeoTag = "v20a";
TString pipeGeoTag = "v16b_1e";
TString mvdGeoTag = "v20a_tr";
TString stsGeoTag = "v19a";
TString trdGeoTag = "v20b_1h";
TString tofGeoTag = "v20b_1h";
TString psdGeoTag = "v20a";
TString magnetGeoTag = "v21a";
TString pipeGeoTag = "v16c_1e";
TString mvdGeoTag = "v20c_tr";
TString stsGeoTag = "v20a";
TString trdGeoTag = "v20c_1h";
TString tofGeoTag = "v20c_1h";
TString psdGeoTag = "v21a";
TString platGeoTag = "v13a";
// ------------------------------------------------------------------------
......
......@@ -8,7 +8,8 @@
**
**/
// 2020-04-20 - DE - Test setup for STS with 105mm pitch
// 2020-04-23 - FU - Use exported TOF geometry v16d (same as v16c but
// different file format
// 2017-11-24 - VF - New default v16g for STS (unit-based)
// 2017-11-20 - DE - use TRD v17n as new default
// 2017-05-22 - DE - use TRD v17c as new default
......@@ -31,17 +32,17 @@
// 2013-11-04 - VF - make STS v15b the new default
void setup_sis100_hadron_sts_long()
void setup_sis100_hadron()
{
// ----- Geometry Tags --------------------------------------------------
TString magnetGeoTag = "v18a";
TString pipeGeoTag = "v16d_1e"; // "v16b_1e";
TString mvdGeoTag = "v17b_tr"; // "v17a_tr";
TString stsGeoTag = "v19i"; // "v19a";
TString trdGeoTag = "v17n_1h";
TString tofGeoTag = "v16e_1h";
TString psdGeoTag = "v18e";
TString magnetGeoTag = "v20a";
TString pipeGeoTag = "v16b_1e";
TString mvdGeoTag = "v20a_tr";
TString stsGeoTag = "v19a";
TString trdGeoTag = "v20b_1h";
TString tofGeoTag = "v20b_1h";
TString psdGeoTag = "v20a";
TString platGeoTag = "v13a";
// ------------------------------------------------------------------------
......
/** ROOT macro to define the CBM setup sis100_hadron
**
** Contains: MVD + STS + TRD + TOF + PSD
**
** @author Volker Friese <v.friese@gsi.de>
** @author David Emschermann <d.emschermann@gsi.de>
** @date 5 February 2016
**
**/
// 2021-12-15 - EC - Candidate DEC21 geometries for testing.
// 2020-04-23 - FU - Use exported TOF geometry v16d (same as v16c but
// different file format
// 2017-11-24 - VF - New default v16g for STS (unit-based)
// 2017-11-20 - DE - use TRD v17n as new default
// 2017-05-22 - DE - use TRD v17c as new default
// 2016-06-27 - DE - use STS v16x as new default, see issue #647
// 2016-05-19 - VF - Add platform module
// 2016-02-25 - DE - use STS v16c as new default
// 2016-02-05 - VF - Replaces former sis100_hadron_setup.C,
// now using the CbmSetup class.
// 2015-12-11 - DE - use STS v15c as new default
// 2015-07-20 - FU - magnet v15a is v12b with correct keeping volume material
// 2015-07-20 - FU - add material budget files
// 2015-03-13 - DE - use STS v13y with correct ladder orientation as new default
// 2015-01-29 - DE - use chopped PIPE v14q as default
// 2015-01-19 - DE - use TRD v15a as new default
// 2014-06-30 - DE - make TRD v14a the new default
// 2014-06-25 - DE - define digi files through tags for STS, TRD and TOF
// 2013-11-05 - DE - switch to trd_v13p geometry
// 2013-10-11 - DE - add empty string defining the platform
// 2013-10-07 - DE - pipe_v13c.geo fixes overlap with TOF, fills RICH section
// 2013-11-04 - VF - make STS v15b the new default
void setup_sis100_hadron_DEC21()
{
// ----- Geometry Tags --------------------------------------------------
TString magnetGeoTag = "v21a";
TString pipeGeoTag = "v21d";
TString mvdGeoTag = "v20c_tr";
TString stsGeoTag = "v21e";
TString trdGeoTag = "v20c_1h";
TString tofGeoTag = "v21a";
TString psdGeoTag = "v20c";
TString platGeoTag = "v13a";
// ------------------------------------------------------------------------
// ----- Magnetic field -------------------------------------------------
TString fieldTag = "v18a";
Double_t fieldZ = 0.; // field centre z position
Double_t fieldScale = 1.; // field scaling factor
// ------------------------------------------------------------------------
// ----- Create setup ---------------------------------------------------
CbmSetup* setup = CbmSetup::Instance();
if ( ! setup->IsEmpty() ) {
std::cout << "-W- setup_sis100_hadron: overwriting existing setup"
<< setup->GetTitle() << std::endl;
setup->Clear();
}
setup->SetTitle("SIS100 - Hadron Setup");
setup->SetModule(ECbmModuleId::kMagnet, magnetGeoTag);
setup->SetModule(ECbmModuleId::kPipe, pipeGeoTag);
setup->SetModule(ECbmModuleId::kMvd, mvdGeoTag);
setup->SetModule(ECbmModuleId::kSts, stsGeoTag);
setup->SetModule(ECbmModuleId::kTrd, trdGeoTag);
setup->SetModule(ECbmModuleId::kTof, tofGeoTag);
setup->SetModule(ECbmModuleId::kPsd, psdGeoTag);
setup->SetModule(ECbmModuleId::kPlatform, platGeoTag);
setup->SetField(fieldTag, fieldScale, 0., 0., fieldZ);
// ------------------------------------------------------------------------
// ----- Screen output ------------------------------------------------
setup->Print();
// ------------------------------------------------------------------------
}
......@@ -8,6 +8,7 @@
**
**/
// 2021-12-15 - EC - V&V all APR21 geometries are shifted by 40cm.
// 2020-04-23 - FU - Use exported TOF geometry v16d (same as v16c but
// different file format
// 2017-11-24 - VF - New default v16g for STS (unit-based)
......@@ -39,19 +40,19 @@ void setup_sis100_muon_jpsi()
{
// ----- Geometry Tags --------------------------------------------------
TString magnetGeoTag = "v20b";
TString pipeGeoTag = "v20a_1m";
TString stsGeoTag = "v19a";
TString muchGeoTag = "v20a_sis100_1m_jpsi";
TString trdGeoTag = "v20b_1m";
TString tofGeoTag = "v20b_1m";
TString magnetGeoTag = "v21b";
TString pipeGeoTag = "v20b_1m";
TString stsGeoTag = "v20a";
TString muchGeoTag = "v20c_sis100_1m_jpsi";
TString trdGeoTag = "v20c_1m";
TString tofGeoTag = "v20c_1m";
TString platGeoTag = "v13a";
// ------------------------------------------------------------------------
// ----- Magnetic field -------------------------------------------------
TString fieldTag = "v18a";
Double_t fieldZ = 40.; // field centre z position
Double_t fieldZ = 0.; // field centre z position
Double_t fieldScale = 1.; // field scaling factor
// ------------------------------------------------------------------------
......
......@@ -8,7 +8,6 @@
**
**/
// 2020-04-28 - DE - Test setup for STS with 105mm pitch
// 2020-04-23 - FU - Use exported TOF geometry v16d (same as v16c but
// different file format
// 2017-11-24 - VF - New default v16g for STS (unit-based)
......@@ -36,16 +35,16 @@
// 2013-11-04 - VF - make STS v15b the new default
void setup_sis100_muon_jpsi_sts_long()
void setup_sis100_muon_jpsi_APR21()
{
// ----- Geometry Tags --------------------------------------------------
TString magnetGeoTag = "v18b";
TString pipeGeoTag = "v16d_1m"; // "v16b_1m";
TString stsGeoTag = "v19i"; // "v19a";
TString muchGeoTag = "v17b_sis100_1m_jpsi";
TString trdGeoTag = "v17n_1m";
TString tofGeoTag = "v16e_1m";
TString magnetGeoTag = "v20b";
TString pipeGeoTag = "v20a_1m";
TString stsGeoTag = "v19a";
TString muchGeoTag = "v20a_sis100_1m_jpsi";
TString trdGeoTag = "v20b_1m";
TString tofGeoTag = "v20b_1m";
TString platGeoTag = "v13a";
// ------------------------------------------------------------------------
......
/** ROOT macro to define the CBM setup sis100_muon_jpsi
**
** Contains: MVD + STS + MUCH + TRD + TOF
**
** @author Volker Friese <v.friese@gsi.de>
** @author David Emschermann <d.emschermann@gsi.de>
** @date 5 February 2016
**
**/
// 2020-12-15 - EC - Candidate DEC21 geometries
// 2020-04-23 - FU - Use exported TOF geometry v16d (same as v16c but
// different file format
// 2017-11-24 - VF - New default v16g for STS (unit-based)
// 2017-11-20 - DE - use TRD v17n as new default
// 2017-05-22 - DE - use TRD v17c as new default
// 2016-06-27 - DE - use STS v16x as new default, see issue #647
// 2016-06-21 - DE - switch to shortened root pipe v16b_1m geometry ref #721
// 2016-05-19 - VF - Add platform module
// 2016-02-25 - DE - use STS v16c as new default
// 2016-02-05 - VF - Replaces former sis100_muon_jpsi_setup.C,
// now using the CbmSetup class.
// 2015-12-14 - DE - use TRD v15c starting at z = 490 cm for muon_jpsi setup
// 2015-12-14 - DE - rename long SIS100 MUCH version to muon_JPSI setup
// 2015-12-14 - DE - use TOF v16a
// 2015-12-11 - DE - use STS v15c as new default
// 2015-12-11 - DE - reproduce MUCH v15b setup from macro/much/much_sim.C
// 2015-07-20 - FU - magnet v15a is v12b with correct keeping volume material
// 2015-07-20 - FU - add material budget files
// 2015-01-19 - DE - use TRD v15a as new default
// 2014-06-30 - DE - make TRD v14a the new default
// 2014-06-25 - DE - define digi files through tags for STS, TRD and TOF
// 2013-11-05 - DE - switch to trd_v13p geometry
// 2013-10-11 - DE - add empty string defining the platform
// 2013-10-07 - DE - pipe_v13e.geo fixes overlap with TOF, also avoids TRD
// 2013-11-04 - VF - make STS v15b the new default
void setup_sis100_muon_jpsi()
{
// ----- Geometry Tags --------------------------------------------------
TString magnetGeoTag = "v21b";
TString pipeGeoTag = "v21d";
TString stsGeoTag = "v21e";
TString muchGeoTag = "v21c_sis100_1m_jpsi";
TString trdGeoTag = "v20c_1m";
TString tofGeoTag = "v21a";
TString platGeoTag = "v13a";
// ------------------------------------------------------------------------
// ----- Magnetic field -------------------------------------------------
TString fieldTag = "v18a";
Double_t fieldZ = 0.; // field centre z position
Double_t fieldScale = 1.; // field scaling factor
// ------------------------------------------------------------------------
// ----- Create setup ---------------------------------------------------
CbmSetup* setup = CbmSetup::Instance();
if ( ! setup->IsEmpty() ) {
std::cout << "-W- setup_sis100_muon_jpsi: overwriting existing setup"
<< setup->GetTitle() << std::endl;
setup->Clear();
}
setup->SetTitle("SIS100 - Muon Jpsi Setup");
setup->SetModule(ECbmModuleId::kMagnet, magnetGeoTag);
setup->SetModule(ECbmModuleId::kPipe, pipeGeoTag);
setup->SetModule(ECbmModuleId::kSts, stsGeoTag);
setup->SetModule(ECbmModuleId::kMuch, muchGeoTag);
setup->SetModule(ECbmModuleId::kTrd, trdGeoTag);
setup->SetModule(ECbmModuleId::kTof, tofGeoTag);
setup->SetModule(ECbmModuleId::kPlatform, platGeoTag);
setup->SetField(fieldTag, fieldScale, 0., 0., fieldZ);
// ------------------------------------------------------------------------
// ----- Screen output ------------------------------------------------
setup->Print();
// ------------------------------------------------------------------------
}
......@@ -8,6 +8,7 @@
**
**/
// 2021-12-15 - EC - For verification purposes. All APR21 geometries are shifted by 40cm.
// 2020-04-23 - FU - Use exported TOF geometry v16d (same as v16c but
// different file format
// 2017-11-24 - VF - New default v16g for STS (unit-based)
......@@ -39,12 +40,12 @@ void setup_sis100_muon_lmvm()
{
// ----- Geometry Tags --------------------------------------------------
TString magnetGeoTag = "v20b";
TString pipeGeoTag = "v20a_1m";
TString stsGeoTag = "v19a";
TString muchGeoTag = "v20a_sis100_1m_lmvm";
TString trdGeoTag = "v20b_1m";
TString tofGeoTag = "v20b_1m";
TString magnetGeoTag = "v21b";
TString pipeGeoTag = "v20b_1m";
TString stsGeoTag = "v20a";
TString muchGeoTag = "v20c_sis100_1m_lmvm";
TString trdGeoTag = "v20c_1m";
TString tofGeoTag = "v20c_1m";
TString platGeoTag = "v13a";
// ------------------------------------------------------------------------
......
......@@ -8,7 +8,6 @@
**
**/
// 2020-04-28 - DE - Test setup for STS with 105mm pitch
// 2020-04-23 - FU - Use exported TOF geometry v16d (same as v16c but
// different file format
// 2017-11-24 - VF - New default v16g for STS (unit-based)
......@@ -36,16 +35,16 @@
// 2013-11-04 - VF - make STS v15b the new default
void setup_sis100_muon_lmvm_sts_long()
void setup_sis100_muon_lmvm()
{
// ----- Geometry Tags --------------------------------------------------
TString magnetGeoTag = "v18b";
TString pipeGeoTag = "v16d_1m"; // "v16b_1m";
TString stsGeoTag = "v19i"; // "v19a";
TString muchGeoTag = "v19b_sis100_1m_lmvm";
TString trdGeoTag = "v17n_1m";
TString tofGeoTag = "v16e_1m";
TString magnetGeoTag = "v20b";
TString pipeGeoTag = "v20a_1m";
TString stsGeoTag = "v19a";
TString muchGeoTag = "v20a_sis100_1m_lmvm";
TString trdGeoTag = "v20b_1m";
TString tofGeoTag = "v20b_1m";
TString platGeoTag = "v13a";
// ------------------------------------------------------------------------
......
/** ROOT macro to define the CBM setup sis100_muon_lmvm
**
** Contains: MVD + STS + MUCH + TRD + TOF
**
** @author Volker Friese <v.friese@gsi.de>
** @author David Emschermann <d.emschermann@gsi.de>
** @date 5 February 2016
**
**/
// 2021-12-15 - EC - Candidate DEC21 geometries.
// 2020-04-23 - FU - Use exported TOF geometry v16d (same as v16c but
// different file format
// 2017-11-24 - VF - New default v16g for STS (unit-based)
// 2017-11-20 - DE - use TRD v17n as new default
// 2017-05-22 - DE - use TRD v17c as new default
// 2016-06-27 - DE - use STS v16x as new default, see issue #647
// 2016-06-21 - DE - switch to shortened root pipe v16b_1m geometry ref #721
// 2016-05-19 - VF - Add platform module
// 2016-02-25 - DE - use STS v16c as new default
// 2016-02-05 - VF - Replaces former sis100_muon_lmvm_setup.C,
// now using the CbmSetup class.
// 2015-12-14 - DE - use TRD v15c starting at z = 490 cm for muon_jpsi setup
// 2015-12-14 - DE - rename short SIS100 MUCH version to muon_LMVM setup
// 2015-12-14 - DE - use TOF v16a
// 2015-12-11 - DE - use STS v15c as new default
// 2015-12-11 - DE - reproduce MUCH v15b setup from macro/much/much_sim.C
// 2015-07-20 - FU - magnet v15a is v12b with correct keeping volume material
// 2015-07-20 - FU - add material budget files
// 2015-01-19 - DE - use TRD v15a as new default
// 2014-06-30 - DE - make TRD v14a the new default
// 2014-06-25 - DE - define digi files through tags for STS, TRD and TOF
// 2013-11-05 - DE - switch to trd_v13p geometry
// 2013-10-11 - DE - add empty string defining the platform
// 2013-10-07 - DE - pipe_v13e.geo fixes overlap with TOF, also avoids TRD
// 2013-11-04 - VF - make STS v15b the new default
void setup_sis100_muon_lmvm_DEC21()
{
// ----- Geometry Tags --------------------------------------------------
TString magnetGeoTag = "v21b";
TString pipeGeoTag = "v21d";
TString stsGeoTag = "v21e";
TString muchGeoTag = "v21c_sis100_1m_lmvm";
TString trdGeoTag = "v20b_1m";
TString tofGeoTag = "v21c";
TString platGeoTag = "v13a";
// ------------------------------------------------------------------------
// ----- Magnetic field -------------------------------------------------
TString fieldTag = "v18a";
Double_t fieldZ = 0.; // field centre z position
Double_t fieldScale = 1.; // field scaling factor
// ------------------------------------------------------------------------
// ----- Create setup ---------------------------------------------------
CbmSetup* setup = CbmSetup::Instance();
if ( ! setup->IsEmpty() ) {
std::cout << "-W- setup_sis100_muon_lmvm: overwriting existing setup"
<< setup->GetTitle() << std::endl;
setup->Clear();
}
setup->SetTitle("SIS100 - Muon Lmvm Setup");
setup->SetModule(ECbmModuleId::kMagnet, magnetGeoTag);
setup->SetModule(ECbmModuleId::kPipe, pipeGeoTag);
setup->SetModule(ECbmModuleId::kSts, stsGeoTag);
setup->SetModule(ECbmModuleId::kMuch, muchGeoTag);
setup->SetModule(ECbmModuleId::kTrd, trdGeoTag);
setup->SetModule(ECbmModuleId::kTof, tofGeoTag);
setup->SetModule(ECbmModuleId::kPlatform, platGeoTag);
setup->SetField(fieldTag, fieldScale, 0., 0., fieldZ);
// ------------------------------------------------------------------------
// ----- Screen output ------------------------------------------------
setup->Print();
// ------------------------------------------------------------------------