Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SvgTrackingGeometryWriter.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file SvgTrackingGeometryWriter.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2022 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 
16 
17 #include <fstream>
18 #include <iostream>
19 #include <mutex>
20 
21 namespace Acts {
22 class TrackingVolume;
23 class TrackingGeometry;
24 } // namespace Acts
25 
26 namespace ActsExamples {
27 
33  public:
37  class Config {
38  public:
41 
43  };
44 
49 
52  std::string name() const;
53 
60 
61  private:
62  std::unique_ptr<const Acts::Logger> m_logger;
63 
65 
66  std::mutex m_writeMutex;
67 
69  const Acts::Logger& logger() const { return *m_logger; }
70 };
71 
72 } // namespace ActsExamples