cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.3
A generic central exclusive processes event generator
Loading...
Searching...
No Matches

#include <CepGenAddOns/MadGraphWrapper/MadGraphInterface.h>

+ Inheritance diagram for MadGraphInterface:
+ Collaboration diagram for MadGraphInterface:

Public Member Functions

 MadGraphInterface (const ParametersList &)
 
std::string run () const
 
bool operator== (const SteeredObject &oth) const
 Equality operator.
 
bool operator!= (const SteeredObject &oth) const
 Inequality operator.
 
const ParametersListparameters () const override
 Module user-defined parameters.
 
virtual void setParameters (const ParametersList &params) override
 Set module parameters.
 
void setDescribedParameters (const ParametersList &params_orig)
 Set (documented) module parameters.
 

Static Public Member Functions

static ParametersDescription description ()
 
static ParametersDescription extractParamCardParameters (const std::string &)
 Retrieve a CepGen-compatible parameters list from a MadGraph parameters card.
 
static std::string generateParamCard (const ParametersDescription &)
 Generate a MadGraph parameters card from CepGen user-steered parameters.
 

Protected Member Functions

template<typename T >
steer (const std::string &key) const
 Retrieve a parameters as previously steered.
 
template<typename T , typename U >
U steerAs (const std::string &key) const
 Retrieve a recasted parameters as previously steered.
 
std::string steerName () const
 Retrieve module name from parameters.
 
std::string steerPath (const std::string &key) const
 Retrieve a path from common search paths.
 

Protected Attributes

ParametersList params_
 Module parameters.
 

Detailed Description

Definition at line 26 of file MadGraphInterface.h.

Constructor & Destructor Documentation

◆ MadGraphInterface()

MadGraphInterface ( const ParametersList params)
explicit

Definition at line 49 of file MadGraphInterface.cpp.

Member Function Documentation

◆ description()

ParametersDescription description ( )
static

Definition at line 303 of file MadGraphInterface.cpp.

◆ extractParamCardParameters()

ParametersDescription extractParamCardParameters ( const std::string &  card_content)
static

Definition at line 247 of file MadGraphInterface.cpp.

◆ generateParamCard()

std::string generateParamCard ( const ParametersDescription params)
static

Definition at line 285 of file MadGraphInterface.cpp.

◆ operator!=()

bool operator!= ( const SteeredObject< MadGraphInterface > &  oth) const
inherited

Definition at line 51 of file SteeredObject.h.

◆ operator==()

bool operator== ( const SteeredObject< MadGraphInterface > &  oth) const
inherited

Definition at line 49 of file SteeredObject.h.

◆ parameters()

const ParametersList & parameters ( ) const
overridevirtualinherited

Reimplemented from Steerable.

Definition at line 54 of file SteeredObject.h.

◆ run()

std::string run ( ) const

Definition at line 99 of file MadGraphInterface.cpp.

◆ setDescribedParameters()

void setDescribedParameters ( const ParametersList params_orig)
inherited

Definition at line 73 of file SteeredObject.h.

◆ setParameters()

virtual void setParameters ( const ParametersList params)
overridevirtualinherited

Reimplemented from Steerable.

Definition at line 62 of file SteeredObject.h.

◆ steer()

template<typename T >
T steer ( const std::string &  key) const
protectedinherited

Definition at line 39 of file Steerable.h.

◆ steerAs()

template<typename T , typename U >
U steerAs ( const std::string &  key) const
protectedinherited

Definition at line 44 of file Steerable.h.

◆ steerName()

std::string steerName ( ) const
protectedinherited

Definition at line 48 of file Steerable.h.

◆ steerPath()

std::string steerPath ( const std::string &  key) const
protectedinherited

Definition at line 30 of file Steerable.cpp.

Member Data Documentation

◆ params_

ParametersList params_
mutableprotectedinherited

Definition at line 50 of file Steerable.h.