#include <ROI_formation.h>
Public Member Functions | |
| ROI_formation (Waveform::ChannelMaskMap &cmm, int nwire_u, int nwire_v, int nwire_w, int nbins=9594, float th_factor_ind=3, float th_factor_col=5, int pad=5, float asy=0.1, int rebin=6, double l_factor=3.5, double l_max_th=10000, double l_factor1=0.7, int l_short_length=3, int l_jump_one_bin=0) | |
| ~ROI_formation () | |
| void | Clear () |
| void | find_ROI_by_decon_itself (int plane, const Array::array_xxf &r_data) |
| void | find_ROI_by_decon_itself (int plane, const Array::array_xxf &r_data, const Array::array_xxf &r_data_tight) |
| void | extend_ROI_self (int plane) |
| void | create_ROI_connect_info (int plane) |
| void | find_ROI_loose (int plane, const Array::array_xxf &r_data) |
| void | extend_ROI_loose (int plane) |
| void | apply_roi (int plane, Array::array_xxf &r_data, int flag) |
| std::vector< std::pair< int, int > > & | get_self_rois (int chid) |
| std::vector< std::pair< int, int > > & | get_loose_rois (int chid) |
| std::vector< float > & | get_uplane_rms () |
| std::vector< float > & | get_vplane_rms () |
| std::vector< float > & | get_wplane_rms () |
Private Member Functions | |
| double | cal_RMS (Waveform::realseq_t signal) |
| double | local_ave (Waveform::realseq_t &signal, int bin, int width) |
| int | find_ROI_end (Waveform::realseq_t &signal, int bin, double th=0, int jump_one_bin=0) |
| int | find_ROI_begin (Waveform::realseq_t &signal, int bin, double th=0, int jump_one_bin=0) |
Private Attributes | |
| int | nwire_u |
| int | nwire_v |
| int | nwire_w |
| int | nbins |
| float | th_factor_ind |
| float | th_factor_col |
| int | pad |
| float | asy |
| int | rebin |
| double | l_factor |
| double | l_max_th |
| double | l_factor1 |
| int | l_short_length |
| int | l_jump_one_bin |
| std::map< int, std::vector< std::pair< int, int > > > | bad_ch_map |
| std::vector< std::vector< std::pair< int, int > > > | self_rois_u |
| std::vector< std::vector< std::pair< int, int > > > | self_rois_v |
| std::vector< std::vector< std::pair< int, int > > > | self_rois_w |
| std::vector< std::vector< std::pair< int, int > > > | loose_rois_u |
| std::vector< std::vector< std::pair< int, int > > > | loose_rois_v |
| std::vector< std::vector< std::pair< int, int > > > | loose_rois_w |
| std::vector< float > | uplane_rms |
| std::vector< float > | vplane_rms |
| std::vector< float > | wplane_rms |
Definition at line 14 of file ROI_formation.h.
| ROI_formation::ROI_formation | ( | Waveform::ChannelMaskMap & | cmm, |
| int | nwire_u, | ||
| int | nwire_v, | ||
| int | nwire_w, | ||
| int | nbins = 9594, |
||
| float | th_factor_ind = 3, |
||
| float | th_factor_col = 5, |
||
| int | pad = 5, |
||
| float | asy = 0.1, |
||
| int | rebin = 6, |
||
| double | l_factor = 3.5, |
||
| double | l_max_th = 10000, |
||
| double | l_factor1 = 0.7, |
||
| int | l_short_length = 3, |
||
| int | l_jump_one_bin = 0 |
||
| ) |
Definition at line 9 of file ROI_formation.cxx.
| ROI_formation::~ROI_formation | ( | ) |
Definition at line 140 of file ROI_formation.cxx.
| void ROI_formation::apply_roi | ( | int | plane, |
| Array::array_xxf & | r_data, | ||
| int | flag | ||
| ) |
Definition at line 50 of file ROI_formation.cxx.
|
private |
Definition at line 351 of file ROI_formation.cxx.
| void ROI_formation::Clear | ( | void | ) |
Definition at line 144 of file ROI_formation.cxx.
| void ROI_formation::create_ROI_connect_info | ( | int | plane | ) |
Definition at line 238 of file ROI_formation.cxx.
| void ROI_formation::extend_ROI_loose | ( | int | plane | ) |
Definition at line 515 of file ROI_formation.cxx.
| void ROI_formation::extend_ROI_self | ( | int | plane | ) |
Definition at line 161 of file ROI_formation.cxx.
|
private |
Definition at line 632 of file ROI_formation.cxx.
| void ROI_formation::find_ROI_by_decon_itself | ( | int | plane, |
| const Array::array_xxf & | r_data | ||
| ) |
Definition at line 510 of file ROI_formation.cxx.
| void ROI_formation::find_ROI_by_decon_itself | ( | int | plane, |
| const Array::array_xxf & | r_data, | ||
| const Array::array_xxf & | r_data_tight | ||
| ) |
Definition at line 377 of file ROI_formation.cxx.
|
private |
Definition at line 603 of file ROI_formation.cxx.
| void ROI_formation::find_ROI_loose | ( | int | plane, |
| const Array::array_xxf & | r_data | ||
| ) |
Definition at line 666 of file ROI_formation.cxx.
|
inline |
Definition at line 43 of file ROI_formation.h.
|
inline |
Definition at line 33 of file ROI_formation.h.
|
inline |
Definition at line 53 of file ROI_formation.h.
|
inline |
Definition at line 54 of file ROI_formation.h.
|
inline |
Definition at line 55 of file ROI_formation.h.
|
private |
Definition at line 579 of file ROI_formation.cxx.
|
private |
Definition at line 71 of file ROI_formation.h.
|
private |
Definition at line 83 of file ROI_formation.h.
|
private |
Definition at line 75 of file ROI_formation.h.
|
private |
Definition at line 77 of file ROI_formation.h.
|
private |
Definition at line 79 of file ROI_formation.h.
|
private |
Definition at line 76 of file ROI_formation.h.
|
private |
Definition at line 78 of file ROI_formation.h.
|
private |
Definition at line 89 of file ROI_formation.h.
|
private |
Definition at line 90 of file ROI_formation.h.
|
private |
Definition at line 91 of file ROI_formation.h.
|
private |
Definition at line 66 of file ROI_formation.h.
|
private |
Definition at line 65 of file ROI_formation.h.
|
private |
Definition at line 65 of file ROI_formation.h.
|
private |
Definition at line 65 of file ROI_formation.h.
|
private |
Definition at line 70 of file ROI_formation.h.
|
private |
Definition at line 74 of file ROI_formation.h.
|
private |
Definition at line 85 of file ROI_formation.h.
|
private |
Definition at line 86 of file ROI_formation.h.
|
private |
Definition at line 87 of file ROI_formation.h.
|
private |
Definition at line 69 of file ROI_formation.h.
|
private |
Definition at line 69 of file ROI_formation.h.
|
private |
Definition at line 93 of file ROI_formation.h.
|
private |
Definition at line 94 of file ROI_formation.h.
|
private |
Definition at line 95 of file ROI_formation.h.
1.8.11