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
aadaa96f
Commit
aadaa96f
authored
1 year ago
by
Thomas Owen James
Browse files
Options
Downloads
Patches
Plain Diff
put write_EoR_file in outputfilehandler destructor as per Dinyar's "todo".
parent
de871482
No related branches found
Branches containing commit
No related tags found
1 merge request
!77
Changes to run with CMSSW
Pipeline
#6706826
passed
1 year ago
Stage: check
Stage: build
Stage: run
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/OutputFileHandler.cc
+0
-1
0 additions, 1 deletion
src/OutputFileHandler.cc
src/OutputFileHandler.h
+1
-0
1 addition, 0 deletions
src/OutputFileHandler.h
with
1 addition
and
1 deletion
src/OutputFileHandler.cc
+
0
−
1
View file @
aadaa96f
...
@@ -46,7 +46,6 @@ void OutputFileHandler::enqueue_current_file_for_close_and_move_maybe() {
...
@@ -46,7 +46,6 @@ void OutputFileHandler::enqueue_current_file_for_close_and_move_maybe() {
OutputFile
OutputFileHandler
::
getFile
(
uint32_t
run
,
uint32_t
index
)
{
OutputFile
OutputFileHandler
::
getFile
(
uint32_t
run
,
uint32_t
index
)
{
// TODO: We should maybe move this out of this function...
// TODO: We should maybe move this out of this function...
// TODO: EoR file should be also written at destruction, probably.
if
(
current_run_number_
>
0
&&
current_run_number_
!=
run
&&
getCMSSWHeaders
())
{
if
(
current_run_number_
>
0
&&
current_run_number_
!=
run
&&
getCMSSWHeaders
())
{
OutputFileHandler
::
write_EoR_file
();
OutputFileHandler
::
write_EoR_file
();
}
}
...
...
This diff is collapsed.
Click to expand it.
src/OutputFileHandler.h
+
1
−
0
View file @
aadaa96f
...
@@ -44,6 +44,7 @@ class OutputFileHandler {
...
@@ -44,6 +44,7 @@ class OutputFileHandler {
~
OutputFileHandler
()
{
~
OutputFileHandler
()
{
enqueue_current_file_for_close_and_move_maybe
();
enqueue_current_file_for_close_and_move_maybe
();
write_EoR_file
();
exit_file_handler_loop
();
exit_file_handler_loop
();
}
}
...
...
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