LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
PyG4MagneticField Class Referenceabstract
Inheritance diagram for PyG4MagneticField:
pyG4MagneticField::CB_PyG4MagneticField

Public Member Functions

 PyG4MagneticField ()
 
 ~PyG4MagneticField ()
 
virtual G4ThreeVector GetFieldValue (const G4ThreeVector &pos, const G4double time) const =0
 
virtual void GetFieldValue (const G4double Point[4], G4double *Bfield) const
 

Detailed Description

Definition at line 41 of file pyG4MagneticField.cc.

Constructor & Destructor Documentation

PyG4MagneticField::PyG4MagneticField ( )
inline

Definition at line 43 of file pyG4MagneticField.cc.

43 { }
PyG4MagneticField::~PyG4MagneticField ( )
inline

Definition at line 44 of file pyG4MagneticField.cc.

44 { }

Member Function Documentation

virtual G4ThreeVector PyG4MagneticField::GetFieldValue ( const G4ThreeVector &  pos,
const G4double  time 
) const
pure virtual
virtual void PyG4MagneticField::GetFieldValue ( const G4double  Point[4],
G4double *  Bfield 
) const
inlinevirtual

Definition at line 49 of file pyG4MagneticField.cc.

50  {
51 
52  const G4ThreeVector& bfield=
53  GetFieldValue(G4ThreeVector(Point[0], Point[1], Point[2]), Point[3]);
54 
55  Bfield[0]= bfield.x();
56  Bfield[1]= bfield.y();
57  Bfield[2]= bfield.z();
58  }
virtual G4ThreeVector GetFieldValue(const G4ThreeVector &pos, const G4double time) const =0
std::tuple< double, double, const reco::ClusterHit3D * > Point
Definitions used by the VoronoiDiagram algorithm.
Definition: DCEL.h:42

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