BOSS 7.0.2
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
 
 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

Definition at line 33 of file InstallArea/include/BField/BField/BField.h.

Constructor & Destructor Documentation

◆ BField() [1/2]

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() [1/2]

BField::~BField ( )

◆ BField() [2/2]

BField::BField ( IMagneticFieldSvc magSvc)

◆ ~BField() [2/2]

BField::~BField ( )

Member Function Documentation

◆ bFieldNominal() [1/2]

◆ bFieldNominal() [2/2]

double BField::bFieldNominal ( ) const

◆ bFieldZ() [1/2]

◆ bFieldZ() [2/2]

double BField::bFieldZ ( ) const

◆ print() [1/2]

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}

◆ print() [2/2]

void BField::print ( ) const

Member Data Documentation

◆ cmTeslaToGeVc

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

◆ gaussToTesla

const double BField::gaussToTesla = 1000.
static

Definition at line 51 of file InstallArea/include/BField/BField/BField.h.

Referenced by bFieldZ().


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