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

#include <geant4/tree/geant4-10.6-release/examples/advanced/microbeam/include/EMField.hh>

+ Inheritance diagram for EMField:
+ Collaboration diagram for EMField:

Public Member Functions

 EMField ()
 
void GetFieldValue (const double Point[4], double *Bfield) const
 
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
 

Additional Inherited Members

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

Detailed Description

Definition at line 41 of file EMField.hh.

View newest version in sPHENIX GitHub at line 41 of file EMField.hh

Constructor & Destructor Documentation

EMField::EMField ( )

Definition at line 45 of file EMField.cc.

View newest version in sPHENIX GitHub at line 45 of file EMField.cc

Member Function Documentation

G4bool EMField::DoesFieldChangeEnergy ( ) const
inlinevirtual

Implements G4ElectroMagneticField.

Definition at line 53 of file EMField.hh.

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

void EMField::GetFieldValue ( const double  Point[4],
double *  Bfield 
) const
virtual

Implements G4ElectroMagneticField.

Definition at line 50 of file EMField.cc.

View newest version in sPHENIX GitHub at line 50 of file EMField.cc

References a0, kdfinder::abs(), Acts::IntegrationTest::Bz, c1, c2, D(), deg, G4Exp(), Acts::UnitConstants::h, m, micrometer, mm, P0, P1, P2, tesla, volt, x, y, z, z1, and z2.

+ Here is the call graph for this function:


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