HPS-MC
add_mother_full_truth.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <stdhep_util.hh>
#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 
)

The tool works for ap and rad MC for fully truth. Takes input stdhep file and lhe file, adds new particles and makes them mothers of parentless particles, and writes to a new stdhep file.

< The event number

read event from stdhep file

build event entry 1: mother particle 1 entry 2: mother particle 2 other entries: copy of input stdhep event

documentation particle

< documentation particle

read event from lhe file

Building truth for mother particles

Definition at line 16 of file add_mother_full_truth.cc.