Belle II Software  release-08-01-10
G4MonopoleEquation Class Reference

Monopole equation of motion class. More...

#include <G4MonopoleEquation.h>

Inheritance diagram for G4MonopoleEquation:
Collaboration diagram for G4MonopoleEquation:

Public Member Functions

 G4MonopoleEquation (G4MagneticField *mField)
 Constructor. More...
 
 ~G4MonopoleEquation ()
 Destructor.
 
virtual void SetChargeMomentumMass (G4ChargeState particleChargeState, G4double momentum, G4double mass)
 G4EquationOfMotion::SetChargeMomentumMass() implementation. More...
 
virtual void EvaluateRhsGivenB (const G4double y[], const G4double Field[], G4double dydx[]) const
 Given the value of the electromagnetic field, this function calculates the value of the derivative dydx. More...
 

Private Attributes

G4double fMagCharge
 Magnetic charge of the monopole, in e+ units.
 
G4double fElCharge
 Electric charge in case of a dyon.
 
G4double fMassCof
 Square of the monopole mass.
 

Detailed Description

Monopole equation of motion class.

Equation of motion define stepper in G4, which defines chord finder, which is required to perform transportation process.

Definition at line 30 of file G4MonopoleEquation.h.

Constructor & Destructor Documentation

◆ G4MonopoleEquation()

G4MonopoleEquation ( G4MagneticField *  mField)
explicit

Constructor.

Parameters
mFieldPointer to the field in which the particle will propagate.

Definition at line 22 of file G4MonopoleEquation.cc.

23  : G4EquationOfMotion(mField)
24 {}

Member Function Documentation

◆ EvaluateRhsGivenB()

void EvaluateRhsGivenB ( const G4double  y[],
const G4double  Field[],
G4double  dydx[] 
) const
virtual

Given the value of the electromagnetic field, this function calculates the value of the derivative dydx.

Parameters
y[6]0-2 dr/ds - velocity, 3-5 dp/ds - momentum derivatives.
Field[3]Field components.
dydx[8]Where to store results.

Definition at line 46 of file G4MonopoleEquation.cc.

◆ SetChargeMomentumMass()

void SetChargeMomentumMass ( G4ChargeState  particleChargeState,
G4double  momentum,
G4double  mass 
)
virtual

G4EquationOfMotion::SetChargeMomentumMass() implementation.

Reads particle properties for equation of motion definition.

Parameters
particleChargeStateCharge information about the particle. Luckily, G4ChargeState have magnetic charge member variable. Magnetic charge is taken from it in e+ untis.
momentumThis argument of base function is ignored.
massMass of the particle.

Definition at line 30 of file G4MonopoleEquation.cc.


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