13 #include <boost/program_options.hpp>
21 namespace po = boost::program_options;
25 po::options_description desc(
"Acts::Cuda::SeedFinder Test");
26 desc.add_options()(
"help,h",
"Produce a help message")(
27 "spFile,f", po::value<std::string>()->default_value(
"sp.txt"),
28 "SpacePoint text file name")(
29 "quiet,q", po::bool_switch(),
30 "Do not print the properties of the reconstructed seeds")(
31 "onlyGPU,g", po::bool_switch(),
32 "Run the seed finding using only the GPU implementation")(
33 "groupsToIterate,n", po::value<unsigned int>()->default_value(500),
34 "The number of groups to process as a maximum")(
35 "filterDuplicates,d", po::bool_switch(),
36 "Look for spacepoint duplicates in the input file, and remove them "
41 po::store(po::parse_command_line(argc, argv, desc), vm);
45 if (vm.count(
"help")) {
46 std::cout << desc << std::endl;
51 spFile = vm[
"spFile"].as<std::string>();
52 quiet = vm[
"quiet"].as<
bool>();
53 onlyGPU = vm[
"onlyGPU"].as<
bool>();