|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef G4ATLASSERVICES_ConstantFieldSvc_H
6 #define G4ATLASSERVICES_ConstantFieldSvc_H
12 #include "G4MagneticField.hh"
33 G4MagneticField*
makeField() override final;
40 Gaudi::Property<double>
m_fieldY{
this,
"FieldY", 0.,
"Field Y component"};
41 Gaudi::Property<double>
m_fieldZ{
this,
"FieldZ", 0.,
"Field Z component"};
ConstantFieldSvc(const std::string &name, ISvcLocator *pSvcLocator)
Basic constructor and destructor.
Support class for PropertyMgr.
G4MagneticField * makeField() override final
Create the field object.
~ConstantFieldSvc()=default
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< double > m_fieldY
=============================================================================
Gaudi::Property< double > m_fieldZ
StatusCode initialize() override final
Athena method.
Gaudi::Property< double > m_fieldX