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

#include <geant4/tree/geant4-10.6-release/examples/extended/eventgenerator/HepMC/HepMCEx01/include/ExN04Field.hh>

+ Inheritance diagram for ExN04Field:
+ Collaboration diagram for ExN04Field:

Public Member Functions

 ExN04Field ()
 
 ~ExN04Field ()
 
virtual void GetFieldValue (const double Point[3], double *Bfield) const
 
 ExN04Field ()
 
 ~ExN04Field ()
 
void GetFieldValue (const double Point[3], double *Bfield) const
 
- Public Member Functions inherited from G4MagneticField
 G4MagneticField ()
 
virtual ~G4MagneticField ()
 
 G4MagneticField (const G4MagneticField &r)
 
G4MagneticFieldoperator= (const G4MagneticField &p)
 
G4bool DoesFieldChangeEnergy () const
 
virtual void GetFieldValue (const G4double Point[4], G4double *Bfield) const =0
 
- 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

G4double fBz
 
G4double frmax_sq
 
G4double fzmax
 
G4double Bz
 
G4double rmax_sq
 
G4double zmax
 

Additional Inherited Members

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

Detailed Description

Definition at line 37 of file ExN04Field.hh.

View newest version in sPHENIX GitHub at line 37 of file ExN04Field.hh

Constructor & Destructor Documentation

ExN04Field::ExN04Field ( )

Definition at line 35 of file ExN04Field.cc.

View newest version in sPHENIX GitHub at line 35 of file ExN04Field.cc

References cm, fBz, frmax_sq, fzmax, sqr(), and tesla.

+ Here is the call graph for this function:

ExN04Field::~ExN04Field ( )

Definition at line 44 of file ExN04Field.cc.

View newest version in sPHENIX GitHub at line 44 of file ExN04Field.cc

ExN04Field::ExN04Field ( )
ExN04Field::~ExN04Field ( )

Member Function Documentation

void ExN04Field::GetFieldValue ( const double  Point[3],
double *  Bfield 
) const
virtual

Definition at line 49 of file ExN04Field.cc.

View newest version in sPHENIX GitHub at line 49 of file ExN04Field.cc

References kdfinder::abs(), fBz, frmax_sq, fzmax, and sqr().

+ Here is the call graph for this function:

void ExN04Field::GetFieldValue ( const double  Point[3],
double *  Bfield 
) const

Member Data Documentation

G4double ExN04Field::Bz
private

Definition at line 47 of file ExN04Field.hh.

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

G4double ExN04Field::fBz
private

Definition at line 45 of file ExN04Field.hh.

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

Referenced by ExN04Field(), and GetFieldValue().

G4double ExN04Field::frmax_sq
private

Definition at line 46 of file ExN04Field.hh.

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

Referenced by ExN04Field(), and GetFieldValue().

G4double ExN04Field::fzmax
private

Definition at line 47 of file ExN04Field.hh.

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

Referenced by ExN04Field(), and GetFieldValue().

G4double ExN04Field::rmax_sq
private

Definition at line 48 of file ExN04Field.hh.

View newest version in sPHENIX GitHub at line 48 of file ExN04Field.hh

G4double ExN04Field::zmax
private

Definition at line 49 of file ExN04Field.hh.

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


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