ATLAS Offline Software
IG4FieldSvc.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef G4AtlasInterfaces_IG4FieldSvc_H
6 #define G4AtlasInterfaces_IG4FieldSvc_H
7 
8 // Include files
9 // from Gaudi
10 #include "GaudiKernel/IService.h"
11 
12 class G4MagneticField;
13 
22 class IG4FieldSvc : virtual public IService
23 {
24  public:
25 
27  virtual ~IG4FieldSvc() {;}
28 
31 
32  virtual G4MagneticField* getField( ) = 0;
33 
34 };
35 
36 #endif
IG4FieldSvc
Definition: IG4FieldSvc.h:23
IG4FieldSvc::~IG4FieldSvc
virtual ~IG4FieldSvc()
Definition: IG4FieldSvc.h:27
IG4FieldSvc::getField
virtual G4MagneticField * getField()=0
IG4FieldSvc::DeclareInterfaceID
DeclareInterfaceID(IG4FieldSvc, 1, 0)
Creates the InterfaceID and interfaceID() method.
IG4FieldSvc::IG4FieldSvc
IG4FieldSvc()
Definition: IG4FieldSvc.h:26