LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
MagneticFieldService.h
Go to the documentation of this file.
1 // \file MagneticFieldService.h
3 //
4 // \brief pure virtual service interface for magnetic field
5 //
6 // \author ebrianne@fnal.gov
7 //
9 #ifndef MAGNETICFIELDSERVICE_H
10 #define MAGNETICFIELDSERVICE_H
11 
13 
15 
16 namespace mag {
18  public:
20 
21  virtual ~MagneticFieldService() = default;
22  virtual const mag::MagneticField* provider() const = 0;
23  };
24 }
25 
27 
28 #endif // MAGNETICFIELDSERVICE_H
virtual const mag::MagneticField * provider() const =0
virtual ~MagneticFieldService()=default
#define DECLARE_ART_SERVICE_INTERFACE(svc, scope)