Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DummyDetectorConstruction.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file DummyDetectorConstruction.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2021 CERN for the benefit of the Acts project
4 //
5 // This Source Code Form is subject to the terms of the Mozilla Public
6 // License, v. 2.0. If a copy of the MPL was not distributed with this
7 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 
9 #pragma once
10 
11 #include "G4VUserDetectorConstruction.hh"
12 
13 class G4LogicalVolume;
14 class G4VPhysicalVolume;
15 class G4RunManager;
16 
17 namespace ActsFatras {
18 
22 G4RunManager* ensureGeant4RunManager();
23 
25 class DummyDetectorConstruction : public G4VUserDetectorConstruction {
26  public:
28  ~DummyDetectorConstruction() override;
29 
31  G4VPhysicalVolume* Construct() override;
32 
33  private:
35  void dummyDetector();
36 
37  // Logical volume
38  G4LogicalVolume* m_worldLog = nullptr;
39 
40  // Physical volume
42 };
43 } // namespace ActsFatras