Belle II Software  release-05-02-19
MagneticField.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010-2017 Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Andreas Moll, Guofu Cao, Martin Ritter *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <G4MagneticField.hh>
14 
15 namespace Belle2 {
21  namespace Simulation {
22 
30  class MagneticField : public G4MagneticField {
31 
32  public:
33 
35  MagneticField();
36 
39 
46  void GetFieldValue(const G4double Point[3], G4double* Bfield) const;
47  };
48 
49  } // end namespace Simulation
51 } // end namespace Belle2
Belle2::Simulation::MagneticField::GetFieldValue
void GetFieldValue(const G4double Point[3], G4double *Bfield) const
Sets the magnetic field vector for a specified space point.
Definition: MagneticField.cc:43
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::Simulation::MagneticField::~MagneticField
~MagneticField()
Destructor.
Definition: MagneticField.cc:39
Belle2::Simulation::MagneticField::MagneticField
MagneticField()
Constructor.
Definition: MagneticField.cc:35