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
41 virtual void SetPhysicsOptions() = 0 ;
42
44 virtual void SetPhysicsListOptions() = 0 ;
45
47 virtual void SetPhysicsProcessOptions() = 0 ;
48
49};
50#endif // G4ATLASINTERFACES_IPHYSICSLISTSVC_H
virtual ~IPhysicsListSvc()
virtual void SetPhysicsList()=0
Get the run manager out and assign the physics list to it.
virtual void SetPhysicsListOptions()=0
Set global physics-list options before run-manager initialization.
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 SetPhysicsProcessOptions()=0
Set options requiring processes to have already been constructed.
virtual void SetPhysicsOptions()=0
Set all physics options with the ordering expected by legacy run managers.