Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F11221440
ConstantMagneticField.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
580 B
Subscribers
None
ConstantMagneticField.h
View Options
#ifndef _RaveInterfaceConstantMagneticField_H_
#define _RaveInterfaceConstantMagneticField_H_
#include
<rave/MagneticField.h>
namespace
rave
{
/** \class A simple constant magnetic field
* that ships with rave.
*/
class
ConstantMagneticField
:
public
MagneticField
{
public
:
virtual
Vector3D
inTesla
(
const
Point3D
&
)
const
;
virtual
MagneticField
*
copy
()
const
;
ConstantMagneticField
();
ConstantMagneticField
(
double
x
,
double
y
,
double
z
);
virtual
~
ConstantMagneticField
()
{};
private
:
double
x_
;
double
y_
;
double
z_
;
};
}
#endif
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Wed, May 14, 10:26 AM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5111134
Default Alt Text
ConstantMagneticField.h (580 B)
Attached To
rRAVESVN ravesvn
Event Timeline
Log In to Comment