HPS-MC
add_mother.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <stdhep_util.hh>
#include <unistd.h>

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 file, adds a new particle and makes it the mother of all parentless particles, and writes to a new stdhep file.

< The event number

< documentation particle

Definition at line 13 of file add_mother.cc.