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

#include <include/CepGenMadGraph/Interface.h>

+ Inheritance diagram for Interface:
+ Collaboration diagram for Interface:

Public Member Functions

 Interface (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.
 
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 recast 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 27 of file Interface.h.

Constructor & Destructor Documentation

◆ Interface()

Interface ( const ParametersList & )
explicit

Member Function Documentation

◆ description()

static ParametersDescription description ( )
static

◆ extractParamCardParameters()

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

◆ generateParamCard()

static std::string generateParamCard ( const ParametersDescription & )
static

◆ operator!=()

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

Definition at line 50 of file SteeredObject.h.

◆ operator==()

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

Definition at line 48 of file SteeredObject.h.

◆ parameters()

const ParametersList & parameters ( ) const
overridevirtualinherited

Reimplemented from Steerable.

Definition at line 53 of file SteeredObject.h.

◆ run()

std::string run ( ) const

◆ setDescribedParameters()

void setDescribedParameters ( const ParametersList & params_orig)
inherited

Definition at line 72 of file SteeredObject.h.

◆ setParameters()

void setParameters ( const ParametersList & params)
overridevirtualinherited

Reimplemented from Steerable.

Definition at line 61 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

Member Data Documentation

◆ params_

ParametersList params_
mutableprotectedinherited

Definition at line 50 of file Steerable.h.