Main Page
Namespaces
Classes
Package Documentation
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
14
#include "
MagneticField/Engine/interface/MagneticField.h
"
15
16
class
LocalMagneticField
:
public
MagneticField
{
17
public
:
18
20
LocalMagneticField
(
double
value
);
21
22
~LocalMagneticField
()
override
{}
23
24
GlobalVector
inTesla
(
const
GlobalPoint
&
gp
)
const override
;
25
26
private
:
27
GlobalVector
theField
;
28
};
29
30
#endif
LocalMagneticField
Definition:
LocalMagneticField.h:16
LocalMagneticField::inTesla
GlobalVector inTesla(const GlobalPoint &gp) const override
Field value ad specified global point, in Tesla.
Definition:
LocalMagneticField.cc:15
Vector3DBase
Definition:
Vector3DBase.h:9
MagneticField
Definition:
MagneticField.h:19
LocalMagneticField::~LocalMagneticField
~LocalMagneticField() override
Definition:
LocalMagneticField.h:22
LocalMagneticField::LocalMagneticField
LocalMagneticField(double value)
Construct passing the Z field component in Tesla.
Definition:
LocalMagneticField.cc:11
MagneticField.h
runTauDisplay.gp
gp
Definition:
runTauDisplay.py:431
LocalMagneticField::theField
GlobalVector theField
Definition:
LocalMagneticField.h:27
value
Definition:
value.py:1
Point3DBase< float, GlobalTag >
Generated for CMSSW Reference Manual by
1.8.11