CMS 3D CMS Logo

FieldStepper.h
Go to the documentation of this file.
1 #ifndef SimG4Core_MagneticField_FieldStepper_H
2 #define SimG4Core_MagneticField_FieldStepper_H
3 
4 #include "G4MagIntegratorStepper.hh"
5 
6 class G4Mag_UsualEqRhs;
7 
8 class FieldStepper : public G4MagIntegratorStepper {
9 public:
10  explicit FieldStepper(G4Mag_UsualEqRhs *eq, double del, const std::string &name);
11  ~FieldStepper() override;
12 
13  // Geant4 virtual methods
14  void Stepper(const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[]) override;
15  G4double DistChord() const override;
16  G4int IntegratorOrder() const override;
17 
18 private:
19  void selectStepper(const std::string &);
20 
21  G4MagIntegratorStepper *theStepper;
22  G4Mag_UsualEqRhs *theEquation;
23  double theDelta;
24 };
25 
26 #endif
DDAxes::y
FieldStepper::FieldStepper
FieldStepper(G4Mag_UsualEqRhs *eq, double del, const std::string &name)
Definition: FieldStepper.cc:19
FieldStepper::theEquation
G4Mag_UsualEqRhs * theEquation
Definition: FieldStepper.h:22
FieldStepper
Definition: FieldStepper.h:8
FieldStepper::IntegratorOrder
G4int IntegratorOrder() const override
Definition: FieldStepper.cc:32
FieldStepper::Stepper
void Stepper(const G4double y[], const G4double dydx[], G4double h, G4double yout[], G4double yerr[]) override
Definition: FieldStepper.cc:26
FieldStepper::theDelta
double theDelta
Definition: FieldStepper.h:23
FieldStepper::theStepper
G4MagIntegratorStepper * theStepper
Definition: FieldStepper.h:21
h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FieldStepper::DistChord
G4double DistChord() const override
Definition: FieldStepper.cc:30
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
FieldStepper::selectStepper
void selectStepper(const std::string &)
Definition: FieldStepper.cc:34
FieldStepper::~FieldStepper
~FieldStepper() override
Definition: FieldStepper.cc:24