// ----------------------------------------------------------------------------- // ----- setup_sps_nov15_sim.C ----- // ----- ----- // ----- created by C. Simon on 2018-05-01 ----- // ----- ----- // ----------------------------------------------------------------------------- void setup_sps_nov15_sim() { // ----- Geometry Tags -------------------------------------------------- TString tofGeoTag = "v15e"; // ------------------------------------------------------------------------ // ----- 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_sps_nov15_sim: overwriting existing setup" << setup->GetTitle() << std::endl; setup->Clear(); } setup->SetTitle("SPS Nov 15 Simulation Setup"); setup->SetModule(kTof, tofGeoTag); setup->SetField(fieldTag, fieldScale, 0., 0., fieldZ); // ------------------------------------------------------------------------ // ----- Screen output ------------------------------------------------ setup->Print(); // ------------------------------------------------------------------------ }