Thermal-FIST 1.5
Package for hadron resonance gas model applications
Loading...
Searching...
No Matches
thermalfist::Acceptance::AcceptanceFunction Struct Reference

Structure which contains the binomial probabilities for particle with given y and pt to be accepted. More...

#include <Acceptance.h>

Public Member Functions

 AcceptanceFunction ()
 
void setSpline ()
 
double getAcceptance (const double &y, const double &pt) const
 Binomial acceptance for the given values of y and pt.
 

Public Attributes

bool init
 
double dy
 Rapidity width of a bin.
 
double dpt
 pT width of a bin
 
std::vector< double > ys
 Vector of bin rapidities. One element per bin.
 
std::vector< double > pts
 Vector of bin pT values. One element per bin.
 
std::vector< double > probs
 Vector of acceptance probabilities for each bin.
 
BilinearSplineFunction sfunc
 2D spline interpolation of the acceptance function
 

Detailed Description

Structure which contains the binomial probabilities for particle with given y and pt to be accepted.

Assumes that all bins have the same width in rapidity and pT. Acceptance function is \(p(y,p_T)\) where p is the acceptance probability.

Definition at line 28 of file Acceptance.h.

Constructor & Destructor Documentation

◆ AcceptanceFunction()

thermalfist::Acceptance::AcceptanceFunction::AcceptanceFunction ( )
inline

Definition at line 39 of file Acceptance.h.

Member Function Documentation

◆ getAcceptance()

double thermalfist::Acceptance::AcceptanceFunction::getAcceptance ( const double & y,
const double & pt ) const

Binomial acceptance for the given values of y and pt.

Definition at line 39 of file Acceptance.cpp.

◆ setSpline()

void thermalfist::Acceptance::AcceptanceFunction::setSpline ( )
inline

Definition at line 41 of file Acceptance.h.

Member Data Documentation

◆ dpt

double thermalfist::Acceptance::AcceptanceFunction::dpt

pT width of a bin

Definition at line 32 of file Acceptance.h.

◆ dy

double thermalfist::Acceptance::AcceptanceFunction::dy

Rapidity width of a bin.

Definition at line 31 of file Acceptance.h.

◆ init

bool thermalfist::Acceptance::AcceptanceFunction::init

Definition at line 29 of file Acceptance.h.

◆ probs

std::vector<double> thermalfist::Acceptance::AcceptanceFunction::probs

Vector of acceptance probabilities for each bin.

Definition at line 36 of file Acceptance.h.

◆ pts

std::vector<double> thermalfist::Acceptance::AcceptanceFunction::pts

Vector of bin pT values. One element per bin.

Definition at line 35 of file Acceptance.h.

◆ sfunc

BilinearSplineFunction thermalfist::Acceptance::AcceptanceFunction::sfunc

2D spline interpolation of the acceptance function

Definition at line 37 of file Acceptance.h.

◆ ys

std::vector<double> thermalfist::Acceptance::AcceptanceFunction::ys

Vector of bin rapidities. One element per bin.

Definition at line 34 of file Acceptance.h.


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