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