ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/geometry/magneticfield/include/G4CachedMagneticField.hh>
Protected Attributes | |
G4int | fCountCalls = 0 |
G4int | fCountEvaluations = 0 |
Private Attributes | |
G4MagneticField * | fpMagneticField = nullptr |
G4double | fDistanceConst |
G4ThreeVector | fLastLocation |
G4ThreeVector | fLastValue |
Additional Inherited Members | |
Static Public Attributes inherited from G4Field | |
static constexpr G4int | MAX_NUMBER_OF_COMPONENTS = 24 |
Definition at line 41 of file G4CachedMagneticField.hh.
View newest version in sPHENIX GitHub at line 41 of file G4CachedMagneticField.hh
G4CachedMagneticField::G4CachedMagneticField | ( | G4MagneticField * | pMagField, |
G4double | distanceConst | ||
) |
Definition at line 33 of file G4CachedMagneticField.cc.
View newest version in sPHENIX GitHub at line 33 of file G4CachedMagneticField.cc
References ClearCounts().
Referenced by Clone().
|
virtual |
Definition at line 53 of file G4CachedMagneticField.cc.
View newest version in sPHENIX GitHub at line 53 of file G4CachedMagneticField.cc
G4CachedMagneticField::G4CachedMagneticField | ( | const G4CachedMagneticField & | r | ) |
Definition at line 66 of file G4CachedMagneticField.cc.
View newest version in sPHENIX GitHub at line 66 of file G4CachedMagneticField.cc
References ClearCounts(), fDistanceConst, fLastLocation, fLastValue, and fpMagneticField.
|
inline |
Definition at line 61 of file G4CachedMagneticField.hh.
View newest version in sPHENIX GitHub at line 61 of file G4CachedMagneticField.hh
References fCountCalls, and fCountEvaluations.
Referenced by G4CachedMagneticField(), and operator=().
|
virtual |
Reimplemented from G4Field.
Definition at line 41 of file G4CachedMagneticField.cc.
View newest version in sPHENIX GitHub at line 41 of file G4CachedMagneticField.cc
References G4Field::Clone(), fDistanceConst, fLastLocation, fLastValue, fpMagneticField, and G4CachedMagneticField().
|
inline |
Definition at line 56 of file G4CachedMagneticField.hh.
View newest version in sPHENIX GitHub at line 56 of file G4CachedMagneticField.hh
References fDistanceConst.
Referenced by G4NystromRK4::GetDistanceForConstantField().
|
inline |
Definition at line 59 of file G4CachedMagneticField.hh.
View newest version in sPHENIX GitHub at line 59 of file G4CachedMagneticField.hh
References fCountCalls.
|
inline |
Definition at line 60 of file G4CachedMagneticField.hh.
View newest version in sPHENIX GitHub at line 60 of file G4CachedMagneticField.hh
References fCountEvaluations.
|
virtual |
Implements G4MagneticField.
Definition at line 90 of file G4CachedMagneticField.cc.
View newest version in sPHENIX GitHub at line 90 of file G4CachedMagneticField.cc
References fCountCalls, fCountEvaluations, fDistanceConst, fLastLocation, fLastValue, fpMagneticField, G4MagneticField::GetFieldValue(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
G4CachedMagneticField & G4CachedMagneticField::operator= | ( | const G4CachedMagneticField & | p | ) |
Definition at line 77 of file G4CachedMagneticField.cc.
View newest version in sPHENIX GitHub at line 77 of file G4CachedMagneticField.cc
References ClearCounts(), fDistanceConst, fLastLocation, fLastValue, fpMagneticField, and G4MagneticField::operator=().
void G4CachedMagneticField::ReportStatistics | ( | ) |
Definition at line 58 of file G4CachedMagneticField.cc.
View newest version in sPHENIX GitHub at line 58 of file G4CachedMagneticField.cc
References fCountCalls, fCountEvaluations, G4cout, and G4endl.
Definition at line 57 of file G4CachedMagneticField.hh.
View newest version in sPHENIX GitHub at line 57 of file G4CachedMagneticField.hh
References fDistanceConst.
Referenced by G4NystromRK4::SetDistanceForConstantField().
|
mutableprotected |
Definition at line 68 of file G4CachedMagneticField.hh.
View newest version in sPHENIX GitHub at line 68 of file G4CachedMagneticField.hh
Referenced by ClearCounts(), GetCountCalls(), GetFieldValue(), and ReportStatistics().
|
mutableprotected |
Definition at line 68 of file G4CachedMagneticField.hh.
View newest version in sPHENIX GitHub at line 68 of file G4CachedMagneticField.hh
Referenced by ClearCounts(), GetCountEvaluations(), GetFieldValue(), and ReportStatistics().
|
private |
Definition at line 73 of file G4CachedMagneticField.hh.
View newest version in sPHENIX GitHub at line 73 of file G4CachedMagneticField.hh
Referenced by Clone(), G4CachedMagneticField(), GetConstDistance(), GetFieldValue(), operator=(), and SetConstDistance().
|
mutableprivate |
Definition at line 78 of file G4CachedMagneticField.hh.
View newest version in sPHENIX GitHub at line 78 of file G4CachedMagneticField.hh
Referenced by Clone(), G4CachedMagneticField(), GetFieldValue(), and operator=().
|
mutableprivate |
Definition at line 79 of file G4CachedMagneticField.hh.
View newest version in sPHENIX GitHub at line 79 of file G4CachedMagneticField.hh
Referenced by Clone(), G4CachedMagneticField(), GetFieldValue(), and operator=().
|
private |
Definition at line 72 of file G4CachedMagneticField.hh.
View newest version in sPHENIX GitHub at line 72 of file G4CachedMagneticField.hh
Referenced by Clone(), G4CachedMagneticField(), GetFieldValue(), and operator=().