8#include "G4UniformMagField.hh"
18 return StatusCode::SUCCESS;
25 return new G4UniformMagField(fieldVec);
#define ATH_MSG_VERBOSE(x)
ConstantFieldSvc(const std::string &name, ISvcLocator *pSvcLocator)
Basic constructor and destructor.
Gaudi::Property< double > m_fieldX
Gaudi::Property< double > m_fieldZ
StatusCode initialize() override final
Athena method.
G4MagneticField * makeField() override final
Create the field object.
Gaudi::Property< double > m_fieldY
G4MagFieldSvcBase(const std::string &name, ISvcLocator *pSvcLocator)
Standard constructor.