CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FieldStepper.h
Go to the documentation of this file.
1 #ifndef SimG4Core_FieldStepper_H
2 #define SimG4Core_FieldStepper_H
3 
4 #include "G4MagIntegratorStepper.hh"
5 
6 class G4Mag_UsualEqRhs;
7 
8 namespace sim {
9  class FieldStepper : public G4MagIntegratorStepper
10  {
11  public:
12  FieldStepper(G4Mag_UsualEqRhs * eq, double del = 0.0);
13  ~FieldStepper();
14  virtual void Stepper(const double y[],const double dydx[],double h,
15  double yout[],double yerr[]);
16  virtual double DistChord() const;
17  virtual int IntegratorOrder() const;
18  G4MagIntegratorStepper * select(const std::string & s);
19  private:
20  G4MagIntegratorStepper * theStepper;
21  G4Mag_UsualEqRhs * theEquation;
22  double delta;
23  };
24 }
25 
26 #endif
virtual double DistChord() const
Definition: FieldStepper.cc:29
virtual void Stepper(const double y[], const double dydx[], double h, double yout[], double yerr[])
Definition: FieldStepper.cc:25
Definition: sim.h:19
G4MagIntegratorStepper * theStepper
Definition: FieldStepper.h:20
virtual int IntegratorOrder() const
Definition: FieldStepper.cc:31
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
FieldStepper(G4Mag_UsualEqRhs *eq, double del=0.0)
Definition: FieldStepper.cc:20
G4MagIntegratorStepper * select(const std::string &s)
Definition: FieldStepper.cc:34
G4Mag_UsualEqRhs * theEquation
Definition: FieldStepper.h:21