Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Eoin Clerkin
cbmroot_geometry
Commits
615e3d9c
Commit
615e3d9c
authored
Nov 25, 2020
by
Norbert Herrmann
Browse files
introduce module type 4 (Star2 with USTC)
parent
e62fdec7
Changes
1
Hide whitespace changes
Inline
Side-by-side
fles/mcbm2018/unpacker/CbmMcbm2018UnpackerAlgoTof.cxx
View file @
615e3d9c
...
...
@@ -251,8 +251,7 @@ Bool_t CbmMcbm2018UnpackerAlgoTof::InitParameters() {
case
1
:
// STAR eTOF modules
if
(
fviRpcSide
[
iGbtx
]
<
2
)
{
// mTof modules
LOG
(
info
)
<<
"Start eTOF module side "
<<
fviRpcSide
[
iGbtx
]
<<
" at "
<<
iCh
;
LOG
(
info
)
<<
"Start eTOF module side "
<<
fviRpcSide
[
iGbtx
]
<<
" at "
<<
iCh
;
const
Int_t
RpcMap
[
3
]
=
{
0
,
1
,
2
};
for
(
Int_t
iRpc
=
0
;
iRpc
<
fviNrOfRpc
[
iGbtx
];
iRpc
++
)
{
Int_t
iStrMax
=
32
;
...
...
@@ -372,8 +371,8 @@ Bool_t CbmMcbm2018UnpackerAlgoTof::InitParameters() {
LOG
(
info
)
<<
" Map end ceramics box at GBTX - iCh = "
<<
iCh
;
break
;
case
4
:
// intended fallthrough
[[
fallthrough
]];
case
4
:
// intended fallthrough
[[
fallthrough
]];
case
9
:
// Star2 boxes
{
LOG
(
info
)
<<
" Map Star2 box at GBTX - iCh = "
<<
iCh
;
...
...
@@ -456,18 +455,23 @@ Bool_t CbmMcbm2018UnpackerAlgoTof::InitParameters() {
case
0
:
iRpcMap
=
0
;
break
;
case
1
:
iRpcMap
=
1
;
break
;
}
if
(
iFeet
%
2
==
1
)
if
(
iFeet
%
2
==
1
)
iModuleIdMap
=
1
;
else
iModuleIdMap
=
0
;
switch
(
iFeet
)
{
case
0
:
case
3
:
iSideMap
=
0
;
break
;
case
1
:
case
2
:
iSideMap
=
1
;
break
;
}
}
break
;
switch
(
iFeet
)
{
case
0
:
case
3
:
iSideMap
=
0
;
break
;
case
1
:
case
2
:
iSideMap
=
1
;
break
;
}
}
break
;
}
if
(
iSideMap
>
-
1
)
fviRpcChUId
[
iCh
]
=
CbmTofAddress
::
GetUniqueAddress
(
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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