DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Protected Attributes | List of all members
dd4hep::sim::Geant4FieldTrackingSetup Struct Reference

Generic Setup component to perform the magnetic field tracking in Geant4. More...

Inheritance diagram for dd4hep::sim::Geant4FieldTrackingSetup:
dd4hep::sim::Geant4FieldTrackingConstruction dd4hep::sim::Geant4FieldTrackingSetupAction

Public Member Functions

 Geant4FieldTrackingSetup ()
 Default constructor. More...
 
virtual ~Geant4FieldTrackingSetup ()
 Default destructor. More...
 
virtual int execute (Detector &description)
 Perform the setup of the magnetic field tracking in Geant4. More...
 

Protected Attributes

std::string eq_typ
 Name of the G4Mag_EqRhs class. More...
 
std::string stepper_typ
 Name of the G4MagIntegratorStepper class. More...
 
double min_chord_step
 G4ChordFinder parameter: min_chord_step. More...
 
double delta_chord
 G4ChordFinder parameter: delta. More...
 
double delta_one_step
 G4FieldManager parameter: delta_one_step. More...
 
double delta_intersection
 G4FieldManager parameter: delta_intersection. More...
 
double eps_min
 G4PropagatorInField parameter: eps_min. More...
 
double eps_max
 G4PropagatorInField parameter: eps_min. More...
 
double largest_step
 G4PropagatorInField parameter: LargestAcceptableStep. More...
 

Detailed Description

Generic Setup component to perform the magnetic field tracking in Geant4.

Geant4FieldTrackingSetup.

This base class is use jointly between the XML setup and the phase action used by the python setup.

Note: Negative parameters are not passed to Geant4 objects, but ignored – if possible.

Author
M.Frank
Version
1.0

Definition at line 40 of file Geant4FieldTrackingSetup.cpp.

Constructor & Destructor Documentation

◆ Geant4FieldTrackingSetup()

Geant4FieldTrackingSetup::Geant4FieldTrackingSetup ( )

Default constructor.

Definition at line 175 of file Geant4FieldTrackingSetup.cpp.

◆ ~Geant4FieldTrackingSetup()

Geant4FieldTrackingSetup::~Geant4FieldTrackingSetup ( )
virtual

Default destructor.

Definition at line 186 of file Geant4FieldTrackingSetup.cpp.

Member Function Documentation

◆ execute()

int Geant4FieldTrackingSetup::execute ( Detector description)
virtual

Perform the setup of the magnetic field tracking in Geant4.

Definition at line 190 of file Geant4FieldTrackingSetup.cpp.

Member Data Documentation

◆ delta_chord

double dd4hep::sim::Geant4FieldTrackingSetup::delta_chord
protected

G4ChordFinder parameter: delta.

Definition at line 50 of file Geant4FieldTrackingSetup.cpp.

◆ delta_intersection

double dd4hep::sim::Geant4FieldTrackingSetup::delta_intersection
protected

G4FieldManager parameter: delta_intersection.

Definition at line 54 of file Geant4FieldTrackingSetup.cpp.

◆ delta_one_step

double dd4hep::sim::Geant4FieldTrackingSetup::delta_one_step
protected

G4FieldManager parameter: delta_one_step.

Definition at line 52 of file Geant4FieldTrackingSetup.cpp.

◆ eps_max

double dd4hep::sim::Geant4FieldTrackingSetup::eps_max
protected

G4PropagatorInField parameter: eps_min.

Definition at line 58 of file Geant4FieldTrackingSetup.cpp.

◆ eps_min

double dd4hep::sim::Geant4FieldTrackingSetup::eps_min
protected

G4PropagatorInField parameter: eps_min.

Definition at line 56 of file Geant4FieldTrackingSetup.cpp.

◆ eq_typ

std::string dd4hep::sim::Geant4FieldTrackingSetup::eq_typ
protected

Name of the G4Mag_EqRhs class.

Variables to be filled before calling execute

Definition at line 44 of file Geant4FieldTrackingSetup.cpp.

◆ largest_step

double dd4hep::sim::Geant4FieldTrackingSetup::largest_step
protected

G4PropagatorInField parameter: LargestAcceptableStep.

Definition at line 60 of file Geant4FieldTrackingSetup.cpp.

◆ min_chord_step

double dd4hep::sim::Geant4FieldTrackingSetup::min_chord_step
protected

G4ChordFinder parameter: min_chord_step.

Definition at line 48 of file Geant4FieldTrackingSetup.cpp.

◆ stepper_typ

std::string dd4hep::sim::Geant4FieldTrackingSetup::stepper_typ
protected

Name of the G4MagIntegratorStepper class.

Definition at line 46 of file Geant4FieldTrackingSetup.cpp.


The documentation for this struct was generated from the following file: