LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
GlobalMagneticField.h
Go to the documentation of this file.
1
#ifndef GLOBALMAGNETICFIELD_H
2
#define GLOBALMAGNETICFIELD_H
3
//
4
// G4 interface for full magnetic field.
5
//
6
//
7
// Original author Eldwan Brianne
8
//
9
10
#include <string>
11
12
#include "Geant4/G4MagneticField.hh"
13
#include "Geant4/G4Types.hh"
14
#include "Geant4/G4ThreeVector.hh"
15
16
namespace
mag
{
17
18
class
MagneticFieldService;
19
20
class
GlobalMagneticField
:
public
G4MagneticField {
21
22
public
:
23
24
explicit
GlobalMagneticField
();
25
virtual
~GlobalMagneticField
(){};
26
27
// This is called by G4.
28
virtual
void
GetFieldValue
(
const
G4double
Point
[4], G4double *Bfield)
const
;
29
30
private
:
31
32
const
mag::MagneticFieldService
*
_bFieldHandle
;
33
};
34
}
35
#endif
/* GLOBALMAGNETICFIELD_H */
mag::GlobalMagneticField
Definition:
GlobalMagneticField.h:20
mag
Definition:
GlobalMagneticField.cxx:26
mag::GlobalMagneticField::GetFieldValue
virtual void GetFieldValue(const G4double Point[4], G4double *Bfield) const
Definition:
GlobalMagneticField.cxx:35
mag::GlobalMagneticField::~GlobalMagneticField
virtual ~GlobalMagneticField()
Definition:
GlobalMagneticField.h:25
mag::GlobalMagneticField::_bFieldHandle
const mag::MagneticFieldService * _bFieldHandle
Definition:
GlobalMagneticField.h:32
mag::MagneticFieldService
Definition:
MagneticFieldService.h:17
mag::GlobalMagneticField::GlobalMagneticField
GlobalMagneticField()
Definition:
GlobalMagneticField.cxx:28
dcel2d::Point
std::tuple< double, double, const reco::ClusterHit3D * > Point
Definitions used by the VoronoiDiagram algorithm.
Definition:
DCEL.h:42
nug4
G4Base
GlobalMagneticField.h
Generated on Thu May 2 2024 20:59:53 for LArSoft by
1.8.11