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

#include <geant4/tree/geant4-10.6-release/examples/advanced/hadrontherapy/include/HadrontherapyElectricTabulatedField3D.hh>

+ Inheritance diagram for HadrontherapyElectricTabulatedField3D:
+ Collaboration diagram for HadrontherapyElectricTabulatedField3D:

Public Member Functions

 HadrontherapyElectricTabulatedField3D (const char *filename, G4double exOffset, G4double eyOffset, G4double ezOffset)
 
void GetFieldValue (const G4double Epoint[4], G4double *Efield) const
 
- Public Member Functions inherited from G4ElectricField
 G4ElectricField ()
 
virtual ~G4ElectricField ()
 
 G4ElectricField (const G4ElectricField &r)
 
G4ElectricFieldoperator= (const G4ElectricField &p)
 
G4bool DoesFieldChangeEnergy () const
 
- Public Member Functions inherited from G4ElectroMagneticField
 G4ElectroMagneticField ()
 
virtual ~G4ElectroMagneticField ()
 
 G4ElectroMagneticField (const G4ElectroMagneticField &r)
 
G4ElectroMagneticFieldoperator= (const G4ElectroMagneticField &p)
 
- Public Member Functions inherited from G4Field
 G4Field (G4bool gravityOn=false)
 
 G4Field (const G4Field &)
 
virtual ~G4Field ()
 
G4Fieldoperator= (const G4Field &p)
 
G4bool IsGravityActive () const
 
void SetGravityActive (G4bool OnOffFlag)
 
virtual G4FieldClone () const
 

Private Attributes

std::vector< std::vector
< std::vector< G4double > > > 
xEField
 
std::vector< std::vector
< std::vector< G4double > > > 
yEField
 
std::vector< std::vector
< std::vector< G4double > > > 
zEField
 
G4int Enx
 
G4int Eny
 
G4int Enz
 
G4double Eminx
 
G4double Emaxx
 
G4double Eminy
 
G4double Emaxy
 
G4double Eminz
 
G4double Emaxz
 
G4double dx1
 
G4double dy1
 
G4double dz1
 
G4double feXoffset
 
G4double feYoffset
 
G4double feZoffset
 
G4bool einvertX
 
G4bool einvertY
 
G4bool einvertZ
 

Additional Inherited Members

- Static Public Attributes inherited from G4Field
static constexpr G4int MAX_NUMBER_OF_COMPONENTS = 24
 

Detailed Description

Definition at line 38 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 38 of file HadrontherapyElectricTabulatedField3D.hh

Constructor & Destructor Documentation

HadrontherapyElectricTabulatedField3D::HadrontherapyElectricTabulatedField3D ( const char *  filename,
G4double  exOffset,
G4double  eyOffset,
G4double  ezOffset 
)

Definition at line 37 of file HadrontherapyElectricTabulatedField3D.cc.

View newest version in sPHENIX GitHub at line 37 of file HadrontherapyElectricTabulatedField3D.cc

References cm, dx1, dy1, dz1, einvertX, einvertY, einvertZ, Emaxx, Emaxy, Emaxz, Eminx, Eminy, Eminz, Enx, Eny, Enz, file, G4cout, G4endl, m, boost::swap(), G4TemplateAutoLock< _Mutex_t >::unlock(), volt, xEField, yEField, and zEField.

+ Here is the call graph for this function:

Member Function Documentation

void HadrontherapyElectricTabulatedField3D::GetFieldValue ( const G4double  Epoint[4],
G4double Efield 
) const
virtual

Implements G4ElectricField.

Definition at line 140 of file HadrontherapyElectricTabulatedField3D.cc.

View newest version in sPHENIX GitHub at line 140 of file HadrontherapyElectricTabulatedField3D.cc

References dx1, dy1, dz1, einvertX, einvertY, einvertZ, Eminx, Eminy, Eminz, Enx, Eny, Enz, feXoffset, feYoffset, feZoffset, x1, xEField, y1, yEField, z1, and zEField.

