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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computing
cbmroot
Commits
38e5a687
Commit
38e5a687
authored
Mar 4, 2022
by
Alexandru Bercuci
Committed by
Florian Uhlig
Mar 4, 2022
Browse files
Options
Downloads
Patches
Plain Diff
add default mapping for FASP on module 5
parent
8e76119a
No related branches found
No related tags found
No related merge requests found
Pipeline
#16411
canceled
Mar 4, 2022
Stage: checkRepository
Stage: checkFormat
Stage: build
Stage: finalise
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
macro/run/run_unpack_tsa.C
+6
-3
6 additions, 3 deletions
macro/run/run_unpack_tsa.C
with
6 additions
and
3 deletions
macro/run/run_unpack_tsa.C
+
6
−
3
View file @
38e5a687
...
...
@@ -222,13 +222,16 @@ void run_unpack_tsa(std::vector<std::string> infile = {"test.tsa"}, UInt_t runid
trdfasp2dconfig
->
SetDoWriteOutput
();
// 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");
uint8_t
map
[
NFASPMOD
];
if
(
runid
<=
1588
)
{
uint8_t
map
[
NFASPMOD
],
map21
[]
=
{
9
,
2
,
3
,
11
,
10
,
7
,
8
,
0
,
1
,
4
,
6
,
5
};
uint8_t
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
);
}
else
for
(
int
i
(
0
);
i
<
NFASPMOD
;
i
++
)
map
[
i
]
=
i
;
trdfasp2dconfig
->
SetFaspMapping
(
5
,
map
);
std
::
string
parfilesbasepathTrdfasp2d
=
Form
(
"%s/parameters/trd"
,
srcDir
.
Data
());
trdfasp2dconfig
->
SetParFilesBasePath
(
parfilesbasepathTrdfasp2d
);
trdfasp2dconfig
->
SetSystemTimeOffset
(
-
1800
);
// [ns] value to be updated
...
...
...
...
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
sign in
to comment