|
Low-Energy Muon (LEM) Experiment
0.5.2
|
#include <stdio.h>#include <stdlib.h>#include <time.h>#include <string.h>#include <math.h>#include "midas.h"#include "experim.h"#include "nemu_experim.h"
Go to the source code of this file.
Functions | |
| SCALERSUMRATE_PARAM_STR (scaler_param_str) | |
| INT | scaler_init (void) |
| INT | scaler_sum (EVENT_HEADER *, void *) |
| INT | scaler_clear (INT run_number) |
| INT | scaler_eor (INT run_number) |
| void | disp_scaler (INT nscal) |
Variables | |
| RUNINFO | runinfo |
| /Runinfo ODB key, defined in from midas.h More... | |
| EXP_PARAM | exp_param |
| SCALER_SETTINGS | scaler_settings |
| SCALERSUMRATE_PARAM | scaler_param |
| ANA_MODULE | scaler_rate_sum |
| static double | scaler [N_SCALER] |
| static INT | rate [N_SCALER] |
| static double | last_lem_events |
| static double | lem_events |
| static INT * | pring_buffer |
| static INT * | pwrite_ring_buffer |
| static INT | nwrite_ring_buffer |
| static INT | ring_buffer_size |
| void disp_scaler | ( | INT | nscal | ) |
Definition at line 288 of file scaler_rate_sum.cxx.
References hDB, hKey, line, SCALER_SETTINGS::names_scl0, rate, runinfo, and scaler.
Referenced by ana_begin_of_run(), ana_end_of_run(), ana_pause_run(), ana_resume_run(), and scaler_sum().
| INT scaler_clear | ( | INT | run_number | ) |
Definition at line 108 of file scaler_rate_sum.cxx.
References hDB, last_lem_events, lem_events, rate, and scaler.
| INT scaler_eor | ( | INT | run_number | ) |
Definition at line 127 of file scaler_rate_sum.cxx.
| INT scaler_init | ( | void | ) |
Definition at line 68 of file scaler_rate_sum.cxx.
References hDB, last_lem_events, lem_events, SCALERSUMRATE_PARAM::n_rate_average, N_SCALER, nwrite_ring_buffer, pring_buffer, pwrite_ring_buffer, and ring_buffer_size.
| INT scaler_sum | ( | EVENT_HEADER * | pheader, |
| void * | pevent | ||
| ) |
Function scaler_sum:
locates SCL0 bank, accumulates SCL0 in case of an active run and calculates the rates.
Definition at line 139 of file scaler_rate_sum.cxx.
References SCALERSUMRATE_PARAM::channel_norm_time, disp_scaler(), hDB, SCALER_SETTINGS::input_mode_3, RATE_BANK::ip, SRAT_BANK::ip, SCALERSUMRATE_PARAM::ip_channel, SCALERSUMRATE_PARAM::ip_threshold_current_ua_, IpSCALE, last_lem_events, lem_events, MASK24, N_SCALER, nwrite_ring_buffer, pring_buffer, pwrite_ring_buffer, rate, SCALERSUMRATE_PARAM::rate_norm_time, ring_buffer_size, runinfo, and scaler.
| SCALERSUMRATE_PARAM_STR | ( | scaler_param_str | ) |
| EXP_PARAM exp_param |
Definition at line 85 of file analyzer.cxx.
|
static |
Definition at line 57 of file scaler_rate_sum.cxx.
Referenced by scaler_clear(), scaler_init(), and scaler_sum().
|
static |
Definition at line 57 of file scaler_rate_sum.cxx.
Referenced by scaler_clear(), scaler_init(), and scaler_sum().
|
static |
Definition at line 61 of file scaler_rate_sum.cxx.
Referenced by scaler_init(), and scaler_sum().
|
static |
Definition at line 60 of file scaler_rate_sum.cxx.
Referenced by scaler_init(), and scaler_sum().
|
static |
Definition at line 60 of file scaler_rate_sum.cxx.
Referenced by scaler_init(), and scaler_sum().
|
static |
Definition at line 56 of file scaler_rate_sum.cxx.
Referenced by disp_scaler(), display_scaler(), frontend_loop(), scaler_clear(), scaler_sum(), and write_rates().
|
static |
Definition at line 61 of file scaler_rate_sum.cxx.
Referenced by scaler_init(), and scaler_sum().
| RUNINFO runinfo |
/Runinfo ODB key, defined in from midas.h
Not defined in experim.h:
Definition at line 83 of file analyzer.cxx.
|
static |
Definition at line 55 of file scaler_rate_sum.cxx.
Referenced by disp_scaler(), scaler_clear(), and scaler_sum().
| SCALERSUMRATE_PARAM scaler_param |
Definition at line 32 of file scaler_rate_sum.cxx.
| ANA_MODULE scaler_rate_sum |
Definition at line 41 of file scaler_rate_sum.cxx.
| SCALER_SETTINGS scaler_settings |
/Equipment/Scaler/Settings/
Definition at line 86 of file analyzer.cxx.
Referenced by scaler_mode().