#include <test_vertices.h>
|
void | allocate_candidates_memory_on_host () |
|
void | choose_candidates_above_threshold () |
|
void | coalesce_triggers () |
|
void | correct_times_and_get_histo_per_vertex_shared (unsigned int *ct) |
|
int | CPU_test_vertices_execute (std::vector< int > PMTid, std::vector< int > time, std::vector< int > *trigger_ns, std::vector< int > *trigger_ts) |
|
int | CPU_test_vertices_finalize () |
|
int | CPU_test_vertices_initialize () |
|
void | find_vertex_with_max_npmts_in_timebin (histogram_t *np, histogram_t *mnp, unsigned int *vmnp) |
|
void | free_event_memories () |
|
void | free_global_memories () |
|
unsigned int | get_direction_index_at_angles (unsigned int iphi, unsigned int itheta) |
|
unsigned int | get_direction_index_at_pmt (unsigned int pmt_id, unsigned int vertex_index, unsigned int direction_index) |
|
unsigned int | get_direction_index_at_time (unsigned int time_bin, unsigned int vertex_index, unsigned int direction_index) |
|
unsigned int | get_distance_index (unsigned int pmt_id, unsigned int vertex_block) |
|
unsigned int | get_time_index (unsigned int hit_index, unsigned int vertex_block) |
|
void | make_table_of_directions () |
|
void | make_table_of_tofs () |
|
void | make_test_vertices () |
|
bool | read_the_input_ToolDAQ (std::vector< int > PMTid, std::vector< int > time, int *earliest_time) |
|
void | separate_triggers_into_gates (std::vector< int > *trigger_ns, std::vector< int > *trigger_ts) |
|
void | StreamToLog (int level) |
|
void | write_output () |
|
Definition at line 12 of file test_vertices.h.
Log level enumerations.
Enumerator |
---|
FATAL |
|
ERROR |
|
WARN |
|
INFO |
|
DEBUG1 |
|
DEBUG2 |
|
DEBUG3 |
|
Definition at line 203 of file test_vertices.h.
test_vertices::test_vertices |
( |
| ) |
|
void test_vertices::allocate_candidates_memory_on_host |
( |
| ) |
|
|
private |
void test_vertices::choose_candidates_above_threshold |
( |
| ) |
|
|
private |
void test_vertices::coalesce_triggers |
( |
| ) |
|
|
private |
void test_vertices::correct_times_and_get_histo_per_vertex_shared |
( |
unsigned int * |
ct | ) |
|
|
private |
int test_vertices::CPU_test_vertices_execute |
( |
std::vector< int > |
PMTid, |
|
|
std::vector< int > |
time, |
|
|
std::vector< int > * |
trigger_ns, |
|
|
std::vector< int > * |
trigger_ts |
|
) |
| |
|
private |
int test_vertices::CPU_test_vertices_finalize |
( |
| ) |
|
|
private |
int test_vertices::CPU_test_vertices_initialize |
( |
| ) |
|
|
private |
bool test_vertices::Execute |
( |
| ) |
|
bool test_vertices::Finalise |
( |
| ) |
|
void test_vertices::find_vertex_with_max_npmts_in_timebin |
( |
histogram_t * |
np, |
|
|
histogram_t * |
mnp, |
|
|
unsigned int * |
vmnp |
|
) |
| |
|
private |
void test_vertices::free_event_memories |
( |
| ) |
|
|
private |
void test_vertices::free_global_memories |
( |
| ) |
|
|
private |
unsigned int test_vertices::get_direction_index_at_angles |
( |
unsigned int |
iphi, |
|
|
unsigned int |
itheta |
|
) |
| |
|
private |
unsigned int test_vertices::get_direction_index_at_pmt |
( |
unsigned int |
pmt_id, |
|
|
unsigned int |
vertex_index, |
|
|
unsigned int |
direction_index |
|
) |
| |
|
private |
unsigned int test_vertices::get_direction_index_at_time |
( |
unsigned int |
time_bin, |
|
|
unsigned int |
vertex_index, |
|
|
unsigned int |
direction_index |
|
) |
| |
|
private |
unsigned int test_vertices::get_distance_index |
( |
unsigned int |
pmt_id, |
|
|
unsigned int |
vertex_block |
|
) |
| |
|
private |
unsigned int test_vertices::get_time_index |
( |
unsigned int |
hit_index, |
|
|
unsigned int |
vertex_block |
|
) |
| |
|
private |
bool test_vertices::Initialise |
( |
std::string |
configfile, |
|
|
DataModel & |
data |
|
) |
| |
void test_vertices::make_table_of_directions |
( |
| ) |
|
|
private |
void test_vertices::make_table_of_tofs |
( |
| ) |
|
|
private |
void test_vertices::make_test_vertices |
( |
| ) |
|
|
private |
bool test_vertices::read_the_input_ToolDAQ |
( |
std::vector< int > |
PMTid, |
|
|
std::vector< int > |
time, |
|
|
int * |
earliest_time |
|
) |
| |
|
private |
void test_vertices::separate_triggers_into_gates |
( |
std::vector< int > * |
trigger_ns, |
|
|
std::vector< int > * |
trigger_ts |
|
) |
| |
|
private |
void test_vertices::StreamToLog |
( |
int |
level | ) |
|
|
inlineprivate |
Print the current value of the streamer at the set log level, then clear the streamer
Definition at line 197 of file test_vertices.h.
void test_vertices::write_output |
( |
| ) |
|
|
private |
std::vector<unsigned int> test_vertices::candidate_trigger_npmts_in_cone_in_time_bin |
|
private |
std::vector<unsigned int> test_vertices::candidate_trigger_npmts_in_time_bin |
|
private |
std::vector<std::pair<unsigned int,unsigned int> > test_vertices::candidate_trigger_pair_vertex_time |
|
private |
double test_vertices::cerenkov_angle_water |
|
private |
float test_vertices::cerenkov_costheta |
|
private |
float test_vertices::choose_candidates |
|
private |
double test_vertices::coalesce_time |
|
private |
unsigned int test_vertices::correct_mode |
|
private |
float test_vertices::costheta_cone_cut |
|
private |
bool test_vertices::cylindrical_grid |
|
private |
double test_vertices::dark_rate |
|
private |
std::string test_vertices::detector_file |
|
private |
double test_vertices::detector_height |
|
private |
double test_vertices::detector_radius |
|
private |
double test_vertices::distance_between_vertices |
|
private |
float test_vertices::elapsed_candidates_copy_host |
|
private |
float test_vertices::elapsed_candidates_kernel |
|
private |
float test_vertices::elapsed_candidates_memory_dev |
|
private |
float test_vertices::elapsed_coalesce |
|
private |
float test_vertices::elapsed_copy_dev |
|
private |
float test_vertices::elapsed_detector |
|
private |
float test_vertices::elapsed_directions |
|
private |
float test_vertices::elapsed_directions_copy_dev |
|
private |
float test_vertices::elapsed_free |
|
private |
float test_vertices::elapsed_gates |
|
private |
float test_vertices::elapsed_input |
|
private |
float test_vertices::elapsed_kernel_correct_times_and_get_n_pmts_per_time_bin |
|
private |
float test_vertices::elapsed_memory_candidates_host |
|
private |
float test_vertices::elapsed_memory_dev |
|
private |
float test_vertices::elapsed_memory_directions_dev |
|
private |
float test_vertices::elapsed_memory_tofs_dev |
|
private |
float test_vertices::elapsed_parameters |
|
private |
float test_vertices::elapsed_pmts |
|
private |
float test_vertices::elapsed_reset |
|
private |
float test_vertices::elapsed_threads |
|
private |
float test_vertices::elapsed_threads_candidates |
|
private |
float test_vertices::elapsed_tof |
|
private |
float test_vertices::elapsed_tofs_copy_dev |
|
private |
float test_vertices::elapsed_tofs_free |
|
private |
float test_vertices::elapsed_total |
|
private |
float test_vertices::elapsed_vertices |
|
private |
float test_vertices::elapsed_write_output |
|
private |
std::string test_vertices::event_file |
|
private |
std::string test_vertices::event_file_base |
|
private |
std::string test_vertices::event_file_suffix |
|
private |
std::vector<std::pair<unsigned int,unsigned int> > test_vertices::final_trigger_pair_vertex_time |
|
private |
unsigned int test_vertices::greatest_divisor |
|
private |
bool* test_vertices::host_directions_for_vertex_and_pmt |
|
private |
unsigned int* test_vertices::host_ids |
|
private |
float* test_vertices::host_light_dr |
|
private |
float* test_vertices::host_light_dx |
|
private |
float* test_vertices::host_light_dy |
|
private |
float* test_vertices::host_light_dz |
|
private |
unsigned int* test_vertices::host_max_number_of_pmts_in_cone_in_time_bin |
|
private |
histogram_t* test_vertices::host_max_number_of_pmts_in_time_bin |
|
private |
unsigned int* test_vertices::host_n_pmts_nhits |
|
private |
unsigned int* test_vertices::host_n_pmts_per_time_bin |
|
private |
unsigned int* test_vertices::host_time_bin_of_hit |
|
private |
unsigned int* test_vertices::host_times |
|
private |
unsigned int* test_vertices::host_vertex_with_max_n_pmts |
|
private |
float test_vertices::m_coalesce_time |
|
private |
int test_vertices::m_correct_mode |
|
private |
float test_vertices::m_costheta_cone_cut |
|
private |
bool test_vertices::m_cylindrical_grid |
|
private |
float test_vertices::m_distance_between_vertices |
|
private |
int test_vertices::m_max_n_hits_per_job |
|
private |
int test_vertices::m_n_direction_bins_theta |
|
private |
int test_vertices::m_num_blocks_y |
|
private |
int test_vertices::m_num_threads_per_block_x |
|
private |
int test_vertices::m_num_threads_per_block_y |
|
private |
int test_vertices::m_output_txt |
|
private |
bool test_vertices::m_return_direction |
|
private |
bool test_vertices::m_return_vertex |
|
private |
bool test_vertices::m_select_based_on_cone |
|
private |
std::stringstream test_vertices::m_ss |
|
private |
std::string test_vertices::m_stopwatch_file |
|
private |
Image filename to save the histogram to, if required.
Definition at line 187 of file test_vertices.h.
std::vector<int> test_vertices::m_time_int |
|
private |
TimeDelta test_vertices::m_trigger_mask_window_post |
|
private |
Post-trigger time for masking digits from future tools.
Definition at line 52 of file test_vertices.h.
TimeDelta test_vertices::m_trigger_mask_window_pre |
|
private |
Pre-trigger time for masking digits from future tools.
Definition at line 50 of file test_vertices.h.
TimeDelta test_vertices::m_trigger_save_window_post |
|
private |
TimeDelta test_vertices::m_trigger_save_window_pre |
|
private |
bool test_vertices::m_trigger_threshold_adjust_for_noise |
|
private |
int test_vertices::m_verbose |
|
private |
Verbosity level, as defined in tool parameter file.
Definition at line 190 of file test_vertices.h.
float test_vertices::m_wall_like_distance |
|
private |
float test_vertices::m_wall_like_threshold_number_of_pmts |
|
private |
float test_vertices::m_water_like_threshold_number_of_pmts |
|
private |
int test_vertices::m_write_output_mode |
|
private |
int test_vertices::max_n_blocks |
|
private |
unsigned int test_vertices::max_n_hits_per_job |
|
private |
int test_vertices::max_n_threads_per_block |
|
private |
unsigned int test_vertices::n_direction_bins |
|
private |
unsigned int test_vertices::n_direction_bins_phi |
|
private |
unsigned int test_vertices::n_direction_bins_theta |
|
private |
int test_vertices::n_events |
|
private |
unsigned int test_vertices::n_hits |
|
private |
unsigned int test_vertices::n_PMTs |
|
private |
unsigned int test_vertices::n_test_vertices |
|
private |
unsigned int test_vertices::n_time_bins |
|
private |
unsigned int test_vertices::n_water_like_test_vertices |
|
private |
unsigned int test_vertices::nhits_threshold_max |
|
private |
unsigned int test_vertices::nhits_threshold_min |
|
private |
unsigned int test_vertices::nhits_window |
|
private |
std::string test_vertices::output_file |
|
private |
std::string test_vertices::output_file_base |
|
private |
std::vector<double> test_vertices::output_trigger_information |
|
private |
bool test_vertices::output_txt |
|
private |
double* test_vertices::PMT_x |
|
private |
double * test_vertices::PMT_y |
|
private |
double * test_vertices::PMT_z |
|
private |
std::string test_vertices::pmts_file |
|
private |
bool test_vertices::select_based_on_cone |
|
private |
double test_vertices::speed_light_water |
|
private |
unsigned int test_vertices::the_max_time |
|
private |
unsigned int test_vertices::time_step_size |
|
private |
double test_vertices::trigger_gate_down |
|
private |
double test_vertices::trigger_gate_up |
|
private |
std::vector<unsigned int> test_vertices::trigger_npmts_in_cone_in_time_bin |
|
private |
std::vector<unsigned int> test_vertices::trigger_npmts_in_time_bin |
|
private |
std::vector<std::pair<unsigned int,unsigned int> > test_vertices::trigger_pair_vertex_time |
|
private |
double test_vertices::twopi |
|
private |
bool test_vertices::use_timing |
|
private |
bool test_vertices::use_verbose |
|
private |
double* test_vertices::vertex_x |
|
private |
double * test_vertices::vertex_y |
|
private |
double * test_vertices::vertex_z |
|
private |
double test_vertices::wall_like_distance |
|
private |
unsigned int test_vertices::wall_like_threshold_number_of_pmts |
|
private |
unsigned int test_vertices::water_like_threshold_number_of_pmts |
|
private |
unsigned int test_vertices::write_output_mode |
|
private |
The documentation for this class was generated from the following files: