ATLAS Offline Software
Loading...
Searching...
No Matches
Herwig7HepMC.cxx File Reference

Implementation of the Herwig7 HepMC interface. More...

#include "ThePEG/EventRecord/Event.h"
#include "ThePEG/EventRecord/SubProcess.h"
#include "ThePEG/Handlers/XComb.h"
#include "ThePEG/Handlers/EventHandler.h"
#include "ThePEG/PDF/PDF.h"
#include "Herwig/API/HerwigAPI.h"
#include "ThePEG/Vectors/HepMCConverter.h"
Include dependency graph for Herwig7HepMC.cxx:

Go to the source code of this file.

Classes

struct  ThePEG::HepMCTraits< HepMC::GenEvent >

Namespaces

namespace  ThePEG

Macros

#define HEPMC_HAS_CROSS_SECTION
 AV: We have those defined since HepMC2.05 or so.
#define HEPMC_HAS_PDF_INFO

Functions

void convert_to_HepMC (const ThePEG::Event &event, HepMC::GenEvent &evt, bool nocopies, ThePEG::Energy eunit, ThePEG::Length lunit)

Detailed Description

Macro Definition Documentation

◆ HEPMC_HAS_CROSS_SECTION

#define HEPMC_HAS_CROSS_SECTION

AV: We have those defined since HepMC2.05 or so.

These are so old that are seldomly used. ThePeg is an exception. Defines shoul be before HepMCConverter.h

Definition at line 24 of file Herwig7HepMC.cxx.

◆ HEPMC_HAS_PDF_INFO

#define HEPMC_HAS_PDF_INFO

Definition at line 25 of file Herwig7HepMC.cxx.

Function Documentation

◆ convert_to_HepMC()

void convert_to_HepMC ( const ThePEG::Event & event,
HepMC::GenEvent & evt,
bool nocopies,
ThePEG::Energy eunit,
ThePEG::Length lunit )

Definition at line 140 of file Herwig7HepMC.cxx.

140 {
141 ThePEG::HepMCConverter<HepMC::GenEvent>::convert(event, evt, nocopies, eunit, lunit);
142}