/** ROOT macro to define the CBM setup SPS 2017 ** ** @author Volker Friese ** @author David Emschermann ** @date 5 February 2016 ** **/ // 2017-08-15 - DE - modify setup consisting of TRD and TOF for SPS 2017 // 2017-06-03 - DE - add RICH v18a_mcbm // 2017-05-02 - DE - switch back to 5x5 RPC TOF // 2017-05-02 - DE - skip MVD in the initial setup // 2016-02-05 - VF - Replaces former sis18_mcbm_setup.C, // now using the CbmSetup class. // 2015-06-18 - DE - mCBM @ SIS18 setup void setup_sps17() { // ----- Geometry Tags -------------------------------------------------- TString pipeGeoTag = "v18d_mcbm"; // "v18c_mcbm"; TString mvdGeoTag = ""; TString stsGeoTag = ""; TString muchGeoTag = "v18a_mcbm"; // "v17s_mcbm"; TString trdGeoTag = "v17s_1e_mcbm"; // "v18g_1e_mcbm"; // "v18d_1e_mcbm"; // "v18c_1e_mcbm"; // "v18b_1e_mcbm"; // "v18a_1e_mcbm"; TString tofGeoTag = ""; TString richGeoTag = ""; TString platGeoTag = ""; // "v18a_mcbm"; // ------------------------------------------------------------------------ // ----- Magnetic field ------------------------------------------------- TString fieldTag = "v12b"; 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(); } setup->SetTitle("SIS18 - MCBM Setup"); setup->SetModule(kPipe, pipeGeoTag); // setup->SetModule(kPlatform, platGeoTag); // setup->SetModule(kMvd, mvdGeoTag); // skip mvd in the initial setup // setup->SetModule(kSts, stsGeoTag); setup->SetModule(kMuch, muchGeoTag); setup->SetModule(kTrd, trdGeoTag); // setup->SetModule(kTof, tofGeoTag); // setup->SetModule(kRich, richGeoTag); setup->SetField(fieldTag, fieldScale, 0., 0., fieldZ); // ------------------------------------------------------------------------ // ----- Screen output ------------------------------------------------ setup->Print(); // ------------------------------------------------------------------------ }