BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
BField Class Reference

#include <BField.h>

Public Member Functions

 BField (IMagneticFieldSvc *magSvc)
 
 ~BField ()
 
double bFieldZ () const
 
double bFieldNominal () const
 
void print () const
 

Static Public Attributes

static const double cmTeslaToGeVc = Constants::c/1.0E13
 
static const double gaussToTesla = 1000.
 

Detailed Description

Constructor & Destructor Documentation

◆ BField()

BField::BField ( IMagneticFieldSvc magSvc)

Definition at line 33 of file Reconstruction/MdcPatRec/BField/BField-00-01-02/src/BField.cxx.

35{ m_pIMF = magSvc;}

◆ ~BField()

BField::~BField ( )

Member Function Documentation

◆ bFieldNominal()

◆ bFieldZ()

◆ print()

void BField::print ( ) const

Definition at line 47 of file Reconstruction/MdcPatRec/BField/BField-00-01-02/src/BField.cxx.

48{
49 std::cout << "Default constant field" << std::endl;
50 std::cout << "nominal Field: " << bFieldNominal() << std::endl;
51}

Member Data Documentation

◆ cmTeslaToGeVc

const double BField::cmTeslaToGeVc = Constants::c/1.0E13
static

◆ gaussToTesla

const double BField::gaussToTesla = 1000.
static

The documentation for this class was generated from the following files: