Pull back configurations changes from Bilby

This commit is contained in:
Douglas Clowes
2014-06-04 15:17:35 +10:00
parent 393f050338
commit 49361e3430
6 changed files with 102 additions and 55 deletions

View File

@@ -19,11 +19,14 @@ proc ::histogram_memory::init_OAT_TABLE {} {
hmm configure fat_frame_frequency $freq
hmm configure fat_frame_source INTERNAL
OAT_TABLE -set X { 239.5 238.5 } NXC 240 Y { -0.5 0.5 } NYC 256 T { 0 20000 } NTC 1
OAT_TABLE -set X { 239.5 238.5 } NXC 240 Y { -0.5 2.5 } NYC 86 T { 0 20000 } NTC 1
} message ] {
return -code error $message
}
}
proc ::histogram_memory::init_FAT_TABLE {} {
hmm configure FAT_EVENT_OUTPUT_STREAMING ENABLE
}
proc ::histogram_memory::pre_count {} {}
proc ::histogram_memory::post_count {} {}
proc ::histogram_memory::isc_initialize {} {
@@ -35,7 +38,7 @@ proc ::histogram_memory::isc_initialize {} {
::histogram_memory::init_hmm_objs
if {$::sim_mode == "true"} {
hmm configure oat_ntc_eff 1
hmm configure $INST_NYC 256
hmm configure $INST_NYC 86
hmm configure $INST_NXC 240
}
BAT_TABLE -init
@@ -45,7 +48,7 @@ proc ::histogram_memory::isc_initialize {} {
FAT_TABLE -init
::histogram_memory::ic_initialize
detector_active_height_mm [expr 5.08 * 256]
detector_active_height_mm [expr 5.08 * 86]
detector_active_width_mm [expr 5.08 * 240]
detector_active_height_mm lock
detector_active_width_mm lock
@@ -55,6 +58,7 @@ proc ::histogram_memory::isc_initialize {} {
# hmm configure FAT_SIMULATED_EVENT_X0 $x_bb0
# hmm configure FAT_SIMULATED_EVENT_X1 $xbbmax
::histogram_memory::init_OAT_TABLE
::histogram_memory::init_FAT_TABLE
::histogram_memory::upload_config Filler_defaults
set ::histogram_memory::histmem_axes(HOR) /instrument/detector/x_pixel_offset