Commit e3452fdf authored by Shreya Roy's avatar Shreya Roy
Browse files

new setups for mcbm 2022

parent 2fa129d7
Pipeline #13537 passed with stages
in 27 seconds
......@@ -16,6 +16,7 @@
// 2020-03-11 - DE - prepare setup for mCBM Spring 2021 beamtime
// 2020-03-11 - DE - prepare setup for mCBM May 2020 beamtime
// 2020-03-11 - DE - prepare setup for mCBM March 2020 beamtime
//
// 2019-12-20 - FU - use the new pipe/targetbox geometry which consists of
// root files which are both passed to to CbmSetup
// 2019-11-28 - DE - move mTOF v19b +12 cm in x direction for the Nov 2019 run
......@@ -49,47 +50,63 @@
// now using the CbmSetup class.
// 2015-06-18 - DE - mCBM @ SIS18 setup
void setup_mcbm_beam_2022_03() {
void setup_mcbm_beam_2022_03()
{
// ----- Geometry Tags --------------------------------------------------
TString platGeoTag = "v20a_mcbm"; // 2020 // support table
TString pipeGeoTag = "v19f_mcbm"; // pipe after target box
// TString mvdGeoTag = "v18b_mcbm";
TString stsGeoTag = "v20e_mcbm";
TString muchGeoTag = "v22b_mcbm"; // 1 layer
TString trdGeoTag = "v22a_mcbm"; // 2022
TString tofGeoTag = "v20d_mcbm"; // TOF double wall
TString richGeoTag = "v20d_mcbm"; // geometry provided by RICH group
TString psdGeoTag = "v20a_mcbm"; // at 25 degree, below the beampipe
TString platGeoTag = "v20a_mcbm"; // 2020 // support table
TString pipeGeoTag = "v19f_mcbm"; // pipe after target box
// TString mvdGeoTag = "v18b_mcbm"; // "v18a_mcbm";
TString stsGeoTag = "v20e_mcbm";
TString muchGeoTag = "v22b_mcbm"; // 1 layer
// TString muchGeoTag = "v20a_mcbm"; // 1 layer
// TString muchGeoTag = "v19a_mcbm"; // need 3 layers and RPC here
TString trdGeoTag = "v22a_mcbm"; // surveyed - 2021 // TRD-2D + 2x TRD modules
// TString trdGeoTag = "v20b_mcbm"; // 2021 // 2x TRD modules
TString tofGeoTag = "v20d_mcbm"; // surveyed - TOF quad + double stacks
// TString tofGeoTag = "v20d_mcbm"; // 2nd layer of 3x M6 modules added
TString richGeoTag = "v20d_mcbm"; // surveyed - geometry provided by RICH group
TString psdGeoTag = "v20a_mcbm"; // at 25 degree, below the beampipe
// ------------------------------------------------------------------------
// ----- Magnetic field -------------------------------------------------
TString fieldTag = "v18a";
Double_t fieldZ = 40.; // field centre z position
Double_t fieldScale = 0.; // field scaling factor
TString fieldTag = "v18a";
Double_t fieldZ = 40.; // field centre z position
Double_t fieldScale = 0.; // field scaling factor
// ------------------------------------------------------------------------
// ----- Create setup ---------------------------------------------------
CbmSetup *setup = CbmSetup::Instance();
if (!setup->IsEmpty()) {
std::cout << "-W- setup_sis18_mcbm: overwriting existing setup"
<< setup->GetTitle() << std::endl;
setup->Clear();
CbmSetup* setup = CbmSetup::Instance();
if ( ! setup->IsEmpty() ) {
std::cout << "-W- setup_sis18_mcbm: overwriting existing setup"
<< setup->GetTitle() << std::endl;
setup->Clear();
}
setup->SetTitle("SIS18 - mCBM Setup");
setup->SetModule(ECbmModuleId::kPlatform, platGeoTag);
setup->SetModule(ECbmModuleId::kPipe, pipeGeoTag);
// setup->SetModule(ECbmModuleId::kMvd, mvdGeoTag); // skip mvd
setup->SetModule(ECbmModuleId::kSts, stsGeoTag);
setup->SetModule(ECbmModuleId::kSts, stsGeoTag);
setup->SetModule(ECbmModuleId::kMuch, muchGeoTag);
setup->SetModule(ECbmModuleId::kTrd, trdGeoTag);
setup->SetModule(ECbmModuleId::kTof, tofGeoTag);
setup->SetModule(ECbmModuleId::kTrd, trdGeoTag);
setup->SetModule(ECbmModuleId::kTof, tofGeoTag);
setup->SetModule(ECbmModuleId::kRich, richGeoTag);
setup->SetModule(ECbmModuleId::kPsd, psdGeoTag);
setup->SetModule(ECbmModuleId::kPsd, psdGeoTag);
setup->SetField(fieldTag, fieldScale, 0., 0., fieldZ);
// ------------------------------------------------------------------------
// ----- Screen output ------------------------------------------------
setup->Print();
// ------------------------------------------------------------------------
}
......@@ -16,6 +16,7 @@
// 2020-03-11 - DE - prepare setup for mCBM Spring 2021 beamtime
// 2020-03-11 - DE - prepare setup for mCBM May 2020 beamtime
// 2020-03-11 - DE - prepare setup for mCBM March 2020 beamtime
//
// 2019-12-20 - FU - use the new pipe/targetbox geometry which consists of
// root files which are both passed to to CbmSetup
// 2019-11-28 - DE - move mTOF v19b +12 cm in x direction for the Nov 2019 run
......@@ -49,47 +50,63 @@
// now using the CbmSetup class.
// 2015-06-18 - DE - mCBM @ SIS18 setup
void setup_mcbm_beam_2022_04() {
void setup_mcbm_beam_2022_04()
{
// ----- Geometry Tags --------------------------------------------------
TString platGeoTag = "v20a_mcbm"; // 2020 // support table
TString pipeGeoTag = "v19f_mcbm"; // pipe after target box
// TString mvdGeoTag = "v18b_mcbm";
TString stsGeoTag = "v20e_mcbm";
// TString muchGeoTag = "v22a_mcbm"; // 2 layers
TString trdGeoTag = "v20b_mcbm"; // 2022
TString tofGeoTag = "v20d_mcbm"; // TOF double wall
TString richGeoTag = "v20d_mcbm"; // geometry provided by RICH group
TString psdGeoTag = "v20a_mcbm"; // at 25 degree, below the beampipe
TString platGeoTag = "v20a_mcbm"; // 2020 // support table
TString pipeGeoTag = "v19f_mcbm"; // pipe after target box
// TString mvdGeoTag = "v18b_mcbm"; // "v18a_mcbm";
TString stsGeoTag = "v20e_mcbm";
// TString muchGeoTag = "v22a_mcbm"; // 1 layer
// TString muchGeoTag = "v20a_mcbm"; // 1 layer
// TString muchGeoTag = "v19a_mcbm"; // need 3 layers and RPC here
TString trdGeoTag = "v21b_mcbm"; // surveyed - 2021 // TRD-2D + 2x TRD modules
// TString trdGeoTag = "v20b_mcbm"; // 2021 // 2x TRD modules
TString tofGeoTag = "v20d_mcbm"; // surveyed - TOF quad + double stacks
// TString tofGeoTag = "v20d_mcbm"; // 2nd layer of 3x M6 modules added
TString richGeoTag = "v20d_mcbm"; // surveyed - geometry provided by RICH group
TString psdGeoTag = "v20a_mcbm"; // at 25 degree, below the beampipe
// ------------------------------------------------------------------------
// ----- Magnetic field -------------------------------------------------
TString fieldTag = "v18a";
Double_t fieldZ = 40.; // field centre z position
Double_t fieldScale = 0.; // field scaling factor
TString fieldTag = "v18a";
Double_t fieldZ = 40.; // field centre z position
Double_t fieldScale = 0.; // field scaling factor
// ------------------------------------------------------------------------
// ----- Create setup ---------------------------------------------------
CbmSetup *setup = CbmSetup::Instance();
if (!setup->IsEmpty()) {
std::cout << "-W- setup_sis18_mcbm: overwriting existing setup"
<< setup->GetTitle() << std::endl;
setup->Clear();
CbmSetup* setup = CbmSetup::Instance();
if ( ! setup->IsEmpty() ) {
std::cout << "-W- setup_sis18_mcbm: overwriting existing setup"
<< setup->GetTitle() << std::endl;
setup->Clear();
}
setup->SetTitle("SIS18 - mCBM Setup");
setup->SetModule(ECbmModuleId::kPlatform, platGeoTag);
setup->SetModule(ECbmModuleId::kPipe, pipeGeoTag);
// setup->SetModule(ECbmModuleId::kMvd, mvdGeoTag); // skip mvd
setup->SetModule(ECbmModuleId::kSts, stsGeoTag);
// setup->SetModule(ECbmModuleId::kMuch, muchGeoTag);
setup->SetModule(ECbmModuleId::kTrd, trdGeoTag);
setup->SetModule(ECbmModuleId::kTof, tofGeoTag);
setup->SetModule(ECbmModuleId::kSts, stsGeoTag);
//setup->SetModule(ECbmModuleId::kMuch, muchGeoTag);
setup->SetModule(ECbmModuleId::kTrd, trdGeoTag);
setup->SetModule(ECbmModuleId::kTof, tofGeoTag);
setup->SetModule(ECbmModuleId::kRich, richGeoTag);
setup->SetModule(ECbmModuleId::kPsd, psdGeoTag);
setup->SetModule(ECbmModuleId::kPsd, psdGeoTag);
setup->SetField(fieldTag, fieldScale, 0., 0., fieldZ);
// ------------------------------------------------------------------------
// ----- Screen output ------------------------------------------------
setup->Print();
// ------------------------------------------------------------------------
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment