HPS-MC
random_sample_usingInputEventsInOrder.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 <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

< # of electrons per bunch

< correction parameter for mu of Poisson

Definition at line 18 of file random_sample_usingInputEventsInOrder.cc.