BOSS
7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/BField/BField-00-01-02/BField/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 BFIELD_H
29
#define BFIELD_H
30
31
#include "MagneticField/IMagneticFieldSvc.h"
32
33
class
BField
{
34
35
public
:
36
37
BField
(
IMagneticFieldSvc
* 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
IMagneticFieldSvc
* m_pIMF;
57
};
58
59
#endif
60
BField
Definition:
InstallArea/include/BField/BField/BField.h:33
BField::bFieldNominal
double bFieldNominal() const
BField::bFieldZ
double bFieldZ() const
BField::cmTeslaToGeVc
static const double cmTeslaToGeVc
Definition:
InstallArea/include/BField/BField/BField.h:50
BField::BField
BField(IMagneticFieldSvc *magSvc)
BField::~BField
~BField()
BField::gaussToTesla
static const double gaussToTesla
Definition:
InstallArea/include/BField/BField/BField.h:51
BField::print
void print() const
IMagneticFieldSvc
Definition:
InstallArea/include/MagneticField/MagneticField/IMagneticFieldSvc.h:29
source
Reconstruction
MdcPatRec
BField
BField-00-01-02
BField
BField.h
Generated by
1.9.6