ATLAS Offline Software
IParallelWorldTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef G4AtlasInterfaces_IParallelWorldTool_H
6 #define G4AtlasInterfaces_IParallelWorldTool_H
7 
8 // Include files
9 // from Gaudi
10 #include "GaudiKernel/IAlgTool.h"
11 
12 #include "G4VUserParallelWorld.hh"
13 
14 class G4VPhysicalVolume;
15 
24 class IParallelWorldTool : public G4VUserParallelWorld, virtual public IAlgTool {
25  public:
26  IParallelWorldTool(const std::string& n):G4VUserParallelWorld(n) {;}
27 
30 
31 // from G4VUserParallelWorld
32 
33  virtual void Construct() = 0;
34 
35 // set method to define the World volume from outside
36 
37  virtual void SetWorld() = 0;
38 
39  virtual G4VUserParallelWorld* GetParallelWorld() = 0;
40 
41 };
42 #endif
IParallelWorldTool::DeclareInterfaceID
DeclareInterfaceID(IParallelWorldTool, 1, 0)
Creates the InterfaceID and interfaceID() method.
IParallelWorldTool::SetWorld
virtual void SetWorld()=0
IParallelWorldTool::Construct
virtual void Construct()=0
IParallelWorldTool
Definition: IParallelWorldTool.h:24
beamspotman.n
n
Definition: beamspotman.py:731
IParallelWorldTool::IParallelWorldTool
IParallelWorldTool(const std::string &n)
Definition: IParallelWorldTool.h:26
IParallelWorldTool::GetParallelWorld
virtual G4VUserParallelWorld * GetParallelWorld()=0