Geant4  10.02.p02
CCalMagneticField Class Reference

#include <CCalMagneticField.hh>

+ Inheritance diagram for CCalMagneticField:
+ Collaboration diagram for CCalMagneticField:

Public Member Functions

 CCalMagneticField (const G4String &name)
 
 ~CCalMagneticField ()
 
void MagneticField (const double Point[3], double Bfield[3]) const
 
CLHEP::Hep3Vector MagneticField (const CLHEP::Hep3Vector Point) const
 
virtual void GetFieldValue (const double Point[3], double *Bfield) const
 
G4double GetConstantFieldvalue () const
 
- Public Member Functions inherited from G4MagneticField
 G4MagneticField ()
 
virtual ~G4MagneticField ()
 
 G4MagneticField (const G4MagneticField &r)
 
G4MagneticFieldoperator= (const G4MagneticField &p)
 
G4bool DoesFieldChangeEnergy () const
 
virtual void GetFieldValue (const G4double Point[4], G4double *Bfield) const =0
 
- 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
 

Protected Member Functions

G4FieldManagerGetGlobalFieldManager ()
 

Private Attributes

G4double fval
 
G4int npts
 
G4double xoff
 
G4doublepos
 
G4doubleslope
 
G4doubleintercept
 
G4int fVerbosity
 

Detailed Description

Definition at line 38 of file CCalMagneticField.hh.

Constructor & Destructor Documentation

CCalMagneticField::CCalMagneticField ( const G4String name)

Definition at line 42 of file CCalMagneticField.cc.

References findDO(), fval, fVerbosity, G4cout, G4endl, intercept, mm, npts, openGeomFile(), pos, slope, tab(), and xoff.

+ Here is the call graph for this function:

CCalMagneticField::~CCalMagneticField ( )

Definition at line 88 of file CCalMagneticField.cc.

References intercept, pos, and slope.

Member Function Documentation

G4double CCalMagneticField::GetConstantFieldvalue ( ) const
inline

Definition at line 47 of file CCalMagneticField.hh.

References fval.

Referenced by CCalDetectorConstruction::Construct().

+ Here is the caller graph for this function:

void CCalMagneticField::GetFieldValue ( const double  Point[3],
double *  Bfield 
) const
virtual

Definition at line 152 of file CCalMagneticField.cc.

References MagneticField().

+ Here is the call graph for this function:

G4FieldManager* CCalMagneticField::GetGlobalFieldManager ( )
protected
void CCalMagneticField::MagneticField ( const double  Point[3],
double  Bfield[3] 
) const

Definition at line 100 of file CCalMagneticField.cc.

References c1, fval, fVerbosity, G4cout, G4endl, intercept, kilogauss, m, mm, npts, pos, slope, tesla, and xoff.

Referenced by GetFieldValue(), and MagneticField().

+ Here is the caller graph for this function:

CLHEP::Hep3Vector CCalMagneticField::MagneticField ( const CLHEP::Hep3Vector  Point) const

Definition at line 136 of file CCalMagneticField.cc.

References B(), MagneticField(), and x.

+ Here is the call graph for this function:

Member Data Documentation

G4double CCalMagneticField::fval
private

Definition at line 54 of file CCalMagneticField.hh.

Referenced by CCalMagneticField(), GetConstantFieldvalue(), and MagneticField().

G4int CCalMagneticField::fVerbosity
private

Definition at line 61 of file CCalMagneticField.hh.

Referenced by CCalMagneticField(), and MagneticField().

G4double* CCalMagneticField::intercept
private

Definition at line 59 of file CCalMagneticField.hh.

Referenced by CCalMagneticField(), MagneticField(), and ~CCalMagneticField().

G4int CCalMagneticField::npts
private

Definition at line 55 of file CCalMagneticField.hh.

Referenced by CCalMagneticField(), and MagneticField().

G4double* CCalMagneticField::pos
private

Definition at line 57 of file CCalMagneticField.hh.

Referenced by CCalMagneticField(), MagneticField(), and ~CCalMagneticField().

G4double* CCalMagneticField::slope
private

Definition at line 58 of file CCalMagneticField.hh.

Referenced by CCalMagneticField(), MagneticField(), and ~CCalMagneticField().

G4double CCalMagneticField::xoff
private

Definition at line 56 of file CCalMagneticField.hh.

Referenced by CCalMagneticField(), and MagneticField().


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