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
d0eafe1a
Commit
d0eafe1a
authored
4 months ago
by
Pierre-Alain Loizeau
Browse files
Options
Downloads
Patches
Plain Diff
algo: add SystemTimeOffset setter to TRD 1D and 2D ReadoutConfig classes
parent
1074c3dd
No related branches found
No related tags found
1 merge request
!1972
Most recent common geometries and parameters for mCBM 2024-05 + related fixes
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
algo/detectors/trd/ReadoutConfig.h
+3
-0
3 additions, 0 deletions
algo/detectors/trd/ReadoutConfig.h
algo/detectors/trd2d/ReadoutConfig.h
+3
-0
3 additions, 0 deletions
algo/detectors/trd2d/ReadoutConfig.h
with
6 additions
and
0 deletions
algo/detectors/trd/ReadoutConfig.h
+
3
−
0
View file @
d0eafe1a
...
...
@@ -87,6 +87,9 @@ namespace cbm::algo::trd
void
Init
(
const
std
::
map
<
size_t
,
std
::
map
<
size_t
,
std
::
map
<
size_t
,
size_t
>>>&
addressMap
,
std
::
map
<
size_t
,
std
::
map
<
size_t
,
std
::
map
<
size_t
,
std
::
map
<
size_t
,
size_t
>>>>&
channelMap
);
/** @brief Get system time offset **/
void
SetSystemTimeOffset
(
int64_t
offsetNs
)
{
fSystemTimeOffset
=
offsetNs
;
};
/** @brief Get system time offset **/
int64_t
GetSystemTimeOffset
()
{
return
fSystemTimeOffset
;
};
...
...
This diff is collapsed.
Click to expand it.
algo/detectors/trd2d/ReadoutConfig.h
+
3
−
0
View file @
d0eafe1a
...
...
@@ -111,6 +111,9 @@ namespace cbm::algo::trd2d
/** @brief Get system time offset **/
int64_t
GetSystemTimeOffset
()
{
return
fSystemTimeOffset
;
};
/** @brief Get system time offset **/
void
SetSystemTimeOffset
(
int64_t
offsetNs
)
{
fSystemTimeOffset
=
offsetNs
;
};
private
:
// --- System time offset
int64_t
fSystemTimeOffset
=
0
;
...
...
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