SimG4Core
MagneticField
interface
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
:
16
const
MagneticField
*
theCMSMagneticField
;
17
double
theDelta
;
18
19
mutable
double
oldx
[3];
20
mutable
double
oldb
[3];
21
};
22
};
// namespace sim
23
#endif
sim::Field::theCMSMagneticField
const MagneticField * theCMSMagneticField
Definition:
Field.h:16
sim::Field
Definition:
Field.h:9
MagneticField
Definition:
MagneticField.h:19
sim::Field::GetFieldValue
void GetFieldValue(const G4double p[4], G4double b[3]) const override
Definition:
Field.cc:19
sim::Field::oldb
double oldb[3]
Definition:
Field.h:20
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
b
double b
Definition:
hdecay.h:118
sim::Field::theDelta
double theDelta
Definition:
Field.h:17
sim::Field::oldx
double oldx[3]
Definition:
Field.h:19
sim::Field::Field
Field(const MagneticField *f, double d)
Definition:
Field.cc:10
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
Generated for CMSSW Reference Manual by
1.8.14