Belle II Software development
MagneticField.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11#include <G4MagneticField.hh>
12
13namespace Belle2 {
19 namespace Simulation {
20
28 class MagneticField : public G4MagneticField {
29
30 public:
31
34
37
44 void GetFieldValue(const G4double Point[3], G4double* Bfield) const;
45 };
46
47 } // end namespace Simulation
49} // end namespace Belle2
The Class for the Belle2 magnetic field implementation for Geant4.
Definition: MagneticField.h:28
void GetFieldValue(const G4double Point[3], G4double *Bfield) const
Sets the magnetic field vector for a specified space point.
Abstract base class for different kinds of events.