ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4FieldUtils.hh File Reference
#include "G4FieldTrack.hh"
#include "G4Types.hh"
#include "G4ThreeVector.hh"
#include "G4FieldUtils.icc"
+ Include dependency graph for G4FieldUtils.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  field_utils
 

Typedefs

using field_utils::State = G4double[G4FieldTrack::ncompSVEC]
 

Enumerations

enum  field_utils::Value3D
 
enum  field_utils::Value1D
 

Functions

template<typename ArrayType >
G4double field_utils::getValue (const ArrayType &array, Value1D value)
 
template<typename ArrayType >
G4double field_utils::getValue2 (const ArrayType &array, Value1D value)
 
template<typename ArrayType >
G4double field_utils::getValue (const ArrayType &array, Value3D value)
 
template<typename ArrayType >
G4double field_utils::getValue2 (const ArrayType &array, Value3D value)
 
template<typename ArrayType >
G4ThreeVector field_utils::makeVector (const ArrayType &array, Value3D value)
 
G4double field_utils::absoluteError (const G4double y[], const G4double yerr[], G4double hstep)
 
G4double field_utils::relativeError2 (const G4double y[], const G4double yerr[], G4double hstep, G4double errorTolerance)
 
G4double field_utils::relativeError (const G4double y[], const G4double yerr[], G4double hstep, G4double errorTolerance)
 
template<typename SourceArray , typename TargetArray >
void field_utils::setValue (const SourceArray &src, Value1D value, TargetArray &trg)
 
template<typename SourceArray , typename TargetArray , typename... TargetArrays>
void field_utils::setValue (const SourceArray &src, Value1D value, TargetArray &trg, TargetArrays &...trgs)
 
void field_utils::copy (G4double dst[], const G4double src[], size_t size=G4FieldTrack::ncompSVEC)
 
G4double field_utils::inverseCurvatureRadius (G4double particleCharge, G4double momentum, G4double BField)
 
template<typename T >
T field_utils::clamp (T value, T lo, T hi)