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
b801618b
Commit
b801618b
authored
3 years ago
by
Pascal Raisig
Committed by
Pierre-Alain Loizeau
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix variable types for system time offsets
parent
e1f65758
No related branches found
No related tags found
1 merge request
!415
Include all unpackers in the new /reco/steer/ based scheme
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
reco/base/CbmRecoUnpackAlgo.tmpl
+1
-1
1 addition, 1 deletion
reco/base/CbmRecoUnpackAlgo.tmpl
reco/base/CbmRecoUnpackConfig.tmpl
+7
-3
7 additions, 3 deletions
reco/base/CbmRecoUnpackConfig.tmpl
with
8 additions
and
4 deletions
reco/base/CbmRecoUnpackAlgo.tmpl
+
1
−
1
View file @
b801618b
...
...
@@ -347,7 +347,7 @@ public:
void SetParFilesBasePath(std::string value) { fParFilesBasePath = value; }
/** @brief Set the global system time offset @remark in princible this should go to parameters */
void SetSystemTimeOffset(
size
_t value) { fSystemTimeOffset = value; }
void SetSystemTimeOffset(
int32
_t value) { fSystemTimeOffset = value; }
/** @brief Set the start time of the current TS */
void SetTsStartTime(size_t value) { fTsStartTime = value; }
...
...
This diff is collapsed.
Click to expand it.
reco/base/CbmRecoUnpackConfig.tmpl
+
7
−
3
View file @
b801618b
...
...
@@ -101,7 +101,11 @@ protected:
/** @brief Decision if the info msgs are supposed to be stored to a branch. */
bool fIsMC = false;
size_t fSystemTimeOffset = 0;
/**
* @brief Time offset for the system
* @todo This should be module and channel dependent and included into the asic parameters
*/
int32_t fSystemTimeOffset = 0;
/** @brief Use this function to implement additional actions to be called once per TS, e.g. needed if more than the default output vector is used. */
virtual void reset() { return; };
...
...
@@ -156,7 +160,7 @@ public:
void Init(FairRootManager* ioman)
{
LOG(info) << fName << "::Init() ---------------------------------";
if (fDoWriteOutput) {
fOutputVec = new std::vector<TOutput>();
...
...
@@ -269,7 +273,7 @@ public:
void SetParFilesBasePath(std::string value) { fParFilesBasePath = value; }
/** @brief Set the global system time offset @remark in princible this should go to parameters */
void SetSystemTimeOffset(
size
_t value) { fSystemTimeOffset = value; }
void SetSystemTimeOffset(
int32
_t value) { fSystemTimeOffset = value; }
protected:
/**
...
...
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