Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
scdaq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
scouting-demonstrator
scdaq
Commits
b434a498
Commit
b434a498
authored
2 years ago
by
Thomas Owen James
Browse files
Options
Downloads
Patches
Plain Diff
added condition for prescalefactor ==0 i.e disabled
parent
a0fefa28
No related branches found
No related tags found
2 merge requests
!59
CMSSW json file
,
!9
added configuration option that prescales the DMA packets
Pipeline
#4358048
passed
2 years ago
Stage: build
Stage: run
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/processor.cc
+1
-1
1 addition, 1 deletion
src/processor.cc
with
1 addition
and
1 deletion
src/processor.cc
+
1
−
1
View file @
b434a498
...
@@ -197,7 +197,7 @@ void StreamProcessor::process(Slice& input, Slice& out)
...
@@ -197,7 +197,7 @@ void StreamProcessor::process(Slice& input, Slice& out)
control
.
packet_count
++
;
control
.
packet_count
++
;
//Implement prescale - only for CALO
//Implement prescale - only for CALO
if
(
processorType
==
ProcessorType
::
CALO
)
{
if
(
(
processorType
==
ProcessorType
::
CALO
)
&&
(
prescaleFactor
!=
0
))
{
if
(
control
.
packet_count
%
prescaleFactor
!=
0
){
return
;}
if
(
control
.
packet_count
%
prescaleFactor
!=
0
){
return
;}
}
}
...
...
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