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

A 2-to-4 (or 2-to-2 central) phase space generator. More...

+ Inheritance diagram for PhaseSpaceGenerator2to4< T >:
+ Collaboration diagram for PhaseSpaceGenerator2to4< T >:

Public Member Functions

 PhaseSpaceGenerator2to4 (const ParametersList &params)
 
bool ktFactorised () const override
 
void setCentralCuts (const cuts::Central &single) override
 Set cuts on central particles.
 
void initialise (proc::FactorisedProcess *process) override
 Set all process parameters.
 
bool generate () override
 Generate a kinematics combination, and return a success flag.
 
double weight () const override
 Return the event weight for a kinematics combination.
 
pdgids_t partons () const override
 List of incoming partons in kinematics.
 
std::vector< int > central () const override
 List of outgoing central particles in kinematics.
 
void setCentral (const std::vector< int > &cent) override
 Override the central particles list.
 
double that () const override
 
double uhat () const override
 
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.
 
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 ()
 

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

const std::string name_
 Module unique indexing name.
 
ParametersList params_
 Module parameters.
 

Detailed Description

template<typename T>
class cepgen::PhaseSpaceGenerator2to4< T >

Definition at line 37 of file PhaseSpaceGenerator2to4.cpp.

Constructor & Destructor Documentation

◆ PhaseSpaceGenerator2to4()

template<typename T >
PhaseSpaceGenerator2to4 ( const ParametersList params)
explicit

Definition at line 39 of file PhaseSpaceGenerator2to4.cpp.

Member Function Documentation

◆ central()

template<typename T >
std::vector< int > central ( ) const
overridevirtual

Implements PhaseSpaceGenerator.

Definition at line 104 of file PhaseSpaceGenerator2to4.cpp.

◆ description()

template<typename T >
static ParametersDescription description ( )
static

Definition at line 45 of file PhaseSpaceGenerator2to4.cpp.

◆ generate()

template<typename T >
bool generate ( )
overridevirtual

Implements PhaseSpaceGenerator.

Definition at line 84 of file PhaseSpaceGenerator2to4.cpp.

◆ initialise()

template<typename T >
void initialise ( proc::FactorisedProcess )
overridevirtual

Implements PhaseSpaceGenerator.

Definition at line 63 of file PhaseSpaceGenerator2to4.cpp.

◆ ktFactorised()

template<typename T >
bool ktFactorised ( ) const
overridevirtual

Reimplemented from PhaseSpaceGenerator.

Definition at line 56 of file PhaseSpaceGenerator2to4.cpp.

◆ 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 51 of file SteeredObject.h.

◆ operator==()

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

Definition at line 49 of file SteeredObject.h.

◆ parameters()

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

Reimplemented from Steerable.

Definition at line 54 of file SteeredObject.h.

◆ partons()

template<typename T >
pdgids_t partons ( ) const
overridevirtual

Implements PhaseSpaceGenerator.

Definition at line 99 of file PhaseSpaceGenerator2to4.cpp.

◆ setCentral()

template<typename T >
void setCentral ( const std::vector< int > &  )
overridevirtual

Implements PhaseSpaceGenerator.

Definition at line 106 of file PhaseSpaceGenerator2to4.cpp.

◆ setCentralCuts()

template<typename T >
void setCentralCuts ( const cuts::Central )
overridevirtual

Reimplemented from PhaseSpaceGenerator.

Definition at line 61 of file PhaseSpaceGenerator2to4.cpp.

◆ setDescribedParameters()

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

Definition at line 73 of file SteeredObject.h.

◆ setParameters()

template<typename T >
virtual void setParameters ( const ParametersList params)
overridevirtualinherited

Reimplemented from Steerable.

Reimplemented in Initial, Remnants, CutsList, IncomingBeams, and Kinematics.

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.

◆ that()

template<typename T >
double that ( ) const
overridevirtual

Implements PhaseSpaceGenerator.

Definition at line 108 of file PhaseSpaceGenerator2to4.cpp.

◆ uhat()

template<typename T >
double uhat ( ) const
overridevirtual

Implements PhaseSpaceGenerator.

Definition at line 112 of file PhaseSpaceGenerator2to4.cpp.

◆ weight()

template<typename T >
double weight ( ) const
overridevirtual

Implements PhaseSpaceGenerator.

Definition at line 92 of file PhaseSpaceGenerator2to4.cpp.

Member Data Documentation

◆ 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.