Added histogram memory start and stop times for RVA data on Quokka
r3118 | ffr | 2011-04-29 08:12:39 +1000 (Fri, 29 Apr 2011) | 1 line
This commit is contained in:
committed by
Douglas Clowes
parent
30d9edb0dd
commit
b7187a2d0a
@@ -46,6 +46,8 @@ namespace eval histogram_memory {
|
||||
hmm configure statuscheck false
|
||||
hmm configure num_events_filled_to_histo 12345
|
||||
hmm configure acq_dataset_active_sec 9.8
|
||||
hmm configure acq_start_time_t 1303170800
|
||||
hmm configure acq_stop_time_t 1303170818
|
||||
hmm configure ratemap_xy_max_bin 123
|
||||
hmm configure ratemap_xy_total 321
|
||||
hmm configure maximum_period 0
|
||||
@@ -1433,6 +1435,30 @@ sicslist setatt ::histogram_memory::time long_name time
|
||||
sicslist setatt ::histogram_memory::time mutable true
|
||||
sicslist setatt ::histogram_memory::time units seconds
|
||||
|
||||
##
|
||||
# @brief Histogram memory acquisition start_time
|
||||
::utility::macro::getset int ::histogram_memory::start_time {} {
|
||||
set start_time_sec [SplitReply [hmm configure acq_start_time_t]]
|
||||
# set start_time [clock format $start_time_sec -format "%G-%m-%d %T"]
|
||||
return "start_time = $start_time_sec"
|
||||
}
|
||||
sicslist setatt ::histogram_memory::start_time klass detector
|
||||
sicslist setatt ::histogram_memory::start_time long_name start_time
|
||||
sicslist setatt ::histogram_memory::start_time mutable true
|
||||
sicslist setatt ::histogram_memory::start_time units seconds
|
||||
|
||||
##
|
||||
# @brief Histogram memory acquisition stop_time
|
||||
::utility::macro::getset int ::histogram_memory::stop_time {} {
|
||||
set stop_time_sec [SplitReply [hmm configure acq_stop_time_t]]
|
||||
# set stop_time [clock format $stop_time_sec -format "%G-%m-%d %T"]
|
||||
return "stop_time = $stop_time_sec"
|
||||
}
|
||||
sicslist setatt ::histogram_memory::stop_time klass detector
|
||||
sicslist setatt ::histogram_memory::stop_time long_name stop_time
|
||||
sicslist setatt ::histogram_memory::stop_time mutable true
|
||||
sicslist setatt ::histogram_memory::stop_time units seconds
|
||||
|
||||
::utility::macro::getset float ::histogram_memory::ratemap_xy_max_bin {} {
|
||||
return "ratemap_xy_max_bin = [lindex [hmm configure ratemap_xy_max_bin] 2]"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user