All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SpaceChargeService.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SpaceChargeService.h
3 //
4 // \brief pure virtual service interface for space charge distortions
5 //
6 // \author mrmooney@bnl.gov
7 //
8 ////////////////////////////////////////////////////////////////////////
9 #ifndef SPACECHARGESERVICE_H
10 #define SPACECHARGESERVICE_H
11 
13 
14 #include "art/Framework/Services/Registry/ServiceDeclarationMacros.h"
15 
16 namespace spacecharge {
18  public:
20 
21  virtual ~SpaceChargeService() = default;
22  virtual const spacecharge::SpaceCharge* provider() const = 0;
23  };
24 }
25 
26 DECLARE_ART_SERVICE_INTERFACE(spacecharge::SpaceChargeService, SHARED)
27 
28 #endif // SPACECHARGESERVICE_H
virtual const spacecharge::SpaceCharge * provider() const =0
virtual ~SpaceChargeService()=default