Project
Loading...
Searching...
No Matches
o2::tpc::NumericalFields< DataT > Class Template Reference

#include <SpaceChargeHelpers.h>

Public Member Functions

 NumericalFields (const DataContainer &dataEr, const DataContainer &dataEz, const DataContainer &dataEphi, const RegularGrid &gridProperties, const o2::tpc::Side side)
 
DataT evalFieldR (DataT z, DataT r, DataT phi) const
 
DataT evalFieldZ (DataT z, DataT r, DataT phi) const
 
DataT evalFieldPhi (DataT z, DataT r, DataT phi) const
 
o2::tpc::Side getSide () const
 

Static Public Member Functions

static constexpr unsigned int getID ()
 

Detailed Description

template<typename DataT = double>
class o2::tpc::NumericalFields< DataT >

This class gives tricubic interpolation of the electric fields and can be used to calculate the distortions/corrections. The electric fields have to be calculated by the poisson solver or given by the analytical formula.

Definition at line 237 of file SpaceChargeHelpers.h.

Constructor & Destructor Documentation

◆ NumericalFields()

template<typename DataT = double>
o2::tpc::NumericalFields< DataT >::NumericalFields ( const DataContainer dataEr,
const DataContainer dataEz,
const DataContainer dataEphi,
const RegularGrid gridProperties,
const o2::tpc::Side  side 
)
inline

constructor

Parameters
dataErcontainer for the data of the electrical field Er
dataEzcontainer for the data of the electrical field Ez
dataEphicontainer for the data of the electrical field Ephi
gridPropertiesproperties of the grid
sideside of the tpc

Definition at line 250 of file SpaceChargeHelpers.h.

Member Function Documentation

◆ evalFieldPhi()

template<typename DataT = double>
DataT o2::tpc::NumericalFields< DataT >::evalFieldPhi ( DataT  z,
DataT  r,
DataT  phi 
) const
inline
Parameters
rr coordinate
phiphi coordinate
zz coordinate
Returns
returns the function value for electric field Ephi for given coordinate

Definition at line 275 of file SpaceChargeHelpers.h.

◆ evalFieldR()

template<typename DataT = double>
DataT o2::tpc::NumericalFields< DataT >::evalFieldR ( DataT  z,
DataT  r,
DataT  phi 
) const
inline
Parameters
rr coordinate
phiphi coordinate
zz coordinate
Returns
returns the function value for electric field Er for given coordinate

Definition at line 263 of file SpaceChargeHelpers.h.

◆ evalFieldZ()

template<typename DataT = double>
DataT o2::tpc::NumericalFields< DataT >::evalFieldZ ( DataT  z,
DataT  r,
DataT  phi 
) const
inline
Parameters
rr coordinate
phiphi coordinate
zz coordinate
Returns
returns the function value for electric field Ez for given coordinate

Definition at line 269 of file SpaceChargeHelpers.h.

◆ getID()

template<typename DataT = double>
static constexpr unsigned int o2::tpc::NumericalFields< DataT >::getID ( )
inlinestaticconstexpr

Definition at line 279 of file SpaceChargeHelpers.h.

◆ getSide()

template<typename DataT = double>
o2::tpc::Side o2::tpc::NumericalFields< DataT >::getSide ( ) const
inline

Definition at line 277 of file SpaceChargeHelpers.h.


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