CbmRoot
HRGModelNamespace::AcceptanceFunction Struct Reference

#include <CbmHRGModel.h>

Collaboration diagram for HRGModelNamespace::AcceptanceFunction:
[legend]

Public Member Functions

void setSpline ()
 
Double_t getAcceptance (const Double_t &y, const Double_t &pt) const
 
 AcceptanceFunction ()
 

Public Attributes

Double_t dy
 
Double_t dpt
 
std::vector< Double_t > ys
 
std::vector< Double_t > pts
 
std::vector< Double_t > probs
 
BilinearSplineFunction sfunc
 

Detailed Description

Definition at line 40 of file CbmHRGModel.h.

Constructor & Destructor Documentation

◆ AcceptanceFunction()

HRGModelNamespace::AcceptanceFunction::AcceptanceFunction ( )
inline

Definition at line 46 of file CbmHRGModel.h.

Member Function Documentation

◆ getAcceptance()

Double_t HRGModelNamespace::AcceptanceFunction::getAcceptance ( const Double_t &  y,
const Double_t &  pt 
) const

Definition at line 80 of file CbmHRGModel.cxx.

References BilinearSplineFunction::Eval(), sfunc, and y.

◆ setSpline()

void HRGModelNamespace::AcceptanceFunction::setSpline ( )
inline

Definition at line 44 of file CbmHRGModel.h.

References probs, pts, BilinearSplineFunction::setData(), sfunc, and ys.

Referenced by CbmHRGModel::ReadAcceptanceFunction().

Member Data Documentation

◆ dpt

Double_t HRGModelNamespace::AcceptanceFunction::dpt

Definition at line 41 of file CbmHRGModel.h.

Referenced by CbmHRGModel::ReadAcceptanceFunction().

◆ dy

Double_t HRGModelNamespace::AcceptanceFunction::dy

Definition at line 41 of file CbmHRGModel.h.

Referenced by CbmHRGModel::ReadAcceptanceFunction().

◆ probs

std::vector<Double_t> HRGModelNamespace::AcceptanceFunction::probs

Definition at line 42 of file CbmHRGModel.h.

Referenced by CbmHRGModel::ReadAcceptanceFunction(), and setSpline().

◆ pts

std::vector<Double_t> HRGModelNamespace::AcceptanceFunction::pts

Definition at line 42 of file CbmHRGModel.h.

Referenced by CbmHRGModel::ReadAcceptanceFunction(), and setSpline().

◆ sfunc

BilinearSplineFunction HRGModelNamespace::AcceptanceFunction::sfunc

Definition at line 43 of file CbmHRGModel.h.

Referenced by getAcceptance(), and setSpline().

◆ ys

std::vector<Double_t> HRGModelNamespace::AcceptanceFunction::ys

Definition at line 42 of file CbmHRGModel.h.

Referenced by CbmHRGModel::ReadAcceptanceFunction(), and setSpline().


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