cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
cepgen::mg5amc Namespace Reference

Typedefs

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

Functions

ProcessParticles unpackProcessParticles (const std::string &proc)
 Unpack the particles' content and role in the process from a string.
 
ParticleProperties describeParticle (const std::string &part_name, const std::string &model="")
 Unpack all particle properties from MadGraph.
 
std::vector< std::string > runCommand (const std::vector< std::string > &cmds, const std::string &card_path, bool keep_output=false)
 Run a mg5_aMC command and return its result.
 
std::string normalise (const std::string &proc, const std::string &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 26 of file Utils.h.

Function Documentation

◆ describeParticle()

ParticleProperties describeParticle ( const std::string &  part_name,
const std::string &  model = "" 
)
Parameters
[in]part_namemg5_aMC particle name
[in]modelmg5_aMC model to use

Definition at line 68 of file Utils.cpp.

◆ normalise()

std::string normalise ( const std::string &  proc,
const std::string &  model = "" 
)
Parameters
[in]modelmg5_aMC model to use

Definition at line 172 of file Utils.cpp.

◆ runCommand()

std::vector< std::string > runCommand ( const std::vector< std::string > &  cmds,
const std::string &  card_path,
bool  keep_output = false 
)
Parameters
[in]cmdslist 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

Definition at line 147 of file Utils.cpp.

◆ unpackProcessParticles()

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

Definition at line 38 of file Utils.cpp.