 |
DAS
3.0
Das Analysis System
|
Go to the documentation of this file.
13 #include <boost/program_options/options_description.hpp>
14 #include <boost/program_options/positional_options.hpp>
15 #include <boost/property_tree/ptree.hpp>
17 #ifndef DARWIN_GIT_COMMIT
18 # define DARWIN_GIT_COMMIT nullptr
21 #ifndef DARWIN_EXAMPLE
22 # define DARWIN_EXAMPLE nullptr
66 boost::program_options::options_description
71 boost::program_options::positional_options_description
73 boost::property_tree::ptree
100 std::vector<std::string>
107 static void check_input (
const std::filesystem::path&
125 const boost::program_options::value_semantic *,
134 > std::function<void(T)>
put (
const std::string& configpath
137 return [configpath,
this](T value) {
pt_conf.put<T>(configpath, value); };
148 std::string
exec (
const std::string&
169 std::vector<std::vector<std::string>>
202 std::filesystem::path *,
204 const std::vector<std::string>& = {
".root",
".xml"});
213 std::vector<std::filesystem::path> *,
215 const std::vector<std::string>& = {
".root",
".xml"});
224 std::filesystem::path *,
226 const std::vector<std::string>& = {
".root",
".xml"});
235 const char * configpath,
238 if (
stage > Stage::Arg)
239 BOOST_THROW_EXCEPTION(std::runtime_error(
240 "Not possible to add another argument at this stage"));
245 const boost::program_options::value_semantic * s =
246 boost::program_options::value<T>()->notifier(put<T>(configpath));
255 const char * configpath,
262 const boost::property_tree::ptree&
operator() (
int,
const char *
const []);
284 (boost::property_tree::ptree&,
302 std::vector<std::filesystem::path>
plugins ()
const
306 BOOST_THROW_EXCEPTION( runtime_error(
"Plugins have not been activated") );
312 std::pair<unsigned, unsigned>
slice ()
const
316 BOOST_THROW_EXCEPTION(invalid_argument(
"No splitting of the input file."));
317 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:178
#define DARWIN_EXAMPLE
Definition: Options.h:22
#define DARWIN_GIT_COMMIT
Definition: Options.h:18