Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computing
cbmroot
Commits
615e3d9c
Commit
615e3d9c
authored
4 years ago
by
Norbert Herrmann
Browse files
Options
Downloads
Patches
Plain Diff
introduce module type 4 (Star2 with USTC)
parent
e62fdec7
No related branches found
No related tags found
1 merge request
!169
Official master
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fles/mcbm2018/unpacker/CbmMcbm2018UnpackerAlgoTof.cxx
+17
-13
17 additions, 13 deletions
fles/mcbm2018/unpacker/CbmMcbm2018UnpackerAlgoTof.cxx
with
17 additions
and
13 deletions
fles/mcbm2018/unpacker/CbmMcbm2018UnpackerAlgoTof.cxx
+
17
−
13
View file @
615e3d9c
...
@@ -251,8 +251,7 @@ Bool_t CbmMcbm2018UnpackerAlgoTof::InitParameters() {
...
@@ -251,8 +251,7 @@ Bool_t CbmMcbm2018UnpackerAlgoTof::InitParameters() {
case
1
:
// STAR eTOF modules
case
1
:
// STAR eTOF modules
if
(
fviRpcSide
[
iGbtx
]
<
2
)
{
// mTof modules
if
(
fviRpcSide
[
iGbtx
]
<
2
)
{
// mTof modules
LOG
(
info
)
<<
"Start eTOF module side "
<<
fviRpcSide
[
iGbtx
]
<<
" at "
LOG
(
info
)
<<
"Start eTOF module side "
<<
fviRpcSide
[
iGbtx
]
<<
" at "
<<
iCh
;
<<
iCh
;
const
Int_t
RpcMap
[
3
]
=
{
0
,
1
,
2
};
const
Int_t
RpcMap
[
3
]
=
{
0
,
1
,
2
};
for
(
Int_t
iRpc
=
0
;
iRpc
<
fviNrOfRpc
[
iGbtx
];
iRpc
++
)
{
for
(
Int_t
iRpc
=
0
;
iRpc
<
fviNrOfRpc
[
iGbtx
];
iRpc
++
)
{
Int_t
iStrMax
=
32
;
Int_t
iStrMax
=
32
;
...
@@ -372,8 +371,8 @@ Bool_t CbmMcbm2018UnpackerAlgoTof::InitParameters() {
...
@@ -372,8 +371,8 @@ Bool_t CbmMcbm2018UnpackerAlgoTof::InitParameters() {
LOG
(
info
)
<<
" Map end ceramics box at GBTX - iCh = "
<<
iCh
;
LOG
(
info
)
<<
" Map end ceramics box at GBTX - iCh = "
<<
iCh
;
break
;
break
;
case
4
:
// intended fallthrough
case
4
:
// intended fallthrough
[[
fallthrough
]];
[[
fallthrough
]];
case
9
:
// Star2 boxes
case
9
:
// Star2 boxes
{
{
LOG
(
info
)
<<
" Map Star2 box at GBTX - iCh = "
<<
iCh
;
LOG
(
info
)
<<
" Map Star2 box at GBTX - iCh = "
<<
iCh
;
...
@@ -456,18 +455,23 @@ Bool_t CbmMcbm2018UnpackerAlgoTof::InitParameters() {
...
@@ -456,18 +455,23 @@ Bool_t CbmMcbm2018UnpackerAlgoTof::InitParameters() {
case
0
:
iRpcMap
=
0
;
break
;
case
0
:
iRpcMap
=
0
;
break
;
case
1
:
iRpcMap
=
1
;
break
;
case
1
:
iRpcMap
=
1
;
break
;
}
}
if
(
iFeet
%
2
==
1
)
if
(
iFeet
%
2
==
1
)
iModuleIdMap
=
1
;
iModuleIdMap
=
1
;
else
else
iModuleIdMap
=
0
;
iModuleIdMap
=
0
;
switch
(
iFeet
)
{
switch
(
iFeet
)
{
case
0
:
case
0
:
case
3
:
iSideMap
=
0
;
break
;
case
3
:
case
1
:
iSideMap
=
0
;
case
2
:
iSideMap
=
1
;
break
;
break
;
}
case
1
:
}
break
;
case
2
:
iSideMap
=
1
;
break
;
}
}
break
;
}
}
if
(
iSideMap
>
-
1
)
if
(
iSideMap
>
-
1
)
fviRpcChUId
[
iCh
]
=
CbmTofAddress
::
GetUniqueAddress
(
fviRpcChUId
[
iCh
]
=
CbmTofAddress
::
GetUniqueAddress
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment