CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Field.h
Go to the documentation of this file.
1 #ifndef SimG4Core_Field_H
2 #define SimG4Core_Field_H
3 
4 #include "G4MagneticField.hh"
5 
6 class MagneticField;
7 class G4Mag_UsualEqRhs;
8 
9 namespace sim {
10  class Field : public G4MagneticField
11  {
12  public:
13  Field(const MagneticField * f, double d);
14  virtual ~Field();
15  G4Mag_UsualEqRhs* fieldEquation();
16  virtual void GetFieldValue(const double p[3],double b[3]) const;
17  void fieldEquation(G4Mag_UsualEqRhs* e);
18  private:
20  G4Mag_UsualEqRhs* theFieldEquation;
21  double theDelta;
22  };
23 }
24 #endif
const MagneticField * theCMSMagneticField
Definition: Field.h:19
virtual ~Field()
Definition: Field.cc:23
G4Mag_UsualEqRhs * theFieldEquation
Definition: Field.h:20
Definition: sim.h:19
tuple d
Definition: ztail.py:151
G4Mag_UsualEqRhs * fieldEquation()
Definition: Field.cc:16
virtual void GetFieldValue(const double p[3], double b[3]) const
Definition: Field.cc:25
double f[11][100]
double b
Definition: hdecay.h:120
double theDelta
Definition: Field.h:21
Field(const MagneticField *f, double d)
Definition: Field.cc:18