setup_mcbm_beam_2019_03.C 4.43 KB
Newer Older
1
2
3
4
5
6
7
8
9

/** ROOT macro to define the CBM setup sis18_mcbm
 **
 ** @author Volker Friese <v.friese@gsi.de>
 ** @author David Emschermann <d.emschermann@gsi.de>
 ** @date   5 February 2016
 **
 **/

10
// 2020-05-22 - DE - use platform v20a with measured size of support table
11
// 2020-04-08 - FU - use sts, tof and rich geometries with exported volumes
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// 2019-08-15 - DE - use mCBM targetbox as pipe v19b
// 2019-08-12 - DE - use mSTS v19a
// 2019-08-08 - FU - use mMUCH v19a
// 2019-08-02 - DE - use pipe v19a with flange position at z=610 mm
// 2019-07-31 - DE - add TOF v18m=v19a geometry - provided by the TOF group
// 2019-07-31 - DE - add RICH v19a geometry - provided by the RICH group
// 2019-03-15 - DE - this is supposed to be the start version of mCBM in March 2019
// 2018-08-24 - DE - this is supposed to be the start version of mCBM in 2018
// 2018-06-27 - DE - set flipped mTOF v18j geometry as new default
// 2018-05-24 - DE - place 20deg_long setup back at 25 degrees, see issue #1078
// 2018-02-27 - DE - use mTRD v18o to fix redmine issue #1046 with tracking
// 2017-12-11 - DE - enable mBUCH v18m
// 2017-12-04 - DE - add mPSD to mCBM setup
// 2017-11-22 - DE - use TRD v17n with 22 cm spacing from CAD
// 2017-11-17 - DE - set aerogel mRICH v18d as default
// 2017-11-10 - DE - switch to mMUCH v18e with Mv2 dimensions
// 2017-11-03 - DE - add long setup, (acceptance matching +-12 degrees from mSTS)
// 2017-11-02 - DE - add common support table v18c
// 2017-11-02 - DE - include mBUCH with mTRD v18j
// 2017-10-23 - DE - use mMUCH with vertically aligned left rim
// 2017-10-18 - DE - use mTOF v18h with vertical orientation
// 2017-10-16 - DE - use 20 degree beampipe
// 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_mcbm_beam_2019_03()
{
  
  // -----  Geometry Tags  --------------------------------------------------
47
  TString platGeoTag      = "v20a_mcbm";    // 2020 // support table
48
49
  TString pipeGeoTag      = "v19b_mcbm";    // mCBM targetbox
//  TString mvdGeoTag       = "v18b_mcbm";    // "v18a_mcbm";
50
  TString stsGeoTag       = "v19f_mcbm";    // 2019 // 1d-0-0-1d ladder configuration
51
52
53
  TString muchGeoTag      = "v19a_mcbm";    // 2018 // only 2 layers
  //  TString trdGeoTag       = "v18n_mcbm";    // 2018 // 4 TRD modules 
  TString trdGeoTag       = "v18q_mcbm";    // 2018 // 2 TRD modules 
54
55
  TString tofGeoTag       = "v18m_mcbm";    // geometry provided by TOF  group
  //TString tofGeoTag       = "v19d_mcbm";    // geometry provided by TOF  group
56
  TString richGeoTag      = "v19d_mcbm";    // geometry provided by RICH group
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
  //  TString richGeoTag      = "v18h_mcbm";    // long distance
//  TString psdGeoTag       = "v18d_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
  // ------------------------------------------------------------------------


  // -----  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");
Norbert Herrmann's avatar
Norbert Herrmann committed
77
78
  setup->SetModule(ECbmModuleId::kPlatform, platGeoTag);
  setup->SetModule(ECbmModuleId::kPipe, pipeGeoTag);
79
  //  setup->SetModule(ECbmModuleId::kMvd, mvdGeoTag);  // skip mvd in the initial setup
Norbert Herrmann's avatar
Norbert Herrmann committed
80
81
82
  setup->SetModule(ECbmModuleId::kSts,  stsGeoTag);
  setup->SetModule(ECbmModuleId::kMuch, muchGeoTag);
  setup->SetModule(ECbmModuleId::kTrd,  trdGeoTag);   
83
  setup->SetModule(ECbmModuleId::kTof,  tofGeoTag);
Norbert Herrmann's avatar
Norbert Herrmann committed
84
  setup->SetModule(ECbmModuleId::kRich, richGeoTag);
85
  // 2019  setup->SetModule(ECbmModuleId::kPsd,  psdGeoTag);
86
87
88
89
90
91
92
93
94
  setup->SetField(fieldTag, fieldScale, 0., 0., fieldZ);
  // ------------------------------------------------------------------------


  // -----   Screen output   ------------------------------------------------
  setup->Print();
  // ------------------------------------------------------------------------

}