k4SimGeant4
Loading...
Searching...
No Matches
ISimG4MagneticFieldTool Class Referenceabstract

Abstract interface to Geant4 field classes. More...

#include <SimG4Interface/include/SimG4Interface/ISimG4MagneticFieldTool.h>

Inheritance diagram for ISimG4MagneticFieldTool:
Collaboration diagram for ISimG4MagneticFieldTool:

Public Member Functions

 DeclareInterfaceID (ISimG4MagneticFieldTool, 1, 0)
 
virtual const G4MagneticField * field () const =0
 get initialization hook for the magnetic field
 

Detailed Description

Abstract interface to Geant4 field classes.

Author
Andrea Dell'Acqua
Date
2016-02-22

Member Function Documentation

◆ DeclareInterfaceID()

ISimG4MagneticFieldTool::DeclareInterfaceID ( ISimG4MagneticFieldTool ,
1 ,
0  )

◆ field()

virtual const G4MagneticField * ISimG4MagneticFieldTool::field ( ) const
pure virtual

get initialization hook for the magnetic field

Returns
pointer to G4MagneticField

Implemented in SimG4ConstantMagneticFieldTool, SimG4MagneticFieldFromMapTool, and SimG4MagneticFieldTool.


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