Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4TBMagneticFieldSetup Class Reference

#include <coresoftware/blob/master/simulation/g4simulation/g4main/G4TBMagneticFieldSetup.hh>

+ Collaboration diagram for G4TBMagneticFieldSetup:

Public Member Functions

 G4TBMagneticFieldSetup (PHField *phfield)
 
 G4TBMagneticFieldSetup (const G4TBMagneticFieldSetup &)=delete
 
G4TBMagneticFieldSetupoperator= (G4TBMagneticFieldSetup const &)=delete
 
virtual ~G4TBMagneticFieldSetup ()
 
void Verbosity (const int verb)
 
void SetStepperType (const G4int i)
 
void SetStepper ()
 
void SetMinStep (const G4double s)
 
void UpdateField ()
 
void SetFieldValue (const G4ThreeVector fieldVector)
 
void SetFieldValue (const G4double fieldValue)
 
double get_magfield_at_000 (const int i) const
 

Protected Member Functions

G4FieldManager * GetGlobalFieldManager ()
 

Private Attributes

int verbosity = 0
 
G4FieldManager * fFieldManager = nullptr
 
G4ChordFinder * fChordFinder = nullptr
 
G4Mag_UsualEqRhs * fEquation = nullptr
 
G4MagneticField * fEMfield = nullptr
 
G4ThreeVector fElFieldValue
 
G4MagIntegratorStepper * fStepper = nullptr
 
G4MagInt_Driver * fIntgrDriver = nullptr
 
G4int fStepperType
 
G4double fMinStep
 
G4TBFieldMessengerfFieldMessenger = nullptr
 
double magfield_at_000 [3]
 

Detailed Description

Definition at line 51 of file G4TBMagneticFieldSetup.hh.

View newest version in sPHENIX GitHub at line 51 of file G4TBMagneticFieldSetup.hh

Constructor & Destructor Documentation

G4TBMagneticFieldSetup::G4TBMagneticFieldSetup ( PHField phfield)

Definition at line 65 of file G4TBMagneticFieldSetup.cc.

View newest version in sPHENIX GitHub at line 65 of file G4TBMagneticFieldSetup.cc

References assert, fEMfield, fEquation, fFieldManager, fFieldMessenger, fMinStep, fStepperType, GetGlobalFieldManager(), i, magfield_at_000, Acts::UnitConstants::mm, UpdateField(), and verbosity.

+ Here is the call graph for this function:

G4TBMagneticFieldSetup::G4TBMagneticFieldSetup ( const G4TBMagneticFieldSetup )
delete
G4TBMagneticFieldSetup::~G4TBMagneticFieldSetup ( )
virtual

Definition at line 161 of file G4TBMagneticFieldSetup.cc.

View newest version in sPHENIX GitHub at line 161 of file G4TBMagneticFieldSetup.cc

References fChordFinder, fEMfield, fEquation, fFieldMessenger, and fStepper.

Member Function Documentation

double G4TBMagneticFieldSetup::get_magfield_at_000 ( const int  i) const
inline

Definition at line 77 of file G4TBMagneticFieldSetup.hh.

View newest version in sPHENIX GitHub at line 77 of file G4TBMagneticFieldSetup.hh

References i, and magfield_at_000.

G4FieldManager * G4TBMagneticFieldSetup::GetGlobalFieldManager ( )
protected

Definition at line 317 of file G4TBMagneticFieldSetup.cc.

View newest version in sPHENIX GitHub at line 317 of file G4TBMagneticFieldSetup.cc

Referenced by G4TBMagneticFieldSetup(), and SetFieldValue().

+ Here is the caller graph for this function:

G4TBMagneticFieldSetup& G4TBMagneticFieldSetup::operator= ( G4TBMagneticFieldSetup const &  )
delete
void G4TBMagneticFieldSetup::SetFieldValue ( const G4ThreeVector  fieldVector)

Definition at line 286 of file G4TBMagneticFieldSetup.cc.

View newest version in sPHENIX GitHub at line 286 of file G4TBMagneticFieldSetup.cc

References fEMfield, fEquation, and GetGlobalFieldManager().

Referenced by SetFieldValue(), and G4TBFieldMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4TBMagneticFieldSetup::SetFieldValue ( const G4double  fieldValue)

Definition at line 274 of file G4TBMagneticFieldSetup.cc.

View newest version in sPHENIX GitHub at line 274 of file G4TBMagneticFieldSetup.cc

References SetFieldValue().

+ Here is the call graph for this function:

void G4TBMagneticFieldSetup::SetMinStep ( const G4double  s)
inline

Definition at line 70 of file G4TBMagneticFieldSetup.hh.

View newest version in sPHENIX GitHub at line 70 of file G4TBMagneticFieldSetup.hh

References fMinStep, and physmon_simulation::s.

Referenced by G4TBFieldMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4TBMagneticFieldSetup::SetStepper ( )

Definition at line 198 of file G4TBMagneticFieldSetup.cc.

View newest version in sPHENIX GitHub at line 198 of file G4TBMagneticFieldSetup.cc

References fEquation, fMinStep, fStepper, fStepperType, gtest_output_test::message, Acts::UnitConstants::mm, and verbosity.

Referenced by UpdateField().

