ATLAS Offline Software
Loading...
Searching...
No Matches
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
14class G4VPhysicalVolume;
15
23
24class 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(const std::string &n)
virtual void SetWorld()=0
DeclareInterfaceID(IParallelWorldTool, 1, 0)
Creates the InterfaceID and interfaceID() method.
virtual G4VUserParallelWorld * GetParallelWorld()=0
virtual void Construct()=0