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
4bcb31df
Commit
4bcb31df
authored
1 year ago
by
Felix Weiglhofer
Committed by
Volker Friese
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
CbmStsDigi: Remove assert from constructor.
parent
ad0346b7
No related branches found
No related tags found
1 merge request
!1227
CbmStsDigi: Remove assert from constructor.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/data/sts/CbmStsDigi.h
+1
-5
1 addition, 5 deletions
core/data/sts/CbmStsDigi.h
with
1 addition
and
5 deletions
core/data/sts/CbmStsDigi.h
+
1
−
5
View file @
4bcb31df
...
...
@@ -58,12 +58,8 @@ public:
** @param time Measurement time [ns]
** @param charge Charge [ADC units]
**/
XPU_D
CbmStsDigi
(
int32_t
address
,
int32_t
channel
,
double
time
,
uint16_t
charge
)
XPU_D
CbmStsDigi
(
int32_t
address
,
int32_t
channel
,
uint32_t
time
,
uint16_t
charge
)
{
// StsDigi is not able to store negative timestamps.
assert
(
time
>=
0
);
// StsDigi has a maximal time range of ~2.1s (2 147 483 647 ns).
assert
(
time
<=
kMaxTimestamp
);
PackAddressAndTime
(
address
,
time
);
PackChannelAndCharge
(
channel
,
charge
);
}
...
...
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