cepgen is hosted by Hepforge, IPPP Durham
CepGen N/A
Central exclusive processes event generator
cepgen::mg5amc Namespace Reference

Classes

class  Interface
 
class  Process
 Wrapper around a generic MadGraph process definition. More...
 

Typedefs

using ProcessParticles = std::pair<std::vector<std::string>, std::vector<std::string> >
 

Functions

 DEFINE_FACTORY (ProcessFactory, Process, "MadGraph process definition factory")
 A MadGraph process factory.
 
ProcessParticles unpackProcessParticles (const std::string &process_name)
 Unpack the particles' content and role in the process from a string.
 
ParticleProperties describeParticle (const std::string &particle_name, const std::string &physics_model="")
 Unpack all particle properties from MadGraph.
 
std::vector< std::string > runCommand (const std::vector< std::string > &commands_list, const std::string &card_path, bool keep_output=false)
 Run a mg5_aMC command and return its result.
 
std::string normalise (const std::string &process_name, const std::string &physics_model="")
 Normalise a process name to make it computer-readable.
 

Typedef Documentation

◆ ProcessParticles

using ProcessParticles = std::pair<std::vector<std::string>, std::vector<std::string> >

Definition at line 25 of file Utils.h.

Function Documentation

◆ DEFINE_FACTORY()

DEFINE_FACTORY ( ProcessFactory ,
Process ,
"MadGraph process definition factory"  )

◆ describeParticle()

ParticleProperties describeParticle ( const std::string & particle_name,
const std::string & physics_model = "" )
Parameters
[in]particle_namemg5_aMC particle name
[in]physics_modelmg5_aMC model to use

◆ normalise()

std::string normalise ( const std::string & process_name,
const std::string & physics_model = "" )
Parameters
[in]physics_modelmg5_aMC model to use

◆ runCommand()

std::vector< std::string > runCommand ( const std::vector< std::string > & commands_list,
const std::string & card_path,
bool keep_output = false )
Parameters
[in]commands_listlist of commands to send to the mg5_aMC path
[in]card_pathfilename to use for the steering card
[in]keep_outputkeep the steering card after run?
Returns
full mg5_aMC output

◆ unpackProcessParticles()

ProcessParticles unpackProcessParticles ( const std::string & process_name)
Parameters
[in]process_namestring, human-built process definition