HPS-MC
explode.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <stdhep_mcfio.h>
#include <stdhep.h>
#include <string.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, explodes each event into single-particle events, and writes to a new stdhep file.

< The event number

< The number of entries in this event

< The Particle id

< The particle id

< The position of the mother particle

< Position of the first daughter...

< 4-Momentum, mass

< Vertex information

Definition at line 11 of file explode.cc.