Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fast_eta2y Class Reference

#include <JETSCAPE/blob/main/external_packages/trento/src/rapidity_profile.h>

+ Collaboration diagram for fast_eta2y:

Public Member Functions

 fast_eta2y (double J, double etamax, double deta)
 
double rapidity (double eta)
 
double Jacobian (double eta)
 

Private Attributes

double etamax_
 
double deta_
 
std::size_t neta_
 
std::vector< doubley_
 
std::vector< doubledydeta_
 

Detailed Description

A fast pseudorapidity to rapidity transformer using pretabulated values It returns the transfoamtion y(eta) and the jacobian dy/deta(eta)

Definition at line 52 of file rapidity_profile.h.

View newest version in sPHENIX GitHub at line 52 of file rapidity_profile.h

Constructor & Destructor Documentation

fast_eta2y::fast_eta2y ( double  J,
double  etamax,
double  deta 
)
inline

Definition at line 60 of file rapidity_profile.h.

View newest version in sPHENIX GitHub at line 60 of file rapidity_profile.h

References deta_, dydeta_, eta, etamax_, neta_, and y_.

Member Function Documentation

double fast_eta2y::Jacobian ( double  eta)
inline

Definition at line 83 of file rapidity_profile.h.

View newest version in sPHENIX GitHub at line 83 of file rapidity_profile.h

References deta_, dydeta_, etamax_, index, and propagation_timing::steps.

Referenced by trento::Event::compute_reduced_thickness().

+ Here is the caller graph for this function:

double fast_eta2y::rapidity ( double  eta)
inline

Definition at line 76 of file rapidity_profile.h.

View newest version in sPHENIX GitHub at line 76 of file rapidity_profile.h

References deta_, etamax_, index, propagation_timing::steps, and y_.

Referenced by trento::Event::compute_reduced_thickness().

+ Here is the caller graph for this function:

Member Data Documentation

double fast_eta2y::deta_
private

Definition at line 55 of file rapidity_profile.h.

View newest version in sPHENIX GitHub at line 55 of file rapidity_profile.h

Referenced by fast_eta2y(), Jacobian(), and rapidity().

std::vector<double> fast_eta2y::dydeta_
private

Definition at line 58 of file rapidity_profile.h.

View newest version in sPHENIX GitHub at line 58 of file rapidity_profile.h

Referenced by fast_eta2y(), and Jacobian().

double fast_eta2y::etamax_
private

Definition at line 54 of file rapidity_profile.h.

View newest version in sPHENIX GitHub at line 54 of file rapidity_profile.h

Referenced by fast_eta2y(), Jacobian(), and rapidity().

std::size_t fast_eta2y::neta_
private

Definition at line 56 of file rapidity_profile.h.

View newest version in sPHENIX GitHub at line 56 of file rapidity_profile.h

Referenced by fast_eta2y().

std::vector<double> fast_eta2y::y_
private

Definition at line 57 of file rapidity_profile.h.

View newest version in sPHENIX GitHub at line 57 of file rapidity_profile.h

Referenced by fast_eta2y(), and rapidity().


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