ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MaterialMappingOptions.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file MaterialMappingOptions.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 
11 #include <Acts/Utilities/Units.hpp>
12 #include <iostream>
13 
15 
16 namespace po = boost::program_options;
17 
18 namespace FW {
19 
20 namespace Options {
21 
28 template <typename aopt_t>
29 void addMaterialMappingOptions(aopt_t& opt) {
30  opt.add_options()("mat-mapping-collection",
31  po::value<std::string>()->default_value("material-tracks"),
32  "Collection name of the material tracks for reading.")(
33  "mat-mapping-emptybins", po::value<bool>()->default_value(true),
34  "Empty bin correction (recommended). Corrects for vaccuum/emtpy "
35  "assigments.");
36 }
37 
38 } // namespace Options
39 } // namespace FW