Main Page
Namespaces
Classes
Package Documentation
FastSimulation
TrajectoryManager
interface
LocalMagneticField.h
Go to the documentation of this file.
1
#ifndef FastSimualtion_TrajectoryManager_LocalMagneticField_h
2
#define FastSimualtion_TrajectoryManager_LocalMagneticField_h
3
14
#include "
MagneticField/Engine/interface/MagneticField.h
"
15
16
class
LocalMagneticField
:
public
MagneticField
{
17
public
:
18
20
LocalMagneticField
(
double
value
);
21
22
virtual
~LocalMagneticField
() {}
23
24
GlobalVector
inTesla
(
const
GlobalPoint
&
gp
)
const
;
25
26
private
:
27
GlobalVector
theField
;
28
};
29
30
#endif
LocalMagneticField
Definition:
LocalMagneticField.h:16
Vector3DBase< float, GlobalTag >
MagneticField
Definition:
MagneticField.h:17
LocalMagneticField::LocalMagneticField
LocalMagneticField(double value)
Construct passing the Z field component in Tesla.
Definition:
LocalMagneticField.cc:11
MagneticField.h
runTauDisplay.gp
gp
Definition:
runTauDisplay.py:428
LocalMagneticField::theField
GlobalVector theField
Definition:
LocalMagneticField.h:27
value
Definition:
value.py:1
LocalMagneticField::~LocalMagneticField
virtual ~LocalMagneticField()
Definition:
LocalMagneticField.h:22
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.11