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

Go to the source code of this file.

Functions

void remove_nulls (vector< stdhep_entry > *event)
 
void set_jdahep (vector< stdhep_entry > *event)
 
void displace_vertex (vector< stdhep_entry > *event, gsl_rng *r, double decay_length)
 
int main (int argc, char **argv)
 

Function Documentation

◆ displace_vertex()

void displace_vertex ( vector< stdhep_entry > *  event,
gsl_rng *  r,
double  decay_length 
)

Definition at line 48 of file lhe_tridents_displaceuni.cc.

◆ main()

int main ( int  argc,
char **  argv 
)

Takes input stdhep file, applies beam rotation and width, and writes to a new stdhep file /todo is this description correct?

< The event number

Definition at line 82 of file lhe_tridents_displaceuni.cc.

◆ remove_nulls()

void remove_nulls ( vector< stdhep_entry > *  event)

Definition at line 12 of file lhe_tridents_displaceuni.cc.

◆ set_jdahep()

void set_jdahep ( vector< stdhep_entry > *  event)

Definition at line 33 of file lhe_tridents_displaceuni.cc.