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

Wrapper to the function to be integrated. More...

#include <CepGen/Integration/ProcessIntegrand.h>

+ Inheritance diagram for ProcessIntegrand:
+ Collaboration diagram for ProcessIntegrand:

Public Member Functions

 ProcessIntegrand (const proc::Process &)
 
 ProcessIntegrand (const RunParameters *)
 
double eval (const std::vector< double > &x) override
 Compute the integrand for a given phase space point (or "event")
 
size_t size () const override
 Phase space dimension.
 
bool hasProcess () const override final
 Does this integrand also contain a process object?
 
proc::Processprocess ()
 Thread-local physics process.
 
const proc::Processprocess () const
 Thread-local physics process.
 
void setStorage (bool store)
 Specify if the generated events are to be stored.
 
bool storage () const
 Are the events currently generated in this run to be stored?
 

Detailed Description

Definition at line 36 of file ProcessIntegrand.h.

Constructor & Destructor Documentation

◆ ProcessIntegrand() [1/2]

ProcessIntegrand ( const proc::Process proc)
explicit

Definition at line 33 of file ProcessIntegrand.cpp.

◆ ProcessIntegrand() [2/2]

ProcessIntegrand ( const RunParameters params)
explicit

Definition at line 37 of file ProcessIntegrand.cpp.

Member Function Documentation

◆ eval()

double eval ( const std::vector< double > &  x)
overridevirtual
Parameters
[in]xPhase space point coordinates
Note
This weight includes the matrix element of the process considered, along with all the kinematic factors, and the cut restrictions imposed on this phase space. \({\bf x}=\{x_1,\ldots,x_N\}\) is therefore an array of random numbers defined inside its boundaries (as normalised so that \(\forall i=1,\ldots,N\), \(0<x_i<1\)).

Implements Integrand.

Definition at line 85 of file ProcessIntegrand.cpp.

◆ hasProcess()

bool hasProcess ( ) const
finaloverridevirtual

Reimplemented from Integrand.

Definition at line 51 of file ProcessIntegrand.h.

◆ process() [1/2]

proc::Process & process ( )

Definition at line 73 of file ProcessIntegrand.cpp.

◆ process() [2/2]

const proc::Process & process ( ) const

Definition at line 79 of file ProcessIntegrand.cpp.

◆ setStorage()

void setStorage ( bool  store)

Definition at line 56 of file ProcessIntegrand.h.

◆ size()

size_t size ( ) const
overridevirtual

Implements Integrand.

Definition at line 45 of file ProcessIntegrand.cpp.

◆ storage()

bool storage ( ) const

Definition at line 57 of file ProcessIntegrand.h.