k4SimGeant4
Loading...
Searching...
No Matches
ISimG4MagneticFieldTool.h
Go to the documentation of this file.
1
#ifndef SIMG4INTERFACE_ISIMG4MAGNETICFIELDTOOL_H
2
#define SIMG4INTERFACE_ISIMG4MAGNETICFIELDTOOL_H
3
4
// from Gaudi
5
#include "GaudiKernel/IAlgTool.h"
6
7
// Geant 4:
8
#include "G4MagneticField.hh"
9
18
// FIXME this tool should rather be a MagneticFieldSvc since it deals with G4 singletons
19
20
class
ISimG4MagneticFieldTool
:
virtual
public
IAlgTool {
21
public
:
22
DeclareInterfaceID
(
ISimG4MagneticFieldTool
, 1, 0);
23
27
virtual
const
G4MagneticField*
field
()
const
= 0;
28
};
29
30
#endif
/* SIMG4INTERFACE_ISIM4MAGNETICFIELDTOOL_H */
ISimG4MagneticFieldTool
Abstract interface to Geant4 field classes.
Definition
ISimG4MagneticFieldTool.h:20
ISimG4MagneticFieldTool::field
virtual const G4MagneticField * field() const =0
get initialization hook for the magnetic field
ISimG4MagneticFieldTool::DeclareInterfaceID
DeclareInterfaceID(ISimG4MagneticFieldTool, 1, 0)
SimG4Interface
include
SimG4Interface
ISimG4MagneticFieldTool.h
Generated on Mon Nov 4 2024 17:11:00 for k4SimGeant4 by
1.11.0