#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>
Go to the source code of this file.
Functions | |
void | rotate_entry (stdhep_entry *entry, double theta_x, double theta_y) |
int | main (int argc, char **argv) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Takes input stdhep file, applies beam rotation and shift to each event, and writes to a new stdhep file.
< The event number
< radian
initialize the RNG
Definition at line 48 of file beam_coords.cc.
void rotate_entry | ( | stdhep_entry * | entry, |
double | theta_x, | ||
double | theta_y | ||
) |
Definition at line 12 of file beam_coords.cc.