Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
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
namespace
magfieldparam {
15
class
BFit
{
16
private
:
17
#ifdef BFit_PW
18
static
const
double
Z_nom[4];
19
static
const
double
B_nom[4];
20
static
const
double
C_nom[4][16];
21
#else
22
static
const
double
dZ_0
;
23
static
const
double
dZ_2
;
24
25
static
const
double
C_0
[16];
//4-fold expansion coefficients
26
static
const
double
C_2
[16];
//of the expansion coefficients :)
27
static
const
double
C_4
[16];
28
#endif
29
double
dZ
;
//Z-shift
30
double
C
[16];
//the expansion coeeficients
31
32
rz_poly
*
Bz_base
;
33
rz_poly
*
Br_base
;
34
35
public
:
36
BFit
();
37
~BFit
() {
38
delete
Bz_base
;
39
delete
Br_base
;
40
};
41
42
void
SetField
(
double
B
);
43
void
GetField
(
double
r
,
double
z,
double
phi,
double
&Br,
double
&Bz,
double
&Bphi)
const
;
44
};
45
}
// namespace magfieldparam
46
47
#endif
magfieldparam::rz_poly
Definition:
rz_poly.h:26
magfieldparam::BFit::~BFit
~BFit()
Definition:
BFit.h:37
magfieldparam::BFit::GetField
void GetField(double r, double z, double phi, double &Br, double &Bz, double &Bphi) const
Definition:
BFit.cc:190
magfieldparam::BFit::Bz_base
rz_poly * Bz_base
Definition:
BFit.h:32
magfieldparam::BFit::BFit
BFit()
Definition:
BFit.cc:137
magfieldparam::BFit::C_0
static const double C_0[16]
Definition:
BFit.h:25
magfieldparam::BFit::C_2
static const double C_2[16]
Definition:
BFit.h:26
magfieldparam::BFit::Br_base
rz_poly * Br_base
Definition:
BFit.h:33
magfieldparam::BFit::C
double C[16]
Definition:
BFit.h:30
TtFullHadDaughter::B
static const std::string B
Definition:
TtFullHadronicEvent.h:9
magfieldparam::BFit::dZ_2
static const double dZ_2
Definition:
BFit.h:23
magfieldparam::BFit::dZ
double dZ
Definition:
BFit.h:29
magfieldparam::BFit
Definition:
BFit.h:15
alignCSCRings.r
list r
Definition:
alignCSCRings.py:93
magfieldparam::BFit::SetField
void SetField(double B)
Definition:
BFit.cc:152
rz_poly.h
magfieldparam::BFit::dZ_0
static const double dZ_0
Definition:
BFit.h:22
magfieldparam::BFit::C_4
static const double C_4[16]
Definition:
BFit.h:27
Generated for CMSSW Reference Manual by
1.8.5