#define N_BINS 4800 #define pshift 0.22278298 #ifndef FUNCTION_H #define FUNCTION_H float binomial_cal ( int nshot, int nexp ) { float p = 1.0/25.0; float factpart = 1; for ( int i=0; i