+ Here is the caller graph for this function:

void G4TBMagneticFieldSetup::SetStepperType ( const G4int  i)
inline

Definition at line 66 of file G4TBMagneticFieldSetup.hh.

View newest version in sPHENIX GitHub at line 66 of file G4TBMagneticFieldSetup.hh

References fStepperType, and i.

Referenced by G4TBFieldMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4TBMagneticFieldSetup::UpdateField ( )

Definition at line 176 of file G4TBMagneticFieldSetup.cc.

View newest version in sPHENIX GitHub at line 176 of file G4TBMagneticFieldSetup.cc

References fChordFinder, fEMfield, fFieldManager, fIntgrDriver, fMinStep, fStepper, and SetStepper().

Referenced by G4TBMagneticFieldSetup(), and G4TBFieldMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4TBMagneticFieldSetup::Verbosity ( const int  verb)
inline

Definition at line 64 of file G4TBMagneticFieldSetup.hh.

View newest version in sPHENIX GitHub at line 64 of file G4TBMagneticFieldSetup.hh

References verbosity.

Member Data Documentation

G4ChordFinder* G4TBMagneticFieldSetup::fChordFinder = nullptr
private

Definition at line 88 of file G4TBMagneticFieldSetup.hh.

View newest version in sPHENIX GitHub at line 88 of file G4TBMagneticFieldSetup.hh

Referenced by UpdateField(), and ~G4TBMagneticFieldSetup().

G4ThreeVector G4TBMagneticFieldSetup::fElFieldValue
private

Definition at line 94 of file G4TBMagneticFieldSetup.hh.

View newest version in sPHENIX GitHub at line 94 of file G4TBMagneticFieldSetup.hh

G4MagneticField* G4TBMagneticFieldSetup::fEMfield = nullptr
private

Definition at line 92 of file G4TBMagneticFieldSetup.hh.

View newest version in sPHENIX GitHub at line 92 of file G4TBMagneticFieldSetup.hh

Referenced by G4TBMagneticFieldSetup(), SetFieldValue(), UpdateField(), and ~G4TBMagneticFieldSetup().

G4Mag_UsualEqRhs* G4TBMagneticFieldSetup::fEquation = nullptr
private

Definition at line 90 of file G4TBMagneticFieldSetup.hh.

View newest version in sPHENIX GitHub at line 90 of file G4TBMagneticFieldSetup.hh

Referenced by G4TBMagneticFieldSetup(), SetFieldValue(), SetStepper(), and ~G4TBMagneticFieldSetup().

G4FieldManager* G4TBMagneticFieldSetup::fFieldManager = nullptr
private

Definition at line 86 of file G4TBMagneticFieldSetup.hh.

View newest version in sPHENIX GitHub at line 86 of file G4TBMagneticFieldSetup.hh

Referenced by G4TBMagneticFieldSetup(), and UpdateField().

G4TBFieldMessenger* G4TBMagneticFieldSetup::fFieldMessenger = nullptr
private

Definition at line 103 of file G4TBMagneticFieldSetup.hh.

View newest version in sPHENIX GitHub at line 103 of file G4TBMagneticFieldSetup.hh

Referenced by G4TBMagneticFieldSetup(), and ~G4TBMagneticFieldSetup().

G4MagInt_Driver* G4TBMagneticFieldSetup::fIntgrDriver = nullptr
private

Definition at line 97 of file G4TBMagneticFieldSetup.hh.

View newest version in sPHENIX GitHub at line 97 of file G4TBMagneticFieldSetup.hh

Referenced by UpdateField().

G4double G4TBMagneticFieldSetup::fMinStep
private

Definition at line 101 of file G4TBMagneticFieldSetup.hh.

View newest version in sPHENIX GitHub at line 101 of file G4TBMagneticFieldSetup.hh

Referenced by G4TBMagneticFieldSetup(), SetMinStep(), SetStepper(), and UpdateField().

G4MagIntegratorStepper* G4TBMagneticFieldSetup::fStepper = nullptr
private

Definition at line 96 of file G4TBMagneticFieldSetup.hh.

View newest version in sPHENIX GitHub at line 96 of file G4TBMagneticFieldSetup.hh

Referenced by SetStepper(), UpdateField(), and ~G4TBMagneticFieldSetup().

G4int G4TBMagneticFieldSetup::fStepperType
private

Definition at line 99 of file G4TBMagneticFieldSetup.hh.

View newest version in sPHENIX GitHub at line 99 of file G4TBMagneticFieldSetup.hh

Referenced by G4TBMagneticFieldSetup(), SetStepper(), and SetStepperType().

double G4TBMagneticFieldSetup::magfield_at_000[3]
private

Definition at line 105 of file G4TBMagneticFieldSetup.hh.

View newest version in sPHENIX GitHub at line 105 of file G4TBMagneticFieldSetup.hh

Referenced by G4TBMagneticFieldSetup(), and get_magfield_at_000().

int G4TBMagneticFieldSetup::verbosity = 0
private

Definition at line 84 of file G4TBMagneticFieldSetup.hh.

View newest version in sPHENIX GitHub at line 84 of file G4TBMagneticFieldSetup.hh

Referenced by G4TBMagneticFieldSetup(), SetStepper(), and Verbosity().


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