HPS-MC
random_sample.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <stdhep_util.hh>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <unistd.h>
#include <random>
#include <algorithm>
#include <iostream>

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Takes input stdhep files, merges a Poisson-determined number of events per event into a new stdhep file.

Todo:
check if true

< correction parameter for mu of Poisson

Definition at line 21 of file random_sample.cc.