@@ -106,12 +106,14 @@ bool SimpleChargeStatsParallelEventVisitor::visit_telescope_run(
106
106
chan_hists_.resize (run_config->configured_channel_id_size ());
107
107
for (auto *& h : chan_hists_) {
108
108
// For now on do not use per-channel low gain histograms
109
- h = new ChannelHists (has_dual_gain_, config_.ped_time_hist_resolution (), 3600.0 ,
109
+ h = new ChannelHists (has_dual_gain_, config_.ped_time_hist_resolution (),
110
+ config_.channel_ped_time_hist_range (),
110
111
config_.dual_gain_sample_resolution (), config_.dual_gain_sum_resolution ());
111
112
}
112
113
113
114
delete camera_hists_;
114
- camera_hists_ = new CameraHists (has_dual_gain_, config_.ped_time_hist_resolution (), 86400.0 );
115
+ camera_hists_ = new CameraHists (has_dual_gain_, config_.ped_time_hist_resolution (),
116
+ config_.camera_ped_time_hist_range ());
115
117
116
118
delete data_order_camera_;
117
119
data_order_camera_ = calin::iact_data::instrument_layout::reorder_camera_channels (
@@ -816,6 +818,8 @@ SimpleChargeStatsParallelEventVisitor::default_config()
816
818
config.set_low_gain_wf_clipping_value (4095 );
817
819
config.set_nearest_neighbor_nchannel_threshold (3 );
818
820
config.set_ped_time_hist_resolution (5.0 );
821
+ config.set_channel_ped_time_hist_range (86400.0 );
822
+ config.set_camera_ped_time_hist_range (86400.0 );
819
823
config.set_dual_gain_sample_resolution (1.0 );
820
824
config.set_dual_gain_sum_resolution (5.0 );
821
825
return config;
0 commit comments