FastSimulation
TrajectoryManager
src
LocalMagneticField.cc
Go to the documentation of this file.
1
7
#include "
FastSimulation/TrajectoryManager/interface/LocalMagneticField.h
"
8
#include "
DataFormats/GeometryVector/interface/GlobalVector.h
"
9
10
LocalMagneticField::LocalMagneticField
(
double
value
) : theField(0., 0.,
value
) {}
11
12
GlobalVector
LocalMagneticField::inTesla
(
const
GlobalPoint
&
gp
)
const
{
return
theField
; }
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 >
runTauDisplay.gp
gp
Definition:
runTauDisplay.py:431
LocalMagneticField::theField
GlobalVector theField
Definition:
LocalMagneticField.h:25
value
Definition:
value.py:1
LocalMagneticField::inTesla
GlobalVector inTesla(const GlobalPoint &gp) const override
Field value ad specified global point, in Tesla.
Definition:
LocalMagneticField.cc:12
GlobalVector.h
LocalMagneticField.h
Generated for CMSSW Reference Manual by
1.8.16