BmnRoot 26.10.0-19-g6979a6c6
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnGemGas Class Reference

#include <BmnGemGas.h>

Public Member Functions

 BmnGemGas ()
 ~BmnGemGas ()
 BmnGemGas (double const E, double const B, double const T, double const p, double const VDrift, double const Dl, double const Dt, double const k, double const W, const std::vector< double > &CSD, double const CSDEpol)
 BmnGemGas (const std::string &Filename, double const E)
double VDrift () const
double Dl () const
double Dt () const
double VDrift (double const dE, double const dB) const
double Dl (double const dE, double const dB) const
double Dt (double const dE, double const dB) const
double k () const
double W () const
double CSD (int i) const
const std::vector< double > & CSD () const
int nCSD () const
double CSDNorm () const
double CSDEpol () const
double E () const
double B () const
double T () const
double p () const
int GetRandomCS (double const r) const
int GetRandomCSUniform () const
void PrintAll (std::ostream &s) const
void operator= (const BmnGemGas &GasToCopy)
void SetE (double const dE)
void SetB (double const dB)
void SetT (double const dT)
void Setp (double const dp)
void SetCSD (const std::vector< double > &CSD)
void SetCSDEpol (double const dCSDEpol)

Private Member Functions

const double LinExpolation (double const inTable, const double *const table, int const nTable)
int ReadGasBegin (std::ifstream *const pinfile)
int ReadGasArrays (std::ifstream *const pinfile, int const noent, double *const e, double *const vdrift, double *const dt, double *const dl, double *const k)
const double GetPositionOfE (int const noent, const double *const e)

Private Attributes

double _E
double _B
double _T
double _p
double _VDrift
double _Dl
double _Dt
double _k
double _W
std::vector< double > _CSD
double _CSDNorm
double _CSDEpol

Friends

std::ostream & operator<< (std::ostream &stream, const BmnGemGas &g)

Detailed Description

Definition at line 17 of file BmnGemGas.h.

Constructor & Destructor Documentation

◆ BmnGemGas() [1/3]

BmnGemGas::BmnGemGas ( )

Definition at line 12 of file BmnGemGas.cxx.

References _B, _CSD, _CSDEpol, _CSDNorm, _Dl, _Dt, _E, _k, _p, _T, _VDrift, and _W.

Referenced by operator<<, and operator=().

Here is the caller graph for this function:

◆ ~BmnGemGas()

BmnGemGas::~BmnGemGas ( )

Definition at line 113 of file BmnGemGas.cxx.

◆ BmnGemGas() [2/3]

BmnGemGas::BmnGemGas ( double const E,
double const B,
double const T,
double const p,
double const VDrift,
double const Dl,
double const Dt,
double const k,
double const W,
const std::vector< double > & CSD,
double const CSDEpol )

Definition at line 27 of file BmnGemGas.cxx.

References _B, _CSD, _CSDEpol, _CSDNorm, _Dl, _Dt, _E, _k, _p, _T, _VDrift, _W, B(), CSD(), CSDEpol(), Dl(), Dt(), E(), k(), p(), T(), VDrift(), and W().

Here is the call graph for this function:

◆ BmnGemGas() [3/3]

BmnGemGas::BmnGemGas ( const std::string & Filename,
double const E )

Definition at line 52 of file BmnGemGas.cxx.

References _CSD, _CSDEpol, _CSDNorm, _Dl, _Dt, _E, _k, _VDrift, E(), GetPositionOfE(), i, k(), LinExpolation(), ReadGasArrays(), and ReadGasBegin().

Here is the call graph for this function:

Member Function Documentation

◆ B()

double BmnGemGas::B ( ) const
inline

Definition at line 54 of file BmnGemGas.h.

References _B.

Referenced by BmnGemGas().

Here is the caller graph for this function:

◆ CSD() [1/2]

const std::vector< double > & BmnGemGas::CSD ( ) const
inline

Definition at line 48 of file BmnGemGas.h.

References _CSD.

◆ CSD() [2/2]

double BmnGemGas::CSD ( int i) const
inline

Definition at line 47 of file BmnGemGas.h.

References _CSD, and i.

Referenced by BmnGemGas(), and SetCSD().

Here is the caller graph for this function:

◆ CSDEpol()

double BmnGemGas::CSDEpol ( ) const
inline

Definition at line 51 of file BmnGemGas.h.

References _CSDEpol.

