15 #ifndef _WM_SPECT_mph_H 16 #define _WM_SPECT_mph_H 106 std::vector<hole_type> holes;
115 std::vector<int> who;
254 bool do_round_cumsum;
255 bool do_square_cumsum;
259 std::string detector_fn;
260 std::string collim_fn;
263 std::vector<detel_type> detel;
310 short int *nx, *ny, *nz;
320 discrf1d_type cr_att;
384 void wm_alloc(
const int* Nitems, wm_da_type& wm,
const wmh_mph_type& wmh);
386 void read_prj_params_mph(wmh_mph_type& wmh);
388 void read_coll_params_mph(wmh_mph_type& wmh);
392 void fill_pcf(
const wmh_mph_type& wmh, pcf_type& pcf);
394 void calc_cumsum(discrf2d_type* f);
396 void generate_msk_mph(
bool* msk_3d,
398 const wmh_mph_type& wmh);
400 void error_wmtools_SPECT_mph(
int nerr,
int ip, std::string txt);
int round(const float x)
Implements rounding of floating point numbers.
Definition: round.inl:59
NUMBER square(const NUMBER &x)
returns the square of a number, templated.
Definition: common.h:154
elemT sum(IterT start, IterT end, elemT init)
Compute the sum of a sequence using operator+=(), using an initial value.
Definition: more_algorithms.inl:52
Definition: PinholeSPECTUB_Tools.h:21