Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
MagneticField
UniformEngine
src
UniformMagneticField.cc
Go to the documentation of this file.
1
6
#include "
MagneticField/UniformEngine/src/UniformMagneticField.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
#include "
DataFormats/GeometryVector/interface/GlobalVector.h
"
9
10
11
UniformMagneticField::UniformMagneticField
(
double
value
)
12
: theField(0.,0.,value) {}
13
14
15
GlobalVector
UniformMagneticField::inTesla
(
const
GlobalPoint
&
gp
)
const
{
16
return
theField
;
17
}
18
19
GlobalVector
UniformMagneticField::inTeslaUnchecked
(
const
GlobalPoint
&
gp
)
const
{
20
return
theField
;
21
}
Vector3DBase< float, GlobalTag >
relativeConstraints.value
tuple value
Definition:
relativeConstraints.py:54
UniformMagneticField::theField
GlobalVector theField
Definition:
UniformMagneticField.h:29
ParameterSet.h
UniformMagneticField::inTesla
GlobalVector inTesla(const GlobalPoint &gp) const
Field value ad specified global point, in Tesla.
Definition:
UniformMagneticField.cc:15
UniformMagneticField::inTeslaUnchecked
GlobalVector inTeslaUnchecked(const GlobalPoint &gp) const
Definition:
UniformMagneticField.cc:19
UniformMagneticField.h
GlobalVector.h
Point3DBase< float, GlobalTag >
runTauDisplay.gp
list gp
Definition:
runTauDisplay.py:428
UniformMagneticField::UniformMagneticField
UniformMagneticField(double value)
Construct passing the Z field component in Tesla.
Definition:
UniformMagneticField.cc:11
Generated for CMSSW Reference Manual by
1.8.5