BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/PatBField/include/PatBField/BField.h
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
// File and Version Information:
3
// $Id: BField.h,v 1.4 2008/09/17 08:30:39 zhangy Exp $
4
//
5
// Description:
6
// The BField class contains the magnetic field map. This class is now a
7
// virtual class
8
//
9
//
10
// Environment:
11
// Software developed for the BaBar Detector at the SLAC B-Factory.
12
//
13
// Author List:
14
// Bob Jacobsen
15
// Dave Brown, 12-23-96; Added Kalman filter tracking functions, prepared
16
// for a full field map implementation
17
// Fri Sep 25 11:57:57 PDT 1998 - A. Snyder
18
// Remove bFieldVectDF and bFieldZDF
19
// The are replaced by derivative
20
// Dave Brown, 12/20/99 Make this a virtual class, remove the
21
// obsolete and dangerous static bFieldNom;
22
//
23
// Copyright Information:
24
// Copyright (C) 1995, 1996
25
//
26
//------------------------------------------------------------------------
27
28
#ifndef MDCPATREC_BFIELD_H
29
#define MDCPATREC_BFIELD_H
30
#include "MagneticFieldSvc/IBesMagFieldSvc.h"
31
32
namespace
MdcPatRec
{
33
34
class
BField
{
35
36
public
:
37
BField
(
IBesMagFieldSvc
* magSvc );
38
~BField
();
39
40
// return the Z component of the magnetic field at a point
41
double
bFieldZ
()
const
;
42
43
// return nominal field
44
double
bFieldNominal
()
const
;
45
46
// print
47
void
print
()
const
;
48
49
// for converting radius*field to GeV/c of transverse momentum
50
static
const
double
cmTeslaToGeVc
;
51
static
const
double
gaussToTesla
;
52
53
private
:
54
// nominal field only
55
double
_nomFieldZ;
56
IBesMagFieldSvc
* m_pIMF;
57
};
58
59
}
// namespace MdcPatRec
60
#endif
IBesMagFieldSvc
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MagneticFieldSvc/IBesMagFieldSvc.h:15
MdcPatRec::BField
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/PatBField/BField.h:34
MdcPatRec::BField::print
void print() const
MdcPatRec::BField::bFieldZ
double bFieldZ() const
MdcPatRec::BField::cmTeslaToGeVc
static const double cmTeslaToGeVc
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/PatBField/BField.h:50
MdcPatRec::BField::BField
BField(IBesMagFieldSvc *magSvc)
MdcPatRec::BField::gaussToTesla
static const double gaussToTesla
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/PatBField/BField.h:51
MdcPatRec::BField::bFieldNominal
double bFieldNominal() const
MdcPatRec::BField::~BField
~BField()
MdcPatRec
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/PatBField/BField.h:32
8.0.0
BOSS_Source
Reconstruction
MdcPatRec
PatBField
include
PatBField
BField.h
Generated by
1.16.1