Celeritas 0.7.0-dev.305+develop.e69b8227
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::MagneticField< P, F > Class Template Reference

Wrap a Celeritas field as a Geant4 magnetic field. More...

#include <MagneticField.hh>

Inheritance diagram for celeritas::MagneticField< P, F >:
Inheritance graph
[legend]

Public Types

Type aliases
using SPConstParams = std::shared_ptr< P const >
 

Public Member Functions

 MagneticField (SPConstParams params)
 Construct with the Celeritas shared params.
 
void GetFieldValue (G4double const point[3], G4double *field) const override
 Calculate the magnetic field vector at the given position.
 

Detailed Description

template<class P, class F>
class celeritas::MagneticField< P, F >

Wrap a Celeritas field as a Geant4 magnetic field.

Template Parameters
Pparams for creating field
Ffield calculator

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