Analysis-Utilities 26.9.9
C++/ROOT utilities for nuclear measurement data analysis
Loading...
Searching...
No Matches
RooLowLinTail.cu File Reference
#include "RooFitPhotopeakKernels.hpp"
#include <cuda_runtime.h>
Include dependency graph for RooLowLinTail.cu:

Go to the source code of this file.

Functions

void RooLowLinTail_launchKernel (double *output, const double *x_vals, double mu, double slope, double inv_sqrt2_sigma, size_t n)
 Launch the low-energy linear tail kernel.

Function Documentation

◆ RooLowLinTail_launchKernel()

void RooLowLinTail_launchKernel ( double * output,
const double * x_vals,
double mu,
double slope,
double inv_sqrt2_sigma,
size_t n )

Launch the low-energy linear tail kernel.

Parameters
outputDevice buffer for n PDF values.
x_valsDevice buffer of n observable values.
muPeak centroid, in the observable's units.
slopeLinear tail slope s in the (1 + s*(x - mu)) factor, which is floored at zero to keep the PDF non-negative.
inv_sqrt2_sigma1 / (sqrt(2) * sigma), the resolution factor.
nNumber of elements.

Definition at line 24 of file RooLowLinTail.cu.

Referenced by RooLowLinTail::doEval().