Main Page
Namespaces
Classes
Package Documentation
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
}
LocalMagneticField::inTesla
GlobalVector inTesla(const GlobalPoint &gp) const override
Field value ad specified global point, in Tesla.
Definition:
LocalMagneticField.cc:15
Vector3DBase< float, GlobalTag >
LocalMagneticField.h
LocalMagneticField::LocalMagneticField
LocalMagneticField(double value)
Construct passing the Z field component in Tesla.
Definition:
LocalMagneticField.cc:11
runTauDisplay.gp
gp
Definition:
runTauDisplay.py:428
LocalMagneticField::theField
GlobalVector theField
Definition:
LocalMagneticField.h:27
value
Definition:
value.py:1
GlobalVector.h
Point3DBase< float, GlobalTag >
Generated for CMSSW Reference Manual by
1.8.11