#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <stdhep_util.hh>
#include <unistd.h>
#include <iostream>
#include <vector>
Go to the source code of this file.
|
| bool | read_lhe_event_aprime (FILE *lhe_file, int nup, LHEParticle &scattered_electron, LHEParticle &aprime, int id_pair) |
| |
| bool | read_lhe_event_radiative (FILE *lhe_file, int nup, LHEParticle &scattered_lepton, LHEParticle &electron, LHEParticle &positron) |
| |
| bool | read_lhe_event (FILE *lhe_file, EventType &event_type, int &nup, LHEParticle &scattered_particle, LHEParticle &pair_or_electron, LHEParticle &positron, int id_pair) |
| |
| int | main (int argc, char **argv) |
| |
◆ EventType
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ read_lhe_event()
◆ read_lhe_event_aprime()
| bool read_lhe_event_aprime |
( |
FILE * |
lhe_file, |
|
|
int |
nup, |
|
|
LHEParticle & |
scattered_electron, |
|
|
LHEParticle & |
aprime, |
|
|
int |
id_pair |
|
) |
| |
◆ read_lhe_event_radiative()
◆ BEAM_ENERGY
| const double BEAM_ENERGY = 3.74 |
◆ ELECTRON_MASS
| const double ELECTRON_MASS = 0.000511 |
Adds mother particles (623 scattered electron/muon and 622 A-prime/virtual photon) to events and builds proper genealogy from LHE and STDHEP input files. Handles both A-prime (nup=7) and radiative (nup=6) cases.
Definition at line 18 of file add_mother_full_truth.cc.