Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:18:09

0001 #ifndef _MAGNETICFIELDOPTIONS_H
0002 #define _MAGNETICFIELDOPTIONS_H
0003 
0004 #include <Acts/MagneticField/MagneticFieldProvider.hpp>
0005 #include <ActsExamples/MagneticField/MagneticField.hpp>
0006 #include <ActsExamples/Utilities/OptionsFwd.hpp>
0007 
0008 namespace ActsExamples {
0009 
0010 namespace Options {
0011 
0012 /// Add magnetic field options with a `bf-` prefix.
0013 void addMagneticFieldOptions(Description& desc);
0014 
0015 /// Read and create the magnetic field from the given user variables.
0016 std::shared_ptr<Acts::MagneticFieldProvider> readMagneticField(
0017     const Variables& vars);
0018 
0019 }  // namespace Options
0020 }  // namespace ActsExamples
0021 
0022 #endif  // _MAGNETICFIELDOPTIONS_H