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

#include <geant4/tree/geant4-10.6-release/source/geometry/magneticfield/include/G4MagneticField.hh>

+ Inheritance diagram for G4MagneticField:
+ Collaboration diagram for G4MagneticField:

Public Member Functions

 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
 

Additional Inherited Members

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

Detailed Description

Definition at line 40 of file G4MagneticField.hh.

View newest version in sPHENIX GitHub at line 40 of file G4MagneticField.hh

Constructor & Destructor Documentation

G4MagneticField::G4MagneticField ( )

Definition at line 33 of file G4MagneticField.cc.

View newest version in sPHENIX GitHub at line 33 of file G4MagneticField.cc

G4MagneticField::~G4MagneticField ( )
virtual

Definition at line 38 of file G4MagneticField.cc.

View newest version in sPHENIX GitHub at line 38 of file G4MagneticField.cc

G4MagneticField::G4MagneticField ( const G4MagneticField r)

Definition at line 42 of file G4MagneticField.cc.

View newest version in sPHENIX GitHub at line 42 of file G4MagneticField.cc

Member Function Documentation

G4bool G4MagneticField::DoesFieldChangeEnergy ( ) const
inlinevirtual

Implements G4Field.

Definition at line 52 of file G4MagneticField.hh.

View newest version in sPHENIX GitHub at line 52 of file G4MagneticField.hh

Referenced by export_G4MagneticField().

+ Here is the caller graph for this function:

virtual void G4MagneticField::GetFieldValue ( const G4double  Point[4],
G4double Bfield 
) const
pure virtual

Implements G4Field.

Implemented in PurgMagTabulatedField3D, HadrontherapyMagneticField3D, G4UniformMagField, G4CachedMagneticField, PyG4MagneticField, TabulatedField3D, B5MagneticField, PHG4OuterHcalField, and PHG4MagneticField.

Referenced by G4TBMagneticFieldSetup::G4TBMagneticFieldSetup(), F03FieldSetup::GetConstantFieldValue(), and G4CachedMagneticField::GetFieldValue().

+ Here is the caller graph for this function:

G4MagneticField & G4MagneticField::operator= ( const G4MagneticField p)

Definition at line 47 of file G4MagneticField.cc.

View newest version in sPHENIX GitHub at line 47 of file G4MagneticField.cc

References G4Field::operator=().

Referenced by G4CachedMagneticField::operator=(), and G4UniformMagField::operator=().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


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