test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
MagneticField
ParametrizedEngine
src
BFit.h
Go to the documentation of this file.
1
#ifndef BFit_h
2
#define BFit_h
3
11
#include "
rz_poly.h
"
12
13
14
15
//_______________________________________________________________________________
16
namespace
magfieldparam {
17
class
BFit
{
18
19
private
:
20
21
#ifdef BFit_PW
22
static
const
double
Z_nom[4];
23
static
const
double
B_nom[4];
24
static
const
double
C_nom[4][16];
25
#else
26
static
const
double
dZ_0
;
27
static
const
double
dZ_2
;
28
29
static
const
double
C_0
[16];
//4-fold expansion coefficients
30
static
const
double
C_2
[16];
//of the expansion coefficients :)
31
static
const
double
C_4
[16];
32
#endif
33
double
dZ
;
//Z-shift
34
double
C
[16];
//the expansion coeeficients
35
36
rz_poly
*
Bz_base
;
37
rz_poly
*
Br_base
;
38
39
public
:
40
41
BFit
();
42
~BFit
() {
delete
Bz_base
;
delete
Br_base
;};
43
44
void
SetField
(
double
B
);
45
void
GetField
(
double
r
,
double
z,
double
phi,
46
double
&Br,
double
&Bz,
double
&Bphi)
const
;
47
};
48
}
49
50
#endif
magfieldparam::rz_poly
Definition:
rz_poly.h:26
magfieldparam::BFit::~BFit
~BFit()
Definition:
BFit.h:42
magfieldparam::BFit::GetField
void GetField(double r, double z, double phi, double &Br, double &Bz, double &Bphi) const
Definition:
BFit.cc:139
magfieldparam::BFit::Bz_base
rz_poly * Bz_base
Definition:
BFit.h:36
magfieldparam::BFit::BFit
BFit()
Definition:
BFit.cc:85
double_binary
Definition:
DDStreamer.cc:227
magfieldparam::BFit::C_0
static const double C_0[16]
Definition:
BFit.h:29
magfieldparam::BFit::C_2
static const double C_2[16]
Definition:
BFit.h:30
magfieldparam::BFit::Br_base
rz_poly * Br_base
Definition:
BFit.h:37
magfieldparam::BFit::C
double C[16]
Definition:
BFit.h:34
magfieldparam::BFit::dZ_2
static const double dZ_2
Definition:
BFit.h:27
magfieldparam::BFit::dZ
double dZ
Definition:
BFit.h:33
magfieldparam::BFit
Definition:
BFit.h:17
alignCSCRings.r
list r
Definition:
alignCSCRings.py:92
magfieldparam::BFit::SetField
void SetField(double B)
Definition:
BFit.cc:101
rz_poly.h
magfieldparam::BFit::dZ_0
static const double dZ_0
Definition:
BFit.h:26
magfieldparam::BFit::C_4
static const double C_4[16]
Definition:
BFit.h:31
Generated for CMSSW Reference Manual by
1.8.5