Project
Loading...
Searching...
No Matches
o2::field::ALICE3MagneticField Class Reference

#include <ALICE3MagneticField.h>

Inherits FairField.

Public Member Functions

 ALICE3MagneticField ()
 
 ~ALICE3MagneticField () override=default
 
Double_t GetBx (Double_t x, Double_t y, Double_t z) override
 X component, avoid using since slow.
 
Double_t GetBy (Double_t x, Double_t y, Double_t z) override
 Y component, avoid using since slow.
 
Double_t GetBz (Double_t x, Double_t y, Double_t z) override
 Z component.
 
void Field (const Double_t *__restrict__ point, Double_t *__restrict__ bField) override
 

Detailed Description

A simple magnetic field class for ALICE3 R&D. Can easily be used in Virtual Monte Carlo simulations.

Definition at line 29 of file ALICE3MagneticField.h.

Constructor & Destructor Documentation

◆ ALICE3MagneticField()

o2::field::ALICE3MagneticField::ALICE3MagneticField ( )
inline

Definition at line 32 of file ALICE3MagneticField.h.

◆ ~ALICE3MagneticField()

o2::field::ALICE3MagneticField::~ALICE3MagneticField ( )
overridedefault

Member Function Documentation

◆ Field()

void ALICE3MagneticField::Field ( const Double_t *__restrict__  point,
Double_t *__restrict__  bField 
)
override

Method to calculate the field at point xyz Main interface from TVirtualMagField used in simulation

Definition at line 47 of file ALICE3MagneticField.cxx.

◆ GetBx()

Double_t o2::field::ALICE3MagneticField::GetBx ( Double_t  x,
Double_t  y,
Double_t  z 
)
inlineoverride

X component, avoid using since slow.

Definition at line 41 of file ALICE3MagneticField.h.

◆ GetBy()

Double_t o2::field::ALICE3MagneticField::GetBy ( Double_t  x,
Double_t  y,
Double_t  z 
)
inlineoverride

Y component, avoid using since slow.

Definition at line 49 of file ALICE3MagneticField.h.

◆ GetBz()

Double_t o2::field::ALICE3MagneticField::GetBz ( Double_t  x,
Double_t  y,
Double_t  z 
)
inlineoverride

Z component.

Definition at line 57 of file ALICE3MagneticField.h.


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