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