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

Wrapper to a string-built functional to be integrated. More...

#include <CepGen/Integration/FunctionalIntegrand.h>

+ Inheritance diagram for FunctionalIntegrand:
+ Collaboration diagram for FunctionalIntegrand:

Public Member Functions

 FunctionalIntegrand (const std::string &, const std::vector< std::string > &, const std::string &func_eval)
 
double eval (const std::vector< double > &) override
 Compute the integrand for a given coordinates set.
 
size_t size () const override
 Phase space dimension.
 
virtual bool hasProcess () const
 Does this integrand also contain a process object?
 

Detailed Description

Definition at line 29 of file FunctionalIntegrand.h.

Constructor & Destructor Documentation

◆ FunctionalIntegrand()

FunctionalIntegrand ( const std::string &  expr,
const std::vector< std::string > &  vars,
const std::string &  func_eval 
)
explicit

Definition at line 25 of file FunctionalIntegrand.cpp.

Member Function Documentation

◆ eval()

double eval ( const std::vector< double > &  )
overridevirtual

Implements Integrand.

Definition at line 36 of file FunctionalIntegrand.cpp.

◆ hasProcess()

virtual bool hasProcess ( ) const
virtualinherited

Reimplemented in ProcessIntegrand.

Definition at line 37 of file Integrand.h.

◆ size()

size_t size ( ) const
overridevirtual

Implements Integrand.

Definition at line 45 of file FunctionalIntegrand.cpp.