Set maximum number of channels when using simulated driver.
r2245 | ffr | 2007-11-07 15:57:02 +1100 (Wed, 07 Nov 2007) | 2 lines
This commit is contained in:
committed by
Douglas Clowes
parent
a1a07d3d0f
commit
45fb8a2865
@@ -1,6 +1,6 @@
|
||||
|
||||
source $cfPath(hmm)/hmm_configuration_common_1.tcl
|
||||
source $cfPath(hmm)/hmm_cylindrical_detector_configuration.tcl
|
||||
set sim_mode [SplitReply [hmm_simulation]]
|
||||
|
||||
##\brief Return the detector position
|
||||
proc ::histogram_memory::detector_posn_degrees {} {
|
||||
@@ -9,8 +9,13 @@ proc ::histogram_memory::detector_posn_degrees {} {
|
||||
proc ::histogram_memory::pre_count {} {}
|
||||
proc ::histogram_memory::post_count {} {}
|
||||
proc ::histogram_memory::initialize {} {
|
||||
if {$::sim_mode == "true"} {
|
||||
hmm configure oat_ntc_eff 1
|
||||
hmm configure oat_nyc_eff 512
|
||||
hmm configure oat_nxc_eff [expr 480*8 - 1]
|
||||
}
|
||||
::histogram_memory::_initialize
|
||||
::histogram_memory::two_theta -centres
|
||||
::histogram_memory::two_theta -boundaries
|
||||
|
||||
detector_active_height_mm 200
|
||||
detector_active_width_mm 500
|
||||
|
||||
Reference in New Issue
Block a user