Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Shreya Roy
cbmroot_geometry
Commits
e3452fdf
Commit
e3452fdf
authored
Oct 27, 2021
by
Shreya Roy
Browse files
new setups for mcbm 2022
parent
2fa129d7
Pipeline
#13537
passed with stages
in 27 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
79 additions
and
45 deletions
+79
-45
setup/setup_mcbm_beam_2022_03.C
setup/setup_mcbm_beam_2022_03.C
+39
-22
setup/setup_mcbm_beam_2022_04.C
setup/setup_mcbm_beam_2022_04.C
+40
-23
No files found.
setup/setup_mcbm_beam_2022_03.C
View file @
e3452fdf
...
...
@@ -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
();
// ------------------------------------------------------------------------
}
setup/setup_mcbm_beam_2022_04.C
View file @
e3452fdf
...
...
@@ -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
();
// ------------------------------------------------------------------------
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment