SimG4Core
MagneticField
src
Field.cc
Go to the documentation of this file.
1
#include "
MagneticField/Engine/interface/MagneticField.h
"
2
#include "
SimG4Core/MagneticField/interface/Field.h
"
3
4
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
5
6
#include "CLHEP/Units/GlobalSystemOfUnits.h"
7
8
using namespace
sim
;
9
10
Field::Field
(
const
MagneticField
*
f
,
double
d
) : G4MagneticField(), theCMSMagneticField(
f
), theDelta(
d
) {
11
for
(
int
i
= 0;
i
< 3; ++
i
) {
12
oldx
[
i
] = 1.0e12;
13
oldb
[
i
] = 0.0;
14
}
15
}
16
17
Field::~Field
() {}
mps_fire.i
i
Definition:
mps_fire.py:429
MagneticField
Definition:
MagneticField.h:19
MagneticField.h
sim::Field::oldb
double oldb[3]
Definition:
Field.h:24
f
double f[11][100]
Definition:
MuScleFitUtils.cc:78
ztail.d
d
Definition:
ztail.py:151
sim
Definition:
GeometryProducer.h:28
sim::Field::~Field
~Field() override
Definition:
Field.cc:17
Field.h
sim::Field::oldx
double oldx[3]
Definition:
Field.h:23
sim::Field::Field
Field(const MagneticField *f, double d)
Definition:
Field.cc:10
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.14