Member Data Documentation

G4double HadrontherapyElectricTabulatedField3D::dx1
private

Definition at line 53 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 53 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by GetFieldValue(), and HadrontherapyElectricTabulatedField3D().

G4double HadrontherapyElectricTabulatedField3D::dy1
private

Definition at line 53 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 53 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by GetFieldValue(), and HadrontherapyElectricTabulatedField3D().

G4double HadrontherapyElectricTabulatedField3D::dz1
private

Definition at line 53 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 53 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by GetFieldValue(), and HadrontherapyElectricTabulatedField3D().

G4bool HadrontherapyElectricTabulatedField3D::einvertX
private

Definition at line 57 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 57 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by GetFieldValue(), and HadrontherapyElectricTabulatedField3D().

G4bool HadrontherapyElectricTabulatedField3D::einvertY
private

Definition at line 57 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 57 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by GetFieldValue(), and HadrontherapyElectricTabulatedField3D().

G4bool HadrontherapyElectricTabulatedField3D::einvertZ
private

Definition at line 57 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 57 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by GetFieldValue(), and HadrontherapyElectricTabulatedField3D().

G4double HadrontherapyElectricTabulatedField3D::Emaxx
private

Definition at line 51 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 51 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by HadrontherapyElectricTabulatedField3D().

G4double HadrontherapyElectricTabulatedField3D::Emaxy
private

Definition at line 51 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 51 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by HadrontherapyElectricTabulatedField3D().

G4double HadrontherapyElectricTabulatedField3D::Emaxz
private

Definition at line 51 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 51 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by HadrontherapyElectricTabulatedField3D().

G4double HadrontherapyElectricTabulatedField3D::Eminx
private

Definition at line 51 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 51 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by GetFieldValue(), and HadrontherapyElectricTabulatedField3D().

G4double HadrontherapyElectricTabulatedField3D::Eminy
private

Definition at line 51 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 51 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by GetFieldValue(), and HadrontherapyElectricTabulatedField3D().

G4double HadrontherapyElectricTabulatedField3D::Eminz
private

Definition at line 51 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 51 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by GetFieldValue(), and HadrontherapyElectricTabulatedField3D().

G4int HadrontherapyElectricTabulatedField3D::Enx
private

Definition at line 49 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 49 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by GetFieldValue(), and HadrontherapyElectricTabulatedField3D().

G4int HadrontherapyElectricTabulatedField3D::Eny
private

Definition at line 49 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 49 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by GetFieldValue(), and HadrontherapyElectricTabulatedField3D().

G4int HadrontherapyElectricTabulatedField3D::Enz
private

Definition at line 49 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 49 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by GetFieldValue(), and HadrontherapyElectricTabulatedField3D().

G4double HadrontherapyElectricTabulatedField3D::feXoffset
private

Definition at line 54 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 54 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by GetFieldValue().

G4double HadrontherapyElectricTabulatedField3D::feYoffset
private

Definition at line 55 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 55 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by GetFieldValue().

G4double HadrontherapyElectricTabulatedField3D::feZoffset
private

Definition at line 56 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 56 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by GetFieldValue().

std::vector< std::vector< std::vector< G4double > > > HadrontherapyElectricTabulatedField3D::xEField
private

Definition at line 45 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 45 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by GetFieldValue(), and HadrontherapyElectricTabulatedField3D().

std::vector< std::vector< std::vector< G4double > > > HadrontherapyElectricTabulatedField3D::yEField
private

Definition at line 46 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 46 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by GetFieldValue(), and HadrontherapyElectricTabulatedField3D().

std::vector< std::vector< std::vector< G4double > > > HadrontherapyElectricTabulatedField3D::zEField
private

Definition at line 47 of file HadrontherapyElectricTabulatedField3D.hh.

View newest version in sPHENIX GitHub at line 47 of file HadrontherapyElectricTabulatedField3D.hh

Referenced by GetFieldValue(), and HadrontherapyElectricTabulatedField3D().


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