Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
relativeConstraints.value
tuple value
Definition:
relativeConstraints.py:55
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
LocalMagneticField::theField
GlobalVector theField
Definition:
LocalMagneticField.h:25
GlobalVector.h
Point3DBase< float, GlobalTag >
runTauDisplay.gp
list gp
Definition:
runTauDisplay.py:431
MagneticField::setNominalValue
void setNominalValue()
Definition:
MagneticField.cc:14
Generated for CMSSW Reference Manual by
1.8.5