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
Compare revisions
24889a4bb26d10678d3326b3f8822a064b029732 to 2569f7b61f965b6c8d275026e258e9b47aaf7b70
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
computing/cbmroot
Select target project
No results found
2569f7b61f965b6c8d275026e258e9b47aaf7b70
Select Git revision
Swap
Target
computing/cbmroot
Select target project
le.koch/cbmroot
patrick.pfistner_AT_kit.edu/cbmroot
lena.rossel_AT_stud.uni-frankfurt.de/cbmroot
i.deppner/cbmroot
fweig/cbmroot
karpushkin_AT_inr.ru/cbmroot
v.akishina/cbmroot
rishat.sultanov_AT_cern.ch/cbmroot
l_fabe01_AT_uni-muenster.de/cbmroot
pwg-c2f/cbmroot
j.decuveland/cbmroot
a.toia/cbmroot
i.vassiliev/cbmroot
n.herrmann/cbmroot
o.lubynets/cbmroot
se.gorbunov/cbmroot
cornelius.riesen_AT_physik.uni-giessen.de/cbmroot
zhangqn17_AT_mails.tsinghua.edu.cn/cbmroot
bartosz.sobol/cbmroot
ajit.kumar/cbmroot
computing/cbmroot
a.agarwal_AT_vecc.gov.in/cbmroot
osingh/cbmroot
wielanek_AT_if.pw.edu.pl/cbmroot
malgorzata.karabowicz.stud_AT_pw.edu.pl/cbmroot
m.shiroya/cbmroot
s.roy/cbmroot
p.-a.loizeau/cbmroot
a.weber/cbmroot
ma.beyer/cbmroot
d.klein/cbmroot
d.smith/cbmroot
mvdsoft/cbmroot
d.spicker/cbmroot
y.h.leung/cbmroot
m.deveaux/cbmroot
mkunold/cbmroot
h.darwish/cbmroot
f_fido01_AT_uni-muenster.de/cbmroot
g.kozlov/cbmroot
d.emschermann/cbmroot
evgeny.lavrik/cbmroot
v.friese/cbmroot
f.uhlig/cbmroot
ebechtel_AT_ikf.uni-frankfurt.de/cbmroot
a.senger/cbmroot
praisig/cbmroot
s.lebedev/cbmroot
redelbach_AT_compeng.uni-frankfurt.de/cbmroot
p.subramani/cbmroot
a_meye37_AT_uni-muenster.de/cbmroot
om/cbmroot
o.golosov/cbmroot
l.chlad/cbmroot
a.bercuci/cbmroot
d.ramirez/cbmroot
v.singhal/cbmroot
h.schiller/cbmroot
apuntke/cbmroot
f.zorn/cbmroot
rubio_AT_physi.uni-heidelberg.de/cbmroot
p.chudoba/cbmroot
apuntke/mcbmroot
r.karabowicz/cbmroot
64 results
24889a4bb26d10678d3326b3f8822a064b029732
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Updated MuchReadoutConfig.cxx for 2391 parameters.
· dec7ce4b
Dominik Smith
authored
1 year ago
dec7ce4b
Updated MuchReadoutConfig::CreateMuchAddress() to account for 2022 changes.
· 2569f7b6
Dominik Smith
authored
1 year ago
and
Dominik Smith
committed
1 year ago
2569f7b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
algo/detectors/much/MuchReadoutConfig.cxx
+48
-47
48 additions, 47 deletions
algo/detectors/much/MuchReadoutConfig.cxx
algo/detectors/much/MuchReadoutConfig.h
+2
-2
2 additions, 2 deletions
algo/detectors/much/MuchReadoutConfig.h
with
50 additions
and
49 deletions
algo/detectors/much/MuchReadoutConfig.cxx
View file @
2569f7b6
...
...
@@ -59,10 +59,10 @@ namespace cbm::algo
void
MuchReadoutConfig
::
Init
()
{
// This here refers to the mCBM 2022 setup.
// Taken from CbmMuchUnpackPar in combination with macro/beamtime/mcbm2022/mMuchPar.par
// Taken from CbmMuchUnpackPar in combination with macro/beamtime/mcbm2022/mMuchPar
Upto26052022
.par
// Array to hold the unique IDs (equipment ID) for all MUCH DPBs
uint16_t
eqId
[
numComp
]
=
{
0x
1
001
,
0x
1
002
,
0x
1
003
,
0x1006
,
0x
2
00
2
,
0x
2
003
};
uint16_t
eqId
[
numComp
]
=
{
0x
2
001
,
0x
2
002
,
0x
2
003
,
0x1006
,
0x
1
00
1
,
0x
1002
,
0x1
003
};
// Mapping of eLink to FEB number within CROB. If -1, elink not used.
// This mapping is the same for each component.
...
...
@@ -77,11 +77,12 @@ namespace cbm::algo
// FEB IDs connected to GEM Module B
fnFebsIdsArrayGemB
=
{
6
,
16
,
-
1
,
14
,
5
,
8
,
9
,
4
,
15
,
//Id for the connected FEB Position in DPB 2002 GEM Module B
-
1
,
3
,
-
1
,
17
,
10
,
11
,
12
,
7
,
13
};
//Id for the connected FEB Position in DPB 2003 GEM Module B
6
,
7
,
-
1
,
-
1
,
14
,
2
,
-
1
,
-
1
,
1
,
//Id for the connected FEB Position in DPB 2001 GEM Module B
0
,
16
,
-
1
,
-
1
,
5
,
8
,
9
,
4
,
15
,
//Id for the connected FEB Position in DPB 2002 GEM Module B
-
1
,
10
,
-
1
,
17
,
13
,
11
,
12
,
-
1
,
3
};
//Id for the connected FEB Position in DPB 2003 GEM Module B
// FEB IDs connected to RPC Module
fnFebsIdsArrayRpc
=
{
3
,
-
1
,
-
1
,
2
,
0
,
-
1
,
1
,
-
1
,
-
1
};
//Id for the connected FEB Position in GEM Module B
fnFebsIdsArrayRpc
=
{
3
,
-
1
,
-
1
,
-
1
,
0
,
1
,
-
1
,
-
1
,
2
};
//Id for the connected FEB Position in GEM Module B
// Init arrays which store positions of PADs
InitChannelToPadMaps
();
...
...
@@ -128,7 +129,7 @@ namespace cbm::algo
station
=
0
;
// for mCBM setup
layer
=
0
;
// Station 0 for GEM-A and station 1 for Module GEM-B
}
else
if
(
dpbidx
==
4
||
dpbidx
==
5
)
//Last
2
DPBs are for GEM-2
else
if
(
dpbidx
==
4
||
dpbidx
==
5
||
dpbidx
==
6
)
//Last
3
DPBs are for GEM-2
after 10/04/2022
{
station
=
1
;
// for mCBM setup station
layer
=
0
;
// 0 for Module GEM-A and 1 for Module GEM-B
...
...
@@ -305,34 +306,35 @@ namespace cbm::algo
void
MuchReadoutConfig
::
InitChannelToPadMaps
()
{
// Array which stores the corresponding x position of PAD of RPC module
fChannelsToPadXRpc
=
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
1
,
1
,
1
,
0
,
1
,
1
,
//
1
,
1
,
1
,
1
,
2
,
0
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
2
,
1
,
3
,
//
3
,
2
,
3
,
3
,
3
,
3
,
3
,
3
,
0
,
3
,
2
,
3
,
4
,
4
,
4
,
1
,
//
4
,
4
,
4
,
4
,
4
,
4
,
3
,
4
,
2
,
5
,
1
,
0
,
5
,
4
,
5
,
5
,
//
5
,
5
,
5
,
5
,
5
,
5
,
3
,
5
,
3
,
2
,
2
,
4
,
0
,
1
,
-
3
,
-
3
,
//
6
,
6
,
6
,
6
,
6
,
6
,
6
,
6
,
6
,
6
,
4
,
6
,
3
,
5
,
1
,
2
,
//
7
,
0
,
7
,
7
,
7
,
7
,
4
,
7
,
7
,
5
,
7
,
7
,
7
,
7
,
5
,
6
,
//
0
,
1
,
3
,
2
,
8
,
6
,
8
,
8
,
8
,
8
,
3
,
8
,
8
,
4
,
8
,
8
,
//
//
8
,
8
,
5
,
0
,
6
,
1
,
7
,
7
,
9
,
9
,
9
,
0
,
4
,
2
,
9
,
9
,
//
9
,
3
,
9
,
9
,
9
,
9
,
4
,
9
,
3
,
4
,
0
,
2
,
5
,
1
,
5
,
5
,
//
6
,
6
,
6
,
6
,
7
,
7
,
7
,
7
,
8
,
7
,
8
,
8
,
8
,
8
,
2
,
1
,
//
4
,
3
,
6
,
5
,
0
,
7
,
8
,
1
,
9
,
9
,
9
,
2
,
3
,
8
,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7
,
10
,
9
,
11
,
0
,
12
,
12
,
1
,
10
,
3
,
2
,
//
5
,
4
,
7
,
6
,
9
,
8
,
11
,
10
,
12
,
12
,
13
,
11
,
13
,
13
,
-
3
,
-
3
,
//
1
,
0
,
3
,
2
,
5
,
4
,
7
,
6
,
9
,
8
,
12
,
10
,
13
,
11
,
14
,
14
,
//
0
,
14
,
2
,
1
,
4
,
3
,
13
,
5
,
6
,
12
,
8
,
7
,
10
,
9
,
13
,
11
,
//
15
,
15
,
14
,
15
,
0
,
12
,
2
,
1
,
4
,
3
,
15
,
5
,
6
,
14
,
8
,
7
,
//
//
10
,
9
,
14
,
16
,
13
,
16
,
11
,
12
,
1
,
0
,
3
,
17
,
15
,
16
,
2
,
4
,
//
fChannelsToPadYRpc
=
{
1
,
0
,
3
,
2
,
5
,
4
,
7
,
6
,
0
,
8
,
2
,
1
,
3
,
9
,
5
,
4
,
//
7
,
6
,
9
,
8
,
0
,
10
,
2
,
1
,
4
,
3
,
6
,
5
,
8
,
7
,
10
,
0
,
//
1
,
9
,
3
,
2
,
5
,
4
,
7
,
6
,
11
,
8
,
10
,
9
,
1
,
0
,
2
,
11
,
//
4
,
3
,
6
,
5
,
8
,
7
,
10
,
9
,
11
,
0
,
12
,
12
,
1
,
10
,
3
,
2
,
//
5
,
4
,
7
,
6
,
9
,
8
,
11
,
10
,
12
,
12
,
13
,
11
,
13
,
13
,
-
3
,
-
3
,
//
1
,
0
,
3
,
2
,
5
,
4
,
7
,
6
,
9
,
8
,
12
,
10
,
13
,
11
,
14
,
14
,
//
0
,
14
,
2
,
1
,
4
,
3
,
13
,
5
,
6
,
12
,
8
,
7
,
10
,
9
,
13
,
11
,
//
15
,
15
,
14
,
15
,
0
,
12
,
2
,
1
,
4
,
3
,
15
,
5
,
6
,
14
,
8
,
7
,
//
//
10
,
9
,
14
,
16
,
13
,
16
,
11
,
12
,
1
,
0
,
3
,
2
,
17
,
15
,
16
,
4
,
//
5
,
16
,
7
,
6
,
9
,
8
,
16
,
10
,
17
,
17
,
18
,
17
,
15
,
17
,
17
,
16
,
//
15
,
14
,
17
,
16
,
15
,
14
,
17
,
16
,
12
,
13
,
14
,
13
,
16
,
15
,
18
,
18
,
//
18
,
18
,
18
,
18
,
19
,
18
,
11
,
19
,
12
,
11
,
13
,
19
,
19
,
17
,
19
,
19
,
//
...
...
@@ -360,7 +362,7 @@ namespace cbm::algo
21
,
21
,
21
,
21
,
21
,
21
,
19
,
21
,
17
,
16
,
19
,
18
,
22
,
20
,
22
,
22
,
//
22
,
22
,
22
,
21
,
23
,
23
,
22
,
22
,
23
,
22
,
23
,
23
,
24
,
23
,
24
,
22
,
//
24
,
24
,
23
,
24
,
23
,
23
,
24
,
24
,
24
,
24
,
23
,
24
,
26
,
25
,
-
3
,
-
3
,
//
//
//
27
,
28
,
25
,
25
,
25
,
25
,
25
,
25
,
29
,
25
,
26
,
25
,
28
,
27
,
26
,
25
,
//
26
,
26
,
26
,
26
,
27
,
26
,
28
,
27
,
30
,
29
,
26
,
26
,
27
,
27
,
27
,
27
,
//
27
,
27
,
28
,
28
,
28
,
30
,
29
,
28
,
28
,
28
,
29
,
28
,
29
,
29
,
29
,
29
,
//
...
...
@@ -369,9 +371,9 @@ namespace cbm::algo
33
,
32
,
32
,
33
,
33
,
33
,
33
,
33
,
33
,
33
,
34
,
34
,
34
,
34
,
34
,
33
,
//
34
,
34
,
34
,
35
,
-
3
,
35
,
-
3
,
35
,
-
3
,
35
,
-
3
,
35
,
-
3
,
35
,
-
3
,
35
,
//
-
3
,
34
,
-
3
,
35
,
36
,
36
,
-
3
,
36
,
35
,
36
,
35
,
34
,
-
3
,
-
3
,
33
,
-
3
,
//
//
//
37
,
36
,
36
,
38
,
36
,
36
,
36
,
36
,
37
,
37
,
37
,
39
,
37
,
37
,
37
,
37
,
//
37
,
37
,
3
8
,
3
8
,
40
,
38
,
38
,
38
,
38
,
38
,
38
,
38
,
39
,
39
,
39
,
39
,
//
37
,
37
,
3
7
,
3
7
,
40
,
38
,
38
,
38
,
38
,
38
,
38
,
38
,
39
,
39
,
39
,
39
,
//
39
,
39
,
39
,
39
,
40
,
39
,
40
,
40
,
40
,
40
,
40
,
40
,
40
,
40
,
41
,
41
,
//
41
,
41
,
41
,
41
,
41
,
41
,
42
,
41
,
42
,
42
,
42
,
42
,
42
,
42
,
43
,
42
,
//
43
,
43
,
43
,
43
,
43
,
43
,
43
,
41
,
44
,
42
,
44
,
44
,
44
,
44
,
44
,
44
,
//
...
...
@@ -1031,5 +1033,4 @@ namespace cbm::algo
95
,
94
,
96
,
90
,
95
,
91
,
96
,
92
,
95
,
90
,
96
,
91
,
95
,
95
,
96
,
96
,
//
95
,
96
,
95
,
93
,
96
,
92
,
-
1
,
91
,
-
1
,
90
,
-
1
,
90
,
-
1
,
91
,
79
,
92
};
}
}
/* namespace cbm::algo */
This diff is collapsed.
Click to expand it.
algo/detectors/much/MuchReadoutConfig.h
View file @
2569f7b6
...
...
@@ -56,11 +56,11 @@ namespace cbm::algo
static
const
uint16_t
numFebsPerCrob
=
9
;
///< Number of FEBs connected to each CROB for mMuch 2019
static
const
uint16_t
numAsicsPerFeb
=
1
;
///< Number of ASICs connected in each FEB for MUCH
static
const
uint16_t
numChanPerAsic
=
128
;
///< Number of channels in each ASIC
static
const
uint16_t
numComp
=
6
;
///< Total number of MUCH DPBs in system
static
const
uint16_t
numComp
=
7
;
///< Total number of MUCH DPBs in system
/// Variables
uint16_t
numFebsInGemA
=
27
;
///< Number of FEBs connected in GEM Module A
uint16_t
numFebsInGemB
=
18
;
///< Number of FEBs connected in GEM Module B
uint16_t
numFebsInGemB
=
27
;
///< Number of FEBs connected in GEM Module B
uint16_t
numFebsInRpc
=
9
;
///< Number of FEBs connected in RPC Module
std
::
vector
<
int16_t
>
fnFebsIdsArrayGemA
;
///< Array to hold FEB IDs connected to GEM Module A
std
::
vector
<
int16_t
>
fnFebsIdsArrayGemB
;
///< Array to hold FEB IDs connected to GEM Module B
...
...
This diff is collapsed.
Click to expand it.