StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StMagF
StMagF.h
1
#ifndef StMagF_H
2
#define StMagF_H
3
#include "Rtypes.h"
4
#include "TNamed.h"
5
#include "StarMagField/StarMagField.h"
6
#if !defined(__CINT__) && !defined(__CLING__)
7
#include "StarCallf77.h"
8
#endif
9
class
StMagF
:
public
TNamed {
10
public
:
11
static
void
Agufld(
float
*x,
float
*b);
12
ClassDef(
StMagF
,0)
//mmmm
13
};
14
inline
void
StMagF::Agufld(
float
*x,
float
*b) {
15
static
StarMagField
*mag = StarMagField::Instance();
16
double
xx[3]={x[0],x[1],x[2]}, bb[3];
17
mag->BField(xx,bb);
18
b[0]=bb[0]; b[1]=bb[1]; b[2]=bb[2];
19
}
20
#endif
StarMagField
Definition:
StarMagField.h:97
StMagF
Definition:
StMagF.h:9
Generated by
1.8.5