Referenced by BmnGemGas().

Here is the caller graph for this function:

◆ CSDNorm()

double BmnGemGas::CSDNorm ( ) const
inline

Definition at line 50 of file BmnGemGas.h.

References _CSDNorm.

◆ Dl() [1/2]

double BmnGemGas::Dl ( ) const
inline

Definition at line 40 of file BmnGemGas.h.

References _Dl.

Referenced by BmnGemGas().

Here is the caller graph for this function:

◆ Dl() [2/2]

double BmnGemGas::Dl ( double const dE,
double const dB ) const
inline

Definition at line 43 of file BmnGemGas.h.

References _Dl.

◆ Dt() [1/2]

double BmnGemGas::Dt ( ) const
inline

Definition at line 41 of file BmnGemGas.h.

References _Dt.

Referenced by BmnGemGas().

Here is the caller graph for this function:

◆ Dt() [2/2]

double BmnGemGas::Dt ( double const dE,
double const dB ) const
inline

Definition at line 44 of file BmnGemGas.h.

References _Dt.

◆ E()

double BmnGemGas::E ( ) const
inline

Definition at line 53 of file BmnGemGas.h.

References _E.

Referenced by BmnGemGas(), and BmnGemGas().

Here is the caller graph for this function:

◆ GetPositionOfE()

const double BmnGemGas::GetPositionOfE ( int const noent,
const double *const e )
private

Definition at line 246 of file BmnGemGas.cxx.

References _E, and i.

Referenced by BmnGemGas().

Here is the caller graph for this function:

◆ GetRandomCS()

int BmnGemGas::GetRandomCS ( double const r) const

Definition at line 144 of file BmnGemGas.cxx.

References _CSD, _CSDEpol, and i.

Referenced by GetRandomCSUniform().

Here is the caller graph for this function:

◆ GetRandomCSUniform()

int BmnGemGas::GetRandomCSUniform ( ) const

Definition at line 134 of file BmnGemGas.cxx.

References _CSDNorm, and GetRandomCS().

Here is the call graph for this function:

◆ k()

double BmnGemGas::k ( ) const
inline

Definition at line 45 of file BmnGemGas.h.

References _k.

Referenced by BmnGemGas(), BmnGemGas(), and ReadGasArrays().

Here is the caller graph for this function:

◆ LinExpolation()

const double BmnGemGas::LinExpolation ( double const inTable,
const double *const table,
int const nTable )
private

Definition at line 262 of file BmnGemGas.cxx.

References i.

Referenced by BmnGemGas().

Here is the caller graph for this function:

◆ nCSD()

int BmnGemGas::nCSD ( ) const
inline

Definition at line 49 of file BmnGemGas.h.

References _CSD.

Referenced by operator<<.

Here is the caller graph for this function:

◆ operator=()

void BmnGemGas::operator= ( const BmnGemGas & GasToCopy)

Definition at line 115 of file BmnGemGas.cxx.

References BmnGemGas(), _B, _CSD, _CSDEpol, _CSDNorm, _Dl, _Dt, _E, _k, _p, _T, _VDrift, and _W.

Here is the call graph for this function:

◆ p()

double BmnGemGas::p ( ) const
inline

Definition at line 56 of file BmnGemGas.h.

References _p.

Referenced by BmnGemGas().

Here is the caller graph for this function:

◆ PrintAll()

void BmnGemGas::PrintAll ( std::ostream & s) const
inline

Definition at line 61 of file BmnGemGas.h.

◆ ReadGasArrays()

int BmnGemGas::ReadGasArrays ( std::ifstream *const pinfile,
int const noent,
double *const e,
double *const vdrift,
double *const dt,
double *const dl,
double *const k )
private

Definition at line 209 of file BmnGemGas.cxx.

References _W, i, and k().

Referenced by BmnGemGas().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReadGasBegin()

int BmnGemGas::ReadGasBegin ( std::ifstream *const pinfile)
private

Definition at line 191 of file BmnGemGas.cxx.

References _B, _p, and _T.

Referenced by BmnGemGas().

Here is the caller graph for this function:

◆ SetB()

void BmnGemGas::SetB ( double const dB)
inline

Definition at line 72 of file BmnGemGas.h.

References _B.

◆ SetCSD()

void BmnGemGas::SetCSD ( const std::vector< double > & CSD)

Definition at line 160 of file BmnGemGas.cxx.

References _CSD, and CSD().

