#include #include #include #include #include "km3net-dataformat/offline/Head.hh" #include "km3net-dataformat/definitions/applications.hh" #include "JLang/JVectorize.hh" #include "JAAnet/JHead.hh" #include "JAAnet/JHeadToolkit.hh" #include "JSupport/JMultipleFileScanner.hh" #include "JSupport/JMonteCarloFileSupportkit.hh" #include "JSupport/JSupport.hh" #include "Jeep/JPrint.hh" #include "Jeep/JParser.hh" #include "Jeep/JMessage.hh" /** * \file * Auxiliary program to select Monte Carlo files according generator. * * \author mdejong */ int main(int argc, char **argv) { using namespace std; using namespace JPP; JMultipleFileScanner_t inputFile; string application; int debug; try { JParser<> zap("Auxiliary program to select Monte Carlo files according generator."); zap['f'] = make_field(inputFile); zap['H'] = make_field(application) = get_keys(get_is_head); zap['d'] = make_field(debug) = 1; zap['H'] = JPARSER::not_initialised(); zap(argc, argv); } catch(const exception &error) { FATAL(error.what() << endl); } cout << getAAnetFiles(inputFile, get_is_head(application)); }