Geant4_10
Public Member Functions | Protected Attributes | List of all members
G4CachedMagneticField Class Reference

#include <G4CachedMagneticField.hh>

Inheritance diagram for G4CachedMagneticField:
Inheritance graph
[legend]
Collaboration diagram for G4CachedMagneticField:
Collaboration graph
[legend]

Public Member Functions

 G4CachedMagneticField (G4MagneticField *, G4double distanceConst)
 
virtual ~G4CachedMagneticField ()
 
 G4CachedMagneticField (const G4CachedMagneticField &r)
 
G4CachedMagneticFieldoperator= (const G4CachedMagneticField &p)
 
virtual void GetFieldValue (const G4double Point[4], G4double *Bfield) const
 
G4double GetConstDistance () const
 
void SetConstDistance (G4double dist)
 
G4int GetCountCalls () const
 
G4int GetCountEvaluations () const
 
void ClearCounts ()
 
void ReportStatistics ()
 
virtual G4CachedMagneticFieldClone () const
 
- Public Member Functions inherited from G4MagneticField
 G4MagneticField ()
 
virtual ~G4MagneticField ()
 
 G4MagneticField (const G4MagneticField &r)
 
G4MagneticFieldoperator= (const G4MagneticField &p)
 
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)
 

Protected Attributes

G4int fCountCalls
 
G4int fCountEvaluations
 

Detailed Description

Definition at line 47 of file G4CachedMagneticField.hh.

Constructor & Destructor Documentation

G4CachedMagneticField::G4CachedMagneticField ( G4MagneticField pMagField,
G4double  distanceConst 
)

Definition at line 33 of file G4CachedMagneticField.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4CachedMagneticField::~G4CachedMagneticField ( )
virtual

Definition at line 58 of file G4CachedMagneticField.cc.

G4CachedMagneticField::G4CachedMagneticField ( const G4CachedMagneticField r)

Definition at line 70 of file G4CachedMagneticField.cc.

Here is the call graph for this function:

Member Function Documentation

void G4CachedMagneticField::ClearCounts ( )
inline

Definition at line 67 of file G4CachedMagneticField.hh.

Here is the caller graph for this function:

G4CachedMagneticField * G4CachedMagneticField::Clone ( ) const
virtual

Reimplemented from G4Field.

Definition at line 47 of file G4CachedMagneticField.cc.

Here is the call graph for this function:

G4double G4CachedMagneticField::GetConstDistance ( ) const
inline

Definition at line 62 of file G4CachedMagneticField.hh.

G4int G4CachedMagneticField::GetCountCalls ( ) const
inline

Definition at line 65 of file G4CachedMagneticField.hh.

G4int G4CachedMagneticField::GetCountEvaluations ( ) const
inline

Definition at line 66 of file G4CachedMagneticField.hh.

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

Implements G4MagneticField.

Definition at line 86 of file G4CachedMagneticField.cc.

Here is the call graph for this function:

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

Definition at line 80 of file G4CachedMagneticField.cc.

void G4CachedMagneticField::ReportStatistics ( )

Definition at line 63 of file G4CachedMagneticField.cc.

void G4CachedMagneticField::SetConstDistance ( G4double  dist)
inline

Definition at line 63 of file G4CachedMagneticField.hh.

Member Data Documentation

G4int G4CachedMagneticField::fCountCalls
mutableprotected

Definition at line 81 of file G4CachedMagneticField.hh.

G4int G4CachedMagneticField::fCountEvaluations
mutableprotected

Definition at line 81 of file G4CachedMagneticField.hh.


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