LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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 42 of file pyG4MagneticField.cc.

Constructor & Destructor Documentation

PyG4MagneticField::PyG4MagneticField ( )
inline

Definition at line 44 of file pyG4MagneticField.cc.

44 { }
PyG4MagneticField::~PyG4MagneticField ( )
inline

Definition at line 45 of file pyG4MagneticField.cc.

45 { }

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 50 of file pyG4MagneticField.cc.

51  {
52 
53  const G4ThreeVector& bfield=
54  GetFieldValue(G4ThreeVector(Point[0], Point[1], Point[2]), Point[3]);
55 
56  Bfield[0]= bfield.x();
57  Bfield[1]= bfield.y();
58  Bfield[2]= bfield.z();
59  }
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:34

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