EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PayloadDetector.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PayloadDetector.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2019 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 
13 
14 #include <memory>
15 #include <vector>
16 
17 namespace ActsExamples {
18 namespace Contextual {
19 class PayloadDecorator;
20 class PayloadDetectorElement;
21 } // namespace Contextual
22 } // namespace ActsExamples
23 
26  using DetectorElementPtr = std::shared_ptr<DetectorElement>;
28  using DetectorStore = std::vector<std::vector<DetectorElementPtr>>;
29 
32 
33  void addOptions(
34  boost::program_options::options_description& opt) const override;
35 
36  std::pair<ActsExamples::IBaseDetector::TrackingGeometryPtr, ContextDecorators>
37  finalize(const boost::program_options::variables_map& vm,
38  std::shared_ptr<const Acts::IMaterialDecorator> mdecorator) override;
39 };