src
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
final :
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
LocalMagneticField
Definition:
LocalMagneticField.h:15
Vector3DBase
Definition:
Vector3DBase.h:8
MagneticField
Definition:
MagneticField.h:19
LocalMagneticField::~LocalMagneticField
~LocalMagneticField() override
Definition:
LocalMagneticField.h:20
LocalMagneticField::inTesla
GlobalVector inTesla(const GlobalPoint &gp) const override
Field value ad specified global point, in Tesla.
Definition:
LocalMagneticField.cc:12
LocalMagneticField::LocalMagneticField
LocalMagneticField(double value)
Construct passing the Z field component in Tesla.
Definition:
LocalMagneticField.cc:10
MagneticField.h
runTauDisplay.gp
gp
Definition:
runTauDisplay.py:431
LocalMagneticField::theField
GlobalVector theField
Definition:
LocalMagneticField.h:25
value
Definition:
value.py:1
Point3DBase< float, GlobalTag >
Generated for CMSSW Reference Manual by
1.8.14