ATLAS Offline Software
Loading...
Searching...
No Matches
IPhysicsListSvc.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef G4ATLASINTERFACES_IPHYSICSLISTSVC_H
6#define G4ATLASINTERFACES_IPHYSICSLISTSVC_H
7
8#include "GaudiKernel/IService.h"
9
10class G4VUserPhysicsList;
11
19
20class IPhysicsListSvc : virtual public IService
21{
22public:
24 virtual ~IPhysicsListSvc() {}
27
30 virtual void CreatePhysicsList () = 0 ;
31
33 virtual G4VUserPhysicsList* GetPhysicsList() = 0 ;
34
38 virtual void SetPhysicsList() = 0 ;
39
42 virtual void SetPhysicsOptions() = 0 ;
43
44};
45#endif // G4ATLASINTERFACES_IPHYSICSLISTSVC_H
virtual ~IPhysicsListSvc()
virtual void SetPhysicsList()=0
Get the run manager out and assign the physics list to it.
virtual G4VUserPhysicsList * GetPhysicsList()=0
Simple function to get the physics list pointer, in case it is needed.
DeclareInterfaceID(IPhysicsListSvc, 1, 0)
Creates the InterfaceID and interfaceID() method.
virtual void CreatePhysicsList()=0
Build the physics list.
virtual void SetPhysicsOptions()=0
Set the options to be used by the physics lists.