EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AnalyticFieldModel Class Reference

#include <fun4all_coresoftware/blob/master/calibrations/tpc/generator/AnalyticFieldModel.h>

Public Member Functions

 AnalyticFieldModel (float _ifc_radius, float _ofc_radius, float _z_max, float scalefactor=1)
 
TVector3 E (TVector3 pos)
 
double Rho (TVector3 pos)
 
TVector3 Eint (float zfinal, TVector3 start)
 

Public Attributes

double ifc_radius = NAN
 
double ofc_radius = NAN
 
double tpc_halfz = NAN
 

Private Attributes

TFormula * vTestFunction1 = nullptr
 
TFormula * rhoTestFunction1 = nullptr
 
TFormula * erTestFunction1 = nullptr
 
TFormula * ePhiTestFunction1 = nullptr
 
TFormula * ezTestFunction1 = nullptr
 
TFormula * intErDzTestFunction1 = nullptr
 
TFormula * intEPhiDzTestFunction1 = nullptr
 
TFormula * intEzDzTestFunction1 = nullptr
 

Detailed Description

Definition at line 10 of file AnalyticFieldModel.h.

View newest version in sPHENIX GitHub at line 10 of file AnalyticFieldModel.h

Constructor & Destructor Documentation

AnalyticFieldModel::AnalyticFieldModel ( float  _ifc_radius,
float  _ofc_radius,
float  _z_max,
float  scalefactor = 1 
)

Definition at line 8 of file AnalyticFieldModel.cc.

View newest version in sPHENIX GitHub at line 8 of file AnalyticFieldModel.cc

References c, d, Acts::UnitConstants::e, ePhiTestFunction1, erTestFunction1, ezTestFunction1, ifc_radius, intEPhiDzTestFunction1, intErDzTestFunction1, intEzDzTestFunction1, ofc_radius, printf(), rhoTestFunction1, tpc_halfz, and vTestFunction1.

+ Here is the call graph for this function:

Member Function Documentation

TVector3 AnalyticFieldModel::E ( TVector3  pos)

Definition at line 62 of file AnalyticFieldModel.cc.

View newest version in sPHENIX GitHub at line 62 of file AnalyticFieldModel.cc

References ePhiTestFunction1, erTestFunction1, and ezTestFunction1.

Referenced by AnnularFieldSim::sum_field_at().

+ Here is the caller graph for this function:

TVector3 AnalyticFieldModel::Eint ( float  zfinal,
TVector3  start 
)

Definition at line 80 of file AnalyticFieldModel.cc.

View newest version in sPHENIX GitHub at line 80 of file AnalyticFieldModel.cc

References intEPhiDzTestFunction1, intErDzTestFunction1, and intEzDzTestFunction1.

Referenced by AnnularFieldSim::analyticFieldIntegral().

+ Here is the caller graph for this function:

double AnalyticFieldModel::Rho ( TVector3  pos)

Definition at line 73 of file AnalyticFieldModel.cc.

View newest version in sPHENIX GitHub at line 73 of file AnalyticFieldModel.cc

References rhoTestFunction1.

Referenced by AnnularFieldSim::load_analytic_spacecharge().

+ Here is the caller graph for this function:

Member Data Documentation

TFormula* AnalyticFieldModel::ePhiTestFunction1 = nullptr
private

Definition at line 27 of file AnalyticFieldModel.h.

View newest version in sPHENIX GitHub at line 27 of file AnalyticFieldModel.h

Referenced by AnalyticFieldModel(), and E().

TFormula* AnalyticFieldModel::erTestFunction1 = nullptr
private

Definition at line 26 of file AnalyticFieldModel.h.

View newest version in sPHENIX GitHub at line 26 of file AnalyticFieldModel.h

Referenced by AnalyticFieldModel(), and E().

TFormula* AnalyticFieldModel::ezTestFunction1 = nullptr
private

Definition at line 28 of file AnalyticFieldModel.h.

View newest version in sPHENIX GitHub at line 28 of file AnalyticFieldModel.h

Referenced by AnalyticFieldModel(), and E().

double AnalyticFieldModel::ifc_radius = NAN

Definition at line 13 of file AnalyticFieldModel.h.

View newest version in sPHENIX GitHub at line 13 of file AnalyticFieldModel.h

Referenced by AnalyticFieldModel().

TFormula* AnalyticFieldModel::intEPhiDzTestFunction1 = nullptr
private

Definition at line 31 of file AnalyticFieldModel.h.

View newest version in sPHENIX GitHub at line 31 of file AnalyticFieldModel.h

Referenced by AnalyticFieldModel(), and Eint().

TFormula* AnalyticFieldModel::intErDzTestFunction1 = nullptr
private

Definition at line 29 of file AnalyticFieldModel.h.

View newest version in sPHENIX GitHub at line 29 of file AnalyticFieldModel.h

Referenced by AnalyticFieldModel(), and Eint().

TFormula* AnalyticFieldModel::intEzDzTestFunction1 = nullptr
private

Definition at line 33 of file AnalyticFieldModel.h.

View newest version in sPHENIX GitHub at line 33 of file AnalyticFieldModel.h

Referenced by AnalyticFieldModel(), and Eint().

double AnalyticFieldModel::ofc_radius = NAN

Definition at line 14 of file AnalyticFieldModel.h.

View newest version in sPHENIX GitHub at line 14 of file AnalyticFieldModel.h

Referenced by AnalyticFieldModel().

TFormula* AnalyticFieldModel::rhoTestFunction1 = nullptr
private

Definition at line 25 of file AnalyticFieldModel.h.

View newest version in sPHENIX GitHub at line 25 of file AnalyticFieldModel.h

Referenced by AnalyticFieldModel(), and Rho().

double AnalyticFieldModel::tpc_halfz = NAN

Definition at line 15 of file AnalyticFieldModel.h.

View newest version in sPHENIX GitHub at line 15 of file AnalyticFieldModel.h

Referenced by AnalyticFieldModel().

TFormula* AnalyticFieldModel::vTestFunction1 = nullptr
private

Definition at line 24 of file AnalyticFieldModel.h.

View newest version in sPHENIX GitHub at line 24 of file AnalyticFieldModel.h

Referenced by AnalyticFieldModel().


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