EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TGeoDetector.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TGeoDetector.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2018 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 Acts {
18 class TGeoDetectorElement;
19 }
20 
22  using DetectorElementPtr = std::shared_ptr<const Acts::TGeoDetectorElement>;
23  using DetectorStore = std::vector<DetectorElementPtr>;
24 
27 
28  void addOptions(
29  boost::program_options::options_description& opt) const override;
30 
31  std::pair<ActsExamples::IBaseDetector::TrackingGeometryPtr, ContextDecorators>
32  finalize(const boost::program_options::variables_map& vm,
33  std::shared_ptr<const Acts::IMaterialDecorator> mdecorator) override;
34 };