|
DAS
3.0
Das Analysis System
|
Go to the documentation of this file.
9 #include <boost/program_options/options_description.hpp>
10 #include <boost/program_options/positional_options.hpp>
11 #include <boost/property_tree/ptree.hpp>
13 #ifndef DARWIN_GIT_COMMIT
14 # define DARWIN_GIT_COMMIT nullptr
17 #ifndef DARWIN_EXAMPLE
18 # define DARWIN_EXAMPLE nullptr
61 boost::program_options::options_description
66 boost::program_options::positional_options_description
68 boost::property_tree::ptree
95 std::vector<std::string>
102 static void check_input (
const std::filesystem::path&
120 const boost::program_options::value_semantic *,
129 > std::function<void(T)>
put (
const std::string& configpath
132 return [configpath,
this](T value) {
pt_conf.put<T>(configpath, value); };
143 std::string
exec (
const std::string&
162 std::vector<std::vector<std::string>>
191 std::filesystem::path *,
193 const std::vector<std::string>& = {
".root",
".xml"});
202 std::vector<std::filesystem::path> *,
204 const std::vector<std::string>& = {
".root",
".xml"});
213 std::filesystem::path *,
215 const std::vector<std::string>& = {
".root",
".xml"});
224 const char * configpath,
227 if (
stage > Stage::Arg)
228 BOOST_THROW_EXCEPTION(std::runtime_error(
229 "Not possible to add another argument at this stage"));
234 const boost::program_options::value_semantic * s =
235 boost::program_options::value<T>()->notifier(put<T>(configpath));
244 const char * configpath,
251 const boost::property_tree::ptree&
operator() (
int,
const char *
const []);
267 static inline std::filesystem::path
parse_env_var (
const std::filesystem::path&
p)
273 (boost::property_tree::ptree&,
289 inline std::pair<unsigned, unsigned>
slice ()
const
293 BOOST_THROW_EXCEPTION(invalid_argument(
"No splitting of the input file."));
294 return make_pair(
j,
k);
name
Definition: DYToLL_M-50_13TeV_pythia8_cff_GEN_SIM_RECOBEFMIX_DIGI_L1_DIGI2RAW_L1Reco_RECO.py:48
p
Definition: Ntupliser_cfg.py:358
#define DARWIN_EXAMPLE
Definition: Options.h:18
#define DARWIN_GIT_COMMIT
Definition: Options.h:14