Hammer  1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Hammer::Integrator Class Reference

Tensor integration class. More...

#include <Integrator.hh>

+ Collaboration diagram for Hammer::Integrator:

Public Member Functions

 Integrator ()
 
 Integrator (const Integrator &other)=default
 
Integratoroperator= (const Integrator &other)=default
 
virtual ~Integrator ()
 
const EvaluationGridgetEvaluationPoints () const
 returns the position of the evaluation points given an integration range More...
 
const EvaluationWeightsgetEvaluationWeights () const
 
void applyRange (const IntegrationBoundaries &boundaries)
 apply rescaling factor for the size of the interval from the canonical [-1,1] interval to the actual one, \( (x_{max}-x_{min})/2 \) More...
 
void applyRange (IntegrationBoundaries &&boundaries)
 
uint16_t getPointsNumber () const
 the number of evaluation points More...
 

Private Attributes

std::vector< double > _basePoints
 the evaluation points in the range [-1,1] More...
 
std::vector< double > _baseWeights
 the evaluation weights for the range [-1,1] More...
 
EvaluationGrid _evaluationPoints
 
EvaluationWeights _evaluationWeights
 

Detailed Description

Tensor integration class.

...

Definition at line 35 of file Integrator.hh.

Constructor & Destructor Documentation

Hammer::Integrator::Integrator ( )

Definition at line 80 of file Integrator.cc.

Hammer::Integrator::Integrator ( const Integrator other)
default
Hammer::Integrator::~Integrator ( )
virtual

Definition at line 100 of file Integrator.cc.

Member Function Documentation

void Hammer::Integrator::applyRange ( const IntegrationBoundaries boundaries)

apply rescaling factor for the size of the interval from the canonical [-1,1] interval to the actual one, \( (x_{max}-x_{min})/2 \)

Parameters
[in]boundariesthe lower limit of integration

Definition at line 120 of file Integrator.cc.

void Hammer::Integrator::applyRange ( IntegrationBoundaries &&  boundaries)

Definition at line 115 of file Integrator.cc.

const EvaluationGrid & Hammer::Integrator::getEvaluationPoints ( ) const

returns the position of the evaluation points given an integration range

Returns
the points where the function (tensor) should be evaluated

Definition at line 107 of file Integrator.cc.

const EvaluationWeights & Hammer::Integrator::getEvaluationWeights ( ) const

Definition at line 111 of file Integrator.cc.

uint16_t Hammer::Integrator::getPointsNumber ( ) const

the number of evaluation points

Definition at line 151 of file Integrator.cc.

Integrator& Hammer::Integrator::operator= ( const Integrator other)
default

Member Data Documentation

std::vector<double> Hammer::Integrator::_basePoints
private

the evaluation points in the range [-1,1]

Definition at line 63 of file Integrator.hh.

std::vector<double> Hammer::Integrator::_baseWeights
private

the evaluation weights for the range [-1,1]

Definition at line 64 of file Integrator.hh.

EvaluationGrid Hammer::Integrator::_evaluationPoints
private

Definition at line 65 of file Integrator.hh.

EvaluationWeights Hammer::Integrator::_evaluationWeights
private

Definition at line 66 of file Integrator.hh.


The documentation for this class was generated from the following files: