Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
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
11
LocalMagneticField::LocalMagneticField
(
double
value
)
12
: theField(0.,0.,value) {}
13
14
15
GlobalVector
LocalMagneticField::inTesla
(
const
GlobalPoint
& gp)
const
{
16
return
theField
;
17
}
Vector3DBase< float, GlobalTag >
relativeConstraints.value
tuple value
Definition:
relativeConstraints.py:54
LocalMagneticField.h
LocalMagneticField::LocalMagneticField
LocalMagneticField(double value)
Construct passing the Z field component in Tesla.
Definition:
LocalMagneticField.cc:11
LocalMagneticField::theField
GlobalVector theField
Definition:
LocalMagneticField.h:27
GlobalVector.h
Point3DBase< float, GlobalTag >
LocalMagneticField::inTesla
GlobalVector inTesla(const GlobalPoint &gp) const
Field value ad specified global point, in Tesla.
Definition:
LocalMagneticField.cc:15
Generated for CMSSW Reference Manual by
1.8.5