Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
MagneticField
UniformEngine
src
UniformMagneticField.h
Go to the documentation of this file.
1
#ifndef MagneticField_UniformMagneticField_h
2
#define MagneticField_UniformMagneticField_h
3
14
#include "
MagneticField/Engine/interface/MagneticField.h
"
15
16
class
UniformMagneticField
:
public
MagneticField
{
17
public
:
18
20
UniformMagneticField
(
double
value
);
21
22
virtual
~UniformMagneticField
() {}
23
24
GlobalVector
inTesla
(
const
GlobalPoint
& gp)
const
;
25
26
GlobalVector
inTeslaUnchecked
(
const
GlobalPoint
& gp)
const
;
27
28
bool
isDefined
(
const
GlobalPoint
& gp)
const
{
return
true
;}
29
30
private
:
31
GlobalVector
theField
;
32
};
33
34
#endif
Vector3DBase
Definition:
Vector3DBase.h:9
relativeConstraints.value
tuple value
Definition:
relativeConstraints.py:54
MagneticField
Definition:
MagneticField.h:18
UniformMagneticField::theField
GlobalVector theField
Definition:
UniformMagneticField.h:31
MagneticField.h
UniformMagneticField::inTesla
GlobalVector inTesla(const GlobalPoint &gp) const
Field value ad specified global point, in Tesla.
Definition:
UniformMagneticField.cc:17
UniformMagneticField::inTeslaUnchecked
GlobalVector inTeslaUnchecked(const GlobalPoint &gp) const
Definition:
UniformMagneticField.cc:21
UniformMagneticField
Definition:
UniformMagneticField.h:16
Point3DBase
Definition:
Point3DBase.h:11
UniformMagneticField::isDefined
bool isDefined(const GlobalPoint &gp) const
True if the point is within the region where the concrete field.
Definition:
UniformMagneticField.h:28
UniformMagneticField::UniformMagneticField
UniformMagneticField(double value)
Construct passing the Z field component in Tesla.
Definition:
UniformMagneticField.cc:13
UniformMagneticField::~UniformMagneticField
virtual ~UniformMagneticField()
Definition:
UniformMagneticField.h:22
Generated for CMSSW Reference Manual by
1.8.5