EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
eASTMagneticField Class Reference

#include <east/blob/main/Core/include/eASTMagneticField.hh>

+ Inheritance diagram for eASTMagneticField:
+ Collaboration diagram for eASTMagneticField:

Public Member Functions

 eASTMagneticField ()
 
 ~eASTMagneticField ()=default
 
void Activate ()
 
void CreateField (const G4String &name)
 
void GetFieldValue (const G4double point[4], G4double *field) const
 
void PrintFieldValue (const G4ThreeVector &point)
 

Private Attributes

G4GenericMessenger fFieldMessenger
 
std::vector< eASTMagneticFieldMapfMaps
 
G4double fMinStep {0.01*mm}
 
G4double fDeltaChord {3.0*mm}
 
G4double fDeltaOneStep {0.01*mm}
 
G4double fDeltaIntersection {0.1*mm}
 
G4double fEpsMin {1.0e-5*mm}
 
G4double fEpsMax {1.0e-4*mm}
 
G4EquationOfMotion * fEquation {nullptr}
 
G4int fEquationDoF {0}
 
G4FieldManager * fFieldManager {nullptr}
 
G4PropagatorInField * fFieldPropagator {nullptr}
 
G4MagIntegratorStepper * fStepper {nullptr}
 
G4ChordFinder * fChordFinder {nullptr}
 

Detailed Description

Definition at line 170 of file eASTMagneticField.hh.

View newest version in sPHENIX GitHub at line 170 of file eASTMagneticField.hh

Constructor & Destructor Documentation

eASTMagneticField::eASTMagneticField ( )

Definition at line 23 of file eASTMagneticField.cc.

View newest version in sPHENIX GitHub at line 23 of file eASTMagneticField.cc

References CreateField(), fFieldMessenger, and PrintFieldValue().

+ Here is the call graph for this function:

eASTMagneticField::~eASTMagneticField ( )
default

Member Function Documentation

void eASTMagneticField::Activate ( )

Definition at line 34 of file eASTMagneticField.cc.

View newest version in sPHENIX GitHub at line 34 of file eASTMagneticField.cc

References fChordFinder, fDeltaChord, fDeltaIntersection, fDeltaOneStep, fEpsMax, fEpsMin, fEquation, fEquationDoF, fFieldManager, fFieldPropagator, fMinStep, and fStepper.

Referenced by eASTDetectorConstruction::ConstructSDandField().

+ Here is the caller graph for this function:

void eASTMagneticField::CreateField ( const G4String &  name)

Definition at line 58 of file eASTMagneticField.cc.

View newest version in sPHENIX GitHub at line 58 of file eASTMagneticField.cc

References fMaps.

Referenced by eASTMagneticField().

+ Here is the caller graph for this function:

void eASTMagneticField::GetFieldValue ( const G4double  point[4],
G4double *  field 
) const
inline

Definition at line 184 of file eASTMagneticField.hh.

View newest version in sPHENIX GitHub at line 184 of file eASTMagneticField.hh

References fMaps.

void eASTMagneticField::PrintFieldValue ( const G4ThreeVector &  point)
inline

Definition at line 194 of file eASTMagneticField.hh.

View newest version in sPHENIX GitHub at line 194 of file eASTMagneticField.hh

References fMaps.

Referenced by eASTMagneticField().

+ Here is the caller graph for this function:

Member Data Documentation

G4ChordFinder* eASTMagneticField::fChordFinder {nullptr}
private

Definition at line 224 of file eASTMagneticField.hh.

View newest version in sPHENIX GitHub at line 224 of file eASTMagneticField.hh

Referenced by Activate().

G4double eASTMagneticField::fDeltaChord {3.0*mm}
private

Definition at line 213 of file eASTMagneticField.hh.

View newest version in sPHENIX GitHub at line 213 of file eASTMagneticField.hh

Referenced by Activate().

G4double eASTMagneticField::fDeltaIntersection {0.1*mm}
private

Definition at line 215 of file eASTMagneticField.hh.

View newest version in sPHENIX GitHub at line 215 of file eASTMagneticField.hh

Referenced by Activate().

G4double eASTMagneticField::fDeltaOneStep {0.01*mm}
private

Definition at line 214 of file eASTMagneticField.hh.

View newest version in sPHENIX GitHub at line 214 of file eASTMagneticField.hh

Referenced by Activate().

G4double eASTMagneticField::fEpsMax {1.0e-4*mm}
private

Definition at line 217 of file eASTMagneticField.hh.

View newest version in sPHENIX GitHub at line 217 of file eASTMagneticField.hh

Referenced by Activate().

G4double eASTMagneticField::fEpsMin {1.0e-5*mm}
private

Definition at line 216 of file eASTMagneticField.hh.

View newest version in sPHENIX GitHub at line 216 of file eASTMagneticField.hh

Referenced by Activate().

G4EquationOfMotion* eASTMagneticField::fEquation {nullptr}
private

Definition at line 219 of file eASTMagneticField.hh.

View newest version in sPHENIX GitHub at line 219 of file eASTMagneticField.hh

Referenced by Activate().

G4int eASTMagneticField::fEquationDoF {0}
private

Definition at line 220 of file eASTMagneticField.hh.

View newest version in sPHENIX GitHub at line 220 of file eASTMagneticField.hh

Referenced by Activate().

G4FieldManager* eASTMagneticField::fFieldManager {nullptr}
private

Definition at line 221 of file eASTMagneticField.hh.

View newest version in sPHENIX GitHub at line 221 of file eASTMagneticField.hh

Referenced by Activate().

G4GenericMessenger eASTMagneticField::fFieldMessenger
private

Definition at line 198 of file eASTMagneticField.hh.

View newest version in sPHENIX GitHub at line 198 of file eASTMagneticField.hh

Referenced by eASTMagneticField().

G4PropagatorInField* eASTMagneticField::fFieldPropagator {nullptr}
private

Definition at line 222 of file eASTMagneticField.hh.

View newest version in sPHENIX GitHub at line 222 of file eASTMagneticField.hh

Referenced by Activate().

std::vector<eASTMagneticFieldMap> eASTMagneticField::fMaps
private

Definition at line 208 of file eASTMagneticField.hh.

View newest version in sPHENIX GitHub at line 208 of file eASTMagneticField.hh

Referenced by CreateField(), GetFieldValue(), and PrintFieldValue().

G4double eASTMagneticField::fMinStep {0.01*mm}
private

Definition at line 212 of file eASTMagneticField.hh.

View newest version in sPHENIX GitHub at line 212 of file eASTMagneticField.hh

Referenced by Activate().

G4MagIntegratorStepper* eASTMagneticField::fStepper {nullptr}
private

Definition at line 223 of file eASTMagneticField.hh.

View newest version in sPHENIX GitHub at line 223 of file eASTMagneticField.hh

Referenced by Activate().


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