GooFit  v2.1.3
Public Member Functions | List of all members
GooFit::MetricTaker Class Reference

#include <MetricTaker.h>

Inheritance diagram for GooFit::MetricTaker:

Public Member Functions

 MetricTaker (PdfBase *dat, void *dev_functionPtr)
 MetricTaker (int fIdx, int pIdx)
__device__ fptype operator() (thrust::tuple< int, fptype *, int > t) const
__device__ fptype operator() (thrust::tuple< int, int, fptype *> t) const

Detailed Description

Definition at line 11 of file MetricTaker.h.

Constructor & Destructor Documentation

◆ MetricTaker() [1/2]

GooFit::MetricTaker::MetricTaker ( PdfBase dat,
void *  dev_functionPtr 

◆ MetricTaker() [2/2]

GooFit::MetricTaker::MetricTaker ( int  fIdx,
int  pIdx 

Member Function Documentation

◆ operator()() [1/2]

__device__ fptype GooFit::MetricTaker::operator() ( thrust::tuple< int, fptype *, int >  t) const

Main operator: Calls the PDF to get a predicted value, then the metric to get the goodness-of-prediction number which is returned to MINUIT.

Event number, dev_event_array (pass this way for nvcc reasons), event size

◆ operator()() [2/2]

__device__ fptype GooFit::MetricTaker::operator() ( thrust::tuple< int, int, fptype *>  t) const

Operator for binned evaluation, no metric. Used in normalisation.

Event number, event size, normalisation ranges (for binned stuff, eg integration)

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