Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
patch-control
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
Monitor
Incidents
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
Carmelo Pellegrino
patch-control
Commits
1d5db559
Commit
1d5db559
authored
9 years ago
by
Carmelo Pellegrino
Browse files
Options
Downloads
Patches
Plain Diff
Logging the DAQ configuration for each run. This resolves issue #10
parent
001f2d01
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
daq.sh
+9
-0
9 additions, 0 deletions
daq.sh
with
9 additions
and
0 deletions
daq.sh
+
9
−
0
View file @
1d5db559
...
...
@@ -38,6 +38,9 @@ DETECTOR=du1cppm.detx # position of the detector file
ROOT_FILE
=
`
printf
"
${
DIR
}
/KM3NeT_%08d.root"
${
RUN_NUMBER
}
`
# Run number formatted for filenames
RNUMB_FNAMES
=
`
printf
"%08d"
${
RUN_NUMBER
}
`
if
[
-f
${
ROOT_FILE
}
]
;
then
echo
"The file
${
ROOT_FILE
}
already exists, please rename or remove it first, then restart this script"
exit
-1
...
...
@@ -59,6 +62,8 @@ triggerParameters = writeTimeslices = 1;
bufferSize = 1073741824;
EOF
cp
ev_configure_dfilter_dqdf.txt
${
HOME
}
/.km3_private/ev_configure_dfilter_dqdf_R
${
RNUMB_FNAMES
}
.txt
cat
>
ev_configure_dqueue_dqdf.txt
<<
EOF
timeslice_duration=100;
run_start_time=
${
RUN_START_TIME
}
;
...
...
@@ -71,6 +76,8 @@ opto_recipients=127.0.0.1:5556;
acou_recipient=127.0.0.1:5800;
EOF
cp
ev_configure_dqueue_dqdf.txt
${
HOME
}
/.km3_private/ev_configure_dqueue_dqdf_R
${
RNUMB_FNAMES
}
.txt
# Driver input
cat
>
driver.txt
<<
EOF
...
...
@@ -104,6 +111,8 @@ event ev_off { RC_CMD }
EOF
cp
driver.txt
${
HOME
}
/.km3_private/driver_R
${
RNUMB_FNAMES
}
.txt
JDAQDriver
-H
$SERVER
-M
$LOGGER
-d
$DEBUG
-t
$TIMEOUT_S
-f
driver.txt
-c
exit
0
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