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
59e26f90
Commit
59e26f90
authored
3 years ago
by
Alexandru Bercuci
Committed by
Florian Uhlig
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix format
parent
6d0150ad
No related branches found
No related tags found
1 merge request
!728
Add Trd2d to the data reconstruction
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
macro/run/run_unpack_online.C
+4
-4
4 additions, 4 deletions
macro/run/run_unpack_online.C
macro/run/run_unpack_tsa.C
+4
-4
4 additions, 4 deletions
macro/run/run_unpack_tsa.C
reco/detectors/trd/unpack/CbmTrdUnpackConfigFasp2D.cxx
+1
-1
1 addition, 1 deletion
reco/detectors/trd/unpack/CbmTrdUnpackConfigFasp2D.cxx
with
9 additions
and
9 deletions
macro/run/run_unpack_online.C
+
4
−
4
View file @
59e26f90
...
...
@@ -211,10 +211,10 @@ void run_unpack_online(std::vector<std::string> publisher = {"tcp://localhost:55
// Activate the line below to write Trd1D digis to a separate "TrdFaspDigi" branch. Can be used to separate between Fasp and Spadic digis
//trdfasp2dconfig->SetOutputBranchName("TrdFaspDigi");
if
(
runid
<=
1588
)
{
uint8_t
map
[
NFASPMOD
],
map21
[]
=
{
9
,
2
,
3
,
11
,
10
,
7
,
8
,
0
,
1
,
4
,
6
,
5
};
for
(
int
i
(
0
);
i
<
NFASPMOD
;
i
++
)
map
[
i
]
=
(
i
<
12
?
map21
[
i
]
:
i
);
uint8_t
map
[
NFASPMOD
],
map21
[]
=
{
9
,
2
,
3
,
11
,
10
,
7
,
8
,
0
,
1
,
4
,
6
,
5
};
for
(
int
i
(
0
);
i
<
NFASPMOD
;
i
++
)
map
[
i
]
=
(
i
<
12
?
map21
[
i
]
:
i
);
trdfasp2dconfig
->
SetFaspMapping
(
5
,
map
);
}
std
::
string
parfilesbasepathTrdfasp2d
=
Form
(
"%s/parameters/trd"
,
srcDir
.
Data
());
...
...
This diff is collapsed.
Click to expand it.
macro/run/run_unpack_tsa.C
+
4
−
4
View file @
59e26f90
...
...
@@ -223,10 +223,10 @@ void run_unpack_tsa(std::vector<std::string> infile = {"test.tsa"}, UInt_t runid
// Activate the line below to write Trd1D digis to a separate "TrdFaspDigi" branch. Can be used to separate between Fasp and Spadic digis
// trdfasp2dconfig->SetOutputBranchName("TrdFaspDigi");
if
(
runid
<=
1588
)
{
uint8_t
map
[
NFASPMOD
],
map21
[]
=
{
9
,
2
,
3
,
11
,
10
,
7
,
8
,
0
,
1
,
4
,
6
,
5
};
for
(
int
i
(
0
);
i
<
NFASPMOD
;
i
++
)
map
[
i
]
=
(
i
<
12
?
map21
[
i
]
:
i
);
uint8_t
map
[
NFASPMOD
],
map21
[]
=
{
9
,
2
,
3
,
11
,
10
,
7
,
8
,
0
,
1
,
4
,
6
,
5
};
for
(
int
i
(
0
);
i
<
NFASPMOD
;
i
++
)
map
[
i
]
=
(
i
<
12
?
map21
[
i
]
:
i
);
trdfasp2dconfig
->
SetFaspMapping
(
5
,
map
);
}
std
::
string
parfilesbasepathTrdfasp2d
=
Form
(
"%s/parameters/trd"
,
srcDir
.
Data
());
...
...
This diff is collapsed.
Click to expand it.
reco/detectors/trd/unpack/CbmTrdUnpackConfigFasp2D.cxx
+
1
−
1
View file @
59e26f90
...
...
@@ -35,7 +35,7 @@ void CbmTrdUnpackConfigFasp2D::InitAlgo()
{
if
(
fDoLog
)
LOG
(
info
)
<<
fName
<<
"::InitAlgo - SetFaspMapping"
;
fAlgo
->
SetAsicMapping
(
fFaspMap
);
/*if (fDoLog) */
fAlgo
->
PrintAsicMapping
();
/*if (fDoLog) */
fAlgo
->
PrintAsicMapping
();
// Now we have all information required to initialise the algorithm
fAlgo
->
Init
();
...
...
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