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