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
de2aa477
Commit
de2aa477
authored
2 years ago
by
Pierre-Alain Loizeau
Committed by
Florian Uhlig
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
In AlgoBuildRawEvent, fix a bug forcing min 1 digi when max was set
parent
cf735056
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1009
[mCBM] support for digievent in offline task based chain + CI
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
reco/eventbuilder/digis/CbmAlgoBuildRawEvents.cxx
+5
-3
5 additions, 3 deletions
reco/eventbuilder/digis/CbmAlgoBuildRawEvents.cxx
with
5 additions
and
3 deletions
reco/eventbuilder/digis/CbmAlgoBuildRawEvents.cxx
+
5
−
3
View file @
de2aa477
...
...
@@ -643,15 +643,17 @@ Bool_t CbmAlgoBuildRawEvents::CheckTriggerConditions(CbmEvent* event, const RawE
return
kFALSE
;
}
/// Check trigger rejection by minimal number or absence
/// Check trigger rejection by minimal
/maximal
number or absence
, if enabled/requested
int32_t
iNbDigis
=
event
->
GetNofData
(
det
.
dataType
);
if
((
-
1
==
iNbDigis
)
||
(
static_cast
<
UInt_t
>
(
iNbDigis
)
<
det
.
fuTriggerMinDigis
))
{
/// a.Check trigger rejection by minimal number (if enabled)
if
(
0
<
det
.
fuTriggerMinDigis
&&
((
-
1
==
iNbDigis
)
||
(
static_cast
<
UInt_t
>
(
iNbDigis
)
<
det
.
fuTriggerMinDigis
)))
{
LOG
(
debug2
)
<<
"Event does not have enough digis: "
<<
iNbDigis
<<
" vs "
<<
det
.
fuTriggerMinDigis
<<
" for "
<<
det
.
sName
;
return
kFALSE
;
}
/// Check trigger rejection by maximal number (if enabled)
///
b.
Check trigger rejection by maximal number (if enabled)
if
(
0
<=
det
.
fiTriggerMaxDigis
&&
det
.
fiTriggerMaxDigis
<
iNbDigis
)
{
LOG
(
debug2
)
<<
"Event Has too many digis: "
<<
iNbDigis
<<
" vs "
<<
det
.
fiTriggerMaxDigis
<<
" for "
<<
det
.
sName
;
return
kFALSE
;
...
...
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