MagneticField
ParametrizedEngine
src
TkBfield.h
Go to the documentation of this file.
1
#ifndef ParametrizedEngine_TkBfield_h
2
#define ParametrizedEngine_TkBfield_h
3
20
#include "
BCyl.h
"
21
#include <string>
22
23
namespace
magfieldparam
{
24
class
TkBfield
{
25
public
:
26
// Deprecated ctor, nominal field value specified with a string, eg. "3_8T"
27
TkBfield
(
std::string
T
);
28
29
// Ctor
30
TkBfield
(
float
fld = 3.8);
31
33
void
getBxyz
(
float
const
* __restrict__ x,
float
* __restrict__ Bxyz)
const
;
35
void
getBrfz
(
float
const
* __restrict__ x,
float
* __restrict__ Brfz)
const
;
36
37
private
:
38
BCycl<float>
bcyl
;
39
};
40
}
// namespace magfieldparam
41
42
#endif
magfieldparam::TkBfield::getBrfz
void getBrfz(float const *__restrict__ x, float *__restrict__ Brfz) const
B out in cylindrical.
Definition:
TkBfield.cc:51
magfieldparam::TkBfield
Definition:
TkBfield.h:24
magfieldparam
Definition:
BCyl.h:23
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
BCyl.h
magfieldparam::TkBfield::bcyl
BCycl< float > bcyl
Definition:
TkBfield.h:38
magfieldparam::TkBfield::getBxyz
void getBxyz(float const *__restrict__ x, float *__restrict__ Bxyz) const
B out in cartesian.
Definition:
TkBfield.cc:61
T
long double T
Definition:
Basic3DVectorLD.h:48
magfieldparam::BCycl< float >
magfieldparam::TkBfield::TkBfield
TkBfield(std::string T)
Definition:
TkBfield.cc:49
Generated for CMSSW Reference Manual by
1.8.16