EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
GenericDetectorOptions.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file GenericDetectorOptions.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 "
ActsExamples/Utilities/Options.hpp
"
13
14
#include <utility>
15
16
#include <boost/program_options.hpp>
17
18
namespace
ActsExamples {
19
20
namespace
Options {
21
22
namespace
po = boost::program_options;
23
29
template
<
typename
options_t>
30
void
addGenericGeometryOptions
(options_t& opt) {
31
opt.add_options()(
"geo-generic-buildlevel"
,
32
po::value<size_t>()->default_value(3),
33
"The building level: 0 - pixel barrel only, 1 - pixel "
34
"detector only, 2 - full barrel only, 3 - full detector "
35
"(without stereo modules)."
);
36
}
37
}
// namespace Options
38
}
// namespace ActsExamples
acts
blob
sPHENIX
Examples
Detectors
GenericDetector
include
ActsExamples
GenericDetector
GenericDetectorOptions.hpp
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:25
using
1.8.2 with
EIC GitHub integration