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

#include <analysis/blob/master/TPC/SCDCorrections/FieldMaps.h>

+ Inheritance diagram for FieldMaps:
+ Collaboration diagram for FieldMaps:

Public Member Functions

 FieldMaps ()
 
virtual ~FieldMaps ()
 
void ReadFile ()
 
void SetDebugLevel (int n)
 
void TPCDimensions (float irad, float orad, float hzet)
 
void TPCGridSize (int nr, int np, int nz)
 
void OutputFileName (std::string a)
 
void LSFileName (std::string a)
 
void MirrorZ ()
 
void Make (int n=-1)
 
virtual void ComputeE ()=0
 

Protected Member Functions

void InitMaps ()
 
void SaveMaps ()
 
float ReadCharge (float rprime, float phiprime, float zprime, float dr, float dphi, float dz)
 

Protected Attributes

int fDebug
 
int fRadialBin
 
TH3F * fEr
 
TH3F * fEp
 
TH3F * fEz
 
TH3F * fRho
 
float fInnerRadius
 
float fOutterRadius
 
float fHalfLength
 
int fNRadialSteps
 
int fNAzimuthalSteps
 
int fNLongitudinalSteps
 
std::string fFileNameRoot
 
std::string fLSNameRoot
 
bool fMirrorZ
 

Detailed Description

Definition at line 12 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 12 of file FieldMaps.h

Constructor & Destructor Documentation

FieldMaps::FieldMaps ( )

Definition at line 9 of file FieldMaps.cxx.

View newest version in sPHENIX GitHub at line 9 of file FieldMaps.cxx

References fDebug, fEp, fEr, fEz, fFileNameRoot, fHalfLength, fInnerRadius, fLSNameRoot, fMirrorZ, fNAzimuthalSteps, fNLongitudinalSteps, fNRadialSteps, fOutterRadius, fRadialBin, and fRho.

FieldMaps::~FieldMaps ( )
virtual

Definition at line 27 of file FieldMaps.cxx.

View newest version in sPHENIX GitHub at line 27 of file FieldMaps.cxx

Member Function Documentation

virtual void FieldMaps::ComputeE ( )
pure virtual

Implemented in FieldMapsLaplace.

Referenced by Make().

+ Here is the caller graph for this function:

void FieldMaps::InitMaps ( )
protected

Definition at line 37 of file FieldMaps.cxx.

View newest version in sPHENIX GitHub at line 37 of file FieldMaps.cxx

References fDebug, fEp, fEr, fEz, fHalfLength, fInnerRadius, fNAzimuthalSteps, fNLongitudinalSteps, fNRadialSteps, fOutterRadius, printf(), ReadFile(), and TwoPi.

Referenced by Make().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FieldMaps::LSFileName ( std::string  a)
inline

Definition at line 21 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 21 of file FieldMaps.h

References KFPMath::a, and fLSNameRoot.

void FieldMaps::Make ( int  n = -1)

Definition at line 30 of file FieldMaps.cxx.

View newest version in sPHENIX GitHub at line 30 of file FieldMaps.cxx

References ComputeE(), fRadialBin, InitMaps(), n, and SaveMaps().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FieldMaps::MirrorZ ( )
inline

Definition at line 22 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 22 of file FieldMaps.h

References fMirrorZ.

Referenced by main().

+ Here is the caller graph for this function:

void FieldMaps::OutputFileName ( std::string  a)
inline

Definition at line 20 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 20 of file FieldMaps.h

References KFPMath::a, and fFileNameRoot.

Referenced by main().

+ Here is the caller graph for this function:

float FieldMaps::ReadCharge ( float  rprime,
float  phiprime,
float  zprime,
float  dr,
float  dphi,
float  dz 
)
protected

Definition at line 79 of file FieldMaps.cxx.

View newest version in sPHENIX GitHub at line 79 of file FieldMaps.cxx

References Acts::UnitConstants::e, fRho, physmon_track_finding_ttbar::r, and rho.

Referenced by FieldMapsLaplace::ComputeE().

+ Here is the caller graph for this function:

void FieldMaps::ReadFile ( )

Definition at line 55 of file FieldMaps.cxx.

View newest version in sPHENIX GitHub at line 55 of file FieldMaps.cxx

References fDebug, fFileNameRoot, fRho, centProxy::inputfile, and printf().

Referenced by upload.SubversionVCS::GetBaseFile(), and InitMaps().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FieldMaps::SaveMaps ( )
protected

Definition at line 66 of file FieldMaps.cxx.

View newest version in sPHENIX GitHub at line 66 of file FieldMaps.cxx

References fDebug, fEp, fEr, fEz, fFileNameRoot, filename, fRadialBin, ofile, and printf().

Referenced by Make().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FieldMaps::SetDebugLevel ( int  n)
inline

Definition at line 17 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 17 of file FieldMaps.h

References fDebug, and n.

Referenced by main().

+ Here is the caller graph for this function:

void FieldMaps::TPCDimensions ( float  irad,
float  orad,
float  hzet 
)
inline

Definition at line 18 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 18 of file FieldMaps.h

References fHalfLength, fInnerRadius, and fOutterRadius.

Referenced by main().

+ Here is the caller graph for this function:

void FieldMaps::TPCGridSize ( int  nr,
int  np,
int  nz 
)
inline

Definition at line 19 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 19 of file FieldMaps.h

References fNAzimuthalSteps, fNLongitudinalSteps, fNRadialSteps, and nz.

Referenced by main().

+ Here is the caller graph for this function:

Member Data Documentation

int FieldMaps::fDebug
protected

Definition at line 31 of file FieldMaps.h.

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

Referenced by FieldMapsLaplace::ComputeE(), FieldMaps(), InitMaps(), ReadFile(), SaveMaps(), and SetDebugLevel().

TH3F* FieldMaps::fEp
protected

Definition at line 35 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 35 of file FieldMaps.h

Referenced by FieldMapsLaplace::ComputeE(), FieldMaps(), InitMaps(), and SaveMaps().

TH3F* FieldMaps::fEr
protected

Definition at line 34 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 34 of file FieldMaps.h

Referenced by FieldMapsLaplace::ComputeE(), FieldMaps(), InitMaps(), and SaveMaps().

TH3F* FieldMaps::fEz
protected

Definition at line 36 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 36 of file FieldMaps.h

Referenced by FieldMapsLaplace::ComputeE(), FieldMaps(), InitMaps(), and SaveMaps().

std::string FieldMaps::fFileNameRoot
protected

Definition at line 45 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 45 of file FieldMaps.h

Referenced by FieldMaps(), OutputFileName(), ReadFile(), and SaveMaps().

float FieldMaps::fHalfLength
protected

Definition at line 41 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 41 of file FieldMaps.h

Referenced by FieldMapsLaplace::ComputeE(), FieldMaps(), InitMaps(), and TPCDimensions().

float FieldMaps::fInnerRadius
protected

Definition at line 39 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 39 of file FieldMaps.h

Referenced by FieldMapsLaplace::ComputeE(), FieldMaps(), InitMaps(), and TPCDimensions().

std::string FieldMaps::fLSNameRoot
protected

Definition at line 46 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 46 of file FieldMaps.h

Referenced by FieldMapsLaplace::ComputeE(), FieldMaps(), and LSFileName().

bool FieldMaps::fMirrorZ
protected

Definition at line 47 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 47 of file FieldMaps.h

Referenced by FieldMapsLaplace::ComputeE(), FieldMaps(), and MirrorZ().

int FieldMaps::fNAzimuthalSteps
protected

Definition at line 43 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 43 of file FieldMaps.h

Referenced by FieldMapsLaplace::ComputeE(), FieldMaps(), InitMaps(), and TPCGridSize().

int FieldMaps::fNLongitudinalSteps
protected

Definition at line 44 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 44 of file FieldMaps.h

Referenced by FieldMapsLaplace::ComputeE(), FieldMaps(), InitMaps(), and TPCGridSize().

int FieldMaps::fNRadialSteps
protected

Definition at line 42 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 42 of file FieldMaps.h

Referenced by FieldMapsLaplace::ComputeE(), FieldMaps(), InitMaps(), and TPCGridSize().

float FieldMaps::fOutterRadius
protected

Definition at line 40 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 40 of file FieldMaps.h

Referenced by FieldMapsLaplace::ComputeE(), FieldMaps(), InitMaps(), and TPCDimensions().

int FieldMaps::fRadialBin
protected

Definition at line 32 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 32 of file FieldMaps.h

Referenced by FieldMapsLaplace::ComputeE(), FieldMaps(), Make(), and SaveMaps().

TH3F* FieldMaps::fRho
protected

Definition at line 37 of file FieldMaps.h.

View newest version in sPHENIX GitHub at line 37 of file FieldMaps.h

Referenced by FieldMaps(), ReadCharge(), and ReadFile().


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