![]() |
HepMC Reference DocumentationHepMC |
#include <iostream>
#include "HepMC/HerwigWrapper.h"
#include "HepMC/IO_HERWIG.h"
#include "HepMC/IO_GenEvent.h"
#include "HepMC/GenEvent.h"
#include "HepMC/HEPEVT_Wrapper.h"
#include "HerwigHelper.h"
Go to the source code of this file.
Functions | |
int | main () |
int main | ( | ) |
To Compile: go to the HepMC directory and type: gmake examples/example_MyHerwig.exe
In this example the precision and number of entries for the HEPEVT fortran common block are explicitly defined to correspond to those used in the Herwig version of the HEPEVT common block. If you get funny output from HEPEVT in your own code, probably you have set these values incorrectly!
Definition at line 25 of file example_MyHerwig.cc.
References getHerwigCrossSection(), HepMC::Units::GEV, hwbgen, hwbmch, hwcdec, hwcfor, hwdhad, hwdhob, hwdhvy, hwefin, hweini, hwepro, hwevnt, hwigin, hwmevt, hwproc, hwufne, hwuinc, hwuine, HepMC::Units::MM, HepMC::GenEvent::print(), HepMC::HEPEVT_Wrapper::print_hepevt(), HepMC::IO_BaseClass::read_next_event(), HepMC::GenEvent::set_cross_section(), HepMC::GenEvent::set_event_number(), HepMC::HEPEVT_Wrapper::set_max_number_entries(), HepMC::GenEvent::set_signal_process_id(), HepMC::HEPEVT_Wrapper::set_sizeof_real(), and HepMC::GenEvent::use_units().