k4SimGeant4
Loading...
Searching...
No Matches
k4simgeant4::DD4hepField Class Reference

Mediator class between DD4hep overlayed field and Geant4 magnetic field. More...

#include <SimG4Common/include/SimG4Common/DD4hepField.h>

Inheritance diagram for k4simgeant4::DD4hepField:
Collaboration diagram for k4simgeant4::DD4hepField:

Public Member Functions

 DD4hepField (dd4hep::OverlayedField field)
 Constructor with field required.
 
virtual ~DD4hepField ()
 
virtual void GetFieldValue (const G4double point[4], double *bField) const final
 Get the value of the magnetic field value at position.
 
virtual G4bool DoesFieldChangeEnergy () const
 Does field change energy ?
 

Private Attributes

dd4hep::OverlayedField m_field
 DD4hep OverlayedField.
 

Detailed Description

Mediator class between DD4hep overlayed field and Geant4 magnetic field.

Author
Juraj Smiesko

Constructor & Destructor Documentation

◆ DD4hepField()

k4simgeant4::DD4hepField::DD4hepField ( dd4hep::OverlayedField field)
explicit

Constructor with field required.

◆ ~DD4hepField()

virtual k4simgeant4::DD4hepField::~DD4hepField ( )
inlinevirtual

Member Function Documentation

◆ DoesFieldChangeEnergy()

G4bool k4simgeant4::DD4hepField::DoesFieldChangeEnergy ( ) const
virtual

Does field change energy ?

◆ GetFieldValue()

void k4simgeant4::DD4hepField::GetFieldValue ( const G4double point[4],
double * bField ) const
finalvirtual

Get the value of the magnetic field value at position.

Parameters
[in]pointthe position where the field is to be returned
[out]bFieldthe return value

Member Data Documentation

◆ m_field

dd4hep::OverlayedField k4simgeant4::DD4hepField::m_field
private

DD4hep OverlayedField.


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