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

Wrapper around a generic MadGraph process definition. More...

#include <include/CepGenMadGraph/Process.h>

+ Inheritance diagram for Process:
+ Collaboration diagram for Process:

Public Member Functions

 Process (const ParametersList &)
 
virtual ~Process ()=default
 
const std::vector< int > & intermediatePartons () const
 
const std::vector< int > & centralSystem () const
 
virtual void initialise (const std::string &)=0
 
virtual double eval ()=0
 
virtual const std::vector< Momentum > & momenta ()=0
 
ProcesssetMomentum (size_t i, const Momentum &mom)
 
const std::string & name () const
 Module unique indexing name.
 
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 ()
 

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

const std::vector< int > incoming_pdgids_
 
const std::vector< int > central_pdgids_
 
std::vector< double * > mom_
 
const std::string name_
 Module unique indexing name.
 
ParametersList params_
 Module parameters.
 

Detailed Description

Definition at line 30 of file Process.h.

Constructor & Destructor Documentation

◆ Process()

Process ( const ParametersList & )
explicit

◆ ~Process()

virtual ~Process ( )
virtualdefault

Member Function Documentation

◆ centralSystem()

const std::vector< int > & centralSystem ( ) const

Definition at line 38 of file Process.h.

◆ description()

static ParametersDescription description ( )
static

◆ eval()

virtual double eval ( )
pure virtual

◆ initialise()

virtual void initialise ( const std::string & )
pure virtual

◆ intermediatePartons()

const std::vector< int > & intermediatePartons ( ) const

Definition at line 37 of file Process.h.

◆ momenta()

virtual const std::vector< Momentum > & momenta ( )
pure virtual

◆ name()

const std::string & name ( ) const
inherited

Definition at line 42 of file NamedModule.h.

◆ operator!=()

template<typename T >
bool operator!= ( const SteeredObject< T > & oth) const
inherited

Definition at line 50 of file SteeredObject.h.

◆ operator==()

template<typename T >
bool operator== ( const SteeredObject< T > & oth) const
inherited

Definition at line 48 of file SteeredObject.h.

◆ parameters()

template<typename T >
const ParametersList & parameters ( ) const
overridevirtualinherited

Reimplemented from Steerable.

Definition at line 53 of file SteeredObject.h.

◆ setDescribedParameters()

template<typename T >
void setDescribedParameters ( const ParametersList & params_orig)
inherited

Definition at line 72 of file SteeredObject.h.

◆ setMomentum()

Process & setMomentum ( size_t i,
const Momentum & mom )

◆ setParameters()

template<typename T >
void setParameters ( const ParametersList & )
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

◆ central_pdgids_

const std::vector<int> central_pdgids_
protected

Definition at line 47 of file Process.h.

◆ incoming_pdgids_

const std::vector<int> incoming_pdgids_
protected

Definition at line 47 of file Process.h.

◆ mom_

std::vector<double*> mom_
protected

Definition at line 48 of file Process.h.

◆ name_

const std::string name_
protectedinherited

Definition at line 45 of file NamedModule.h.

◆ params_

ParametersList params_
mutableprotectedinherited

Definition at line 50 of file Steerable.h.