Here is the call graph for this function:

◆ SetCSDEpol()

void BmnGemGas::SetCSDEpol ( double const dCSDEpol)
inline

Definition at line 76 of file BmnGemGas.h.

References _CSDEpol.

◆ SetE()

void BmnGemGas::SetE ( double const dE)
inline

Definition at line 67 of file BmnGemGas.h.

References _E.

◆ Setp()

void BmnGemGas::Setp ( double const dp)
inline

Definition at line 74 of file BmnGemGas.h.

References _p.

◆ SetT()

void BmnGemGas::SetT ( double const dT)
inline

Definition at line 73 of file BmnGemGas.h.

References _T.

◆ T()

double BmnGemGas::T ( ) const
inline

Definition at line 55 of file BmnGemGas.h.

References _T.

Referenced by BmnGemGas().

Here is the caller graph for this function:

◆ VDrift() [1/2]

double BmnGemGas::VDrift ( ) const
inline

Definition at line 39 of file BmnGemGas.h.

References _VDrift.

Referenced by BmnGemGas().

Here is the caller graph for this function:

◆ VDrift() [2/2]

double BmnGemGas::VDrift ( double const dE,
double const dB ) const
inline

Definition at line 42 of file BmnGemGas.h.

References _VDrift.

◆ W()

double BmnGemGas::W ( ) const
inline

Definition at line 46 of file BmnGemGas.h.

References _W.

Referenced by BmnGemGas().

Here is the caller graph for this function:

◆ operator<<

std::ostream & operator<< ( std::ostream & stream,
const BmnGemGas & g )
friend

Definition at line 165 of file BmnGemGas.cxx.

References BmnGemGas(), _B, _CSD, _CSDEpol, _Dl, _Dt, _E, _k, _p, _T, _VDrift, _W, i, and nCSD().

Member Data Documentation

◆ _B

double BmnGemGas::_B
private

Definition at line 80 of file BmnGemGas.h.

Referenced by BmnGemGas(), BmnGemGas(), B(), operator<<, operator=(), ReadGasBegin(), and SetB().

◆ _CSD

std::vector<double> BmnGemGas::_CSD
private

◆ _CSDEpol

double BmnGemGas::_CSDEpol
private

◆ _CSDNorm

double BmnGemGas::_CSDNorm
private

Definition at line 90 of file BmnGemGas.h.

Referenced by BmnGemGas(), BmnGemGas(), BmnGemGas(), CSDNorm(), GetRandomCSUniform(), and operator=().

◆ _Dl

double BmnGemGas::_Dl
private

Definition at line 85 of file BmnGemGas.h.

Referenced by BmnGemGas(), BmnGemGas(), BmnGemGas(), Dl(), Dl(), operator<<, and operator=().

◆ _Dt

double BmnGemGas::_Dt
private

Definition at line 86 of file BmnGemGas.h.

Referenced by BmnGemGas(), BmnGemGas(), BmnGemGas(), Dt(), Dt(), operator<<, and operator=().

◆ _E

double BmnGemGas::_E
private

Definition at line 79 of file BmnGemGas.h.

Referenced by BmnGemGas(), BmnGemGas(), BmnGemGas(), E(), GetPositionOfE(), operator<<, operator=(), and SetE().

◆ _k

double BmnGemGas::_k
private

Definition at line 87 of file BmnGemGas.h.

Referenced by BmnGemGas(), BmnGemGas(), BmnGemGas(), k(), operator<<, and operator=().

◆ _p

double BmnGemGas::_p
private

Definition at line 82 of file BmnGemGas.h.

Referenced by BmnGemGas(), BmnGemGas(), operator<<, operator=(), p(), ReadGasBegin(), and Setp().

◆ _T

double BmnGemGas::_T
private

Definition at line 81 of file BmnGemGas.h.

Referenced by BmnGemGas(), BmnGemGas(), operator<<, operator=(), ReadGasBegin(), SetT(), and T().

◆ _VDrift

double BmnGemGas::_VDrift
private

Definition at line 84 of file BmnGemGas.h.

Referenced by BmnGemGas(), BmnGemGas(), BmnGemGas(), operator<<, operator=(), VDrift(), and VDrift().

◆ _W

double BmnGemGas::_W
private

Definition at line 88 of file BmnGemGas.h.

Referenced by BmnGemGas(), BmnGemGas(), operator<<, operator=(), ReadGasArrays(), and W().


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