CMS 3D CMS Logo

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 
8 namespace sim {
9  class Field : public G4MagneticField {
10  public:
11  Field(const MagneticField *f, double d);
12  ~Field() override;
13  void GetFieldValue(const G4double p[4], G4double b[3]) const override;
14 
15  private:
17  double theDelta;
18 
19  mutable double oldx[3];
20  mutable double oldb[3];
21  };
22 }; // namespace sim
23 #endif
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
sim::Field::~Field
~Field() override
Definition: Field.cc:18
sim::Field::oldx
double oldx[3]
Definition: Field.h:19
sim::Field
Definition: Field.h:9
sim::Field::GetFieldValue
void GetFieldValue(const G4double p[4], G4double b[3]) const override
Definition: Field.cc:20
b
double b
Definition: hdecay.h:118
sim::Field::oldb
double oldb[3]
Definition: Field.h:20
sim
Definition: GeometryProducer.h:20
sim::Field::theDelta
double theDelta
Definition: Field.h:17
ztail.d
d
Definition: ztail.py:151
sim::Field::theCMSMagneticField
const MagneticField * theCMSMagneticField
Definition: Field.h:16
MagneticField
Definition: MagneticField.h:19
sim::Field::Field
Field(const MagneticField *f, double d)
Definition: Field.cc:11