Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MultiWireStructureBuilder.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file MultiWireStructureBuilder.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2022-2023 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 
19 
20 #include <iostream>
21 #include <string>
22 #include <vector>
23 
24 namespace Acts {
25 namespace Experimental {
26 
28  public:
30 
31  struct Config {
34 
36  std::vector<std::shared_ptr<Acts::Surface>> mlSurfaces = {};
37 
39  Transform3 transform = Transform3::Identity();
40 
42  std::vector<ActsScalar> mlBounds = {};
43 
44  // The binning of the multi wire structure
45  std::vector<ProtoBinning> mlBinning = {};
46 
48  float toleranceOverlap = 10.;
49  };
50 
54 
56  const Config& config,
57  std::unique_ptr<const Acts::Logger> logger = Acts::getDefaultLogger(
58  "MultiWireStructureBuilder", Acts::Logging::VERBOSE));
59 
60  ~MultiWireStructureBuilder() = default;
61 
63 
66 
69 
70  private:
72 
73  const Acts::Logger& logger() const { return *mLogger; }
74 
75  std::unique_ptr<const Acts::Logger> mLogger;
76 };
77 
78 } // namespace Experimental
79 } // namespace Acts