8 #include <boost/program_options.hpp>
18 std::vector<std::string> pixel_tools_list;
20 boost::program_options::options_description main_options(
"main options");
22 main_options.add_options()
23 (
"input_file",boost::program_options::value<std::string>(&
input_file_name)->default_value(
"AFP_PixelHistoFiller.root"),
"name of output root file")
24 (
"output_file",boost::program_options::value<std::string>(&
output_file_name)->default_value(
"AFP_PixelIdentifier.root"),
"name of output root file")
28 boost::program_options::variables_map vm;
33 boost::program_options::notify(vm);
37 std::cerr <<
"Bad command line argument" << std::endl;
38 std::cerr <<
e.what() << std::endl;
42 if(pixel_tools_list.empty())
44 pixel_tools_list.push_back(
"AFP_DeadPixel");
45 pixel_tools_list.push_back(
"AFP_NoisyPixel");