FastSimulation
TrajectoryManager
interface
LocalMagneticField.h
Go to the documentation of this file.
1
#ifndef FastSimualtion_TrajectoryManager_LocalMagneticField_h
2
#define FastSimualtion_TrajectoryManager_LocalMagneticField_h
3
13
#include "
MagneticField/Engine/interface/MagneticField.h
"
14
15
class
LocalMagneticField
:
public
MagneticField
{
16
public
:
18
LocalMagneticField
(
double
value
);
19
20
~LocalMagneticField
()
override
{}
21
22
GlobalVector
inTesla
(
const
GlobalPoint
&
gp
)
const override
;
23
24
private
:
25
GlobalVector
theField
;
26
};
27
28
#endif
Vector3DBase
Definition:
Vector3DBase.h:8
LocalMagneticField::LocalMagneticField
LocalMagneticField(double value)
Construct passing the Z field component in Tesla.
Definition:
LocalMagneticField.cc:10
Point3DBase< float, GlobalTag >
LocalMagneticField::~LocalMagneticField
~LocalMagneticField() override
Definition:
LocalMagneticField.h:20
runTauDisplay.gp
gp
Definition:
runTauDisplay.py:431
LocalMagneticField::theField
GlobalVector theField
Definition:
LocalMagneticField.h:25
value
Definition:
value.py:1
MagneticField.h
LocalMagneticField::inTesla
GlobalVector inTesla(const GlobalPoint &gp) const override
Field value ad specified global point, in Tesla.
Definition:
LocalMagneticField.cc:12
MagneticField
Definition:
MagneticField.h:19
LocalMagneticField
Definition:
LocalMagneticField.h:15
Generated for CMSSW Reference Manual by
1.8.16