Project
Loading...
Searching...
No Matches
o2::tpc::BField Class Reference

#include <SpaceChargeHelpers.h>

Public Member Functions

void setBField (const int field)
 setting which field is used +5,+2,-2,-5
 
int getBField () const
 
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
 
double getBR (const double rphiz[]) const
 
double getBPhi (const double rphiz[]) const
 
double getBZ (const double rphiz[]) const
 

Detailed Description

B Field obtained from fit to chebychev polynomials (ToDo: add other BField settings)

Definition at line 292 of file SpaceChargeHelpers.h.

Member Function Documentation

◆ evalFieldPhi()

DataT o2::tpc::BField::evalFieldPhi ( DataT  z,
DataT  r,
DataT  phi 
) const
inline
Parameters
rr coordinate
phiphi coordinate
zz coordinate
Returns
returns the function value for B field Bphi for given coordinate

Definition at line 327 of file SpaceChargeHelpers.h.

◆ evalFieldR()

DataT o2::tpc::BField::evalFieldR ( DataT  z,
DataT  r,
DataT  phi 
) const
inline
Parameters
rr coordinate
phiphi coordinate
zz coordinate
Returns
returns the function value for B field Br for given coordinate

Definition at line 307 of file SpaceChargeHelpers.h.

◆ evalFieldZ()

DataT o2::tpc::BField::evalFieldZ ( DataT  z,
DataT  r,
DataT  phi 
) const
inline
Parameters
rr coordinate
phiphi coordinate
zz coordinate
Returns
returns the function value for B field Bz for given coordinate

Definition at line 317 of file SpaceChargeHelpers.h.

◆ getBField()

int o2::tpc::BField::getBField ( ) const
inline
Returns
returns which field is used

Definition at line 301 of file SpaceChargeHelpers.h.

◆ getBPhi()

double o2::tpc::BField::getBPhi ( const double  rphiz[]) const
inline

Definition at line 334 of file SpaceChargeHelpers.h.

◆ getBR()

double o2::tpc::BField::getBR ( const double  rphiz[]) const
inline

Definition at line 333 of file SpaceChargeHelpers.h.

◆ getBZ()

double o2::tpc::BField::getBZ ( const double  rphiz[]) const
inline

Definition at line 335 of file SpaceChargeHelpers.h.

◆ setBField()

void o2::tpc::BField::setBField ( const int  field)
inline

setting which field is used +5,+2,-2,-5

Definition at line 298 of file SpaceChargeHelpers.h.


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