DAS  3.0
Das Analysis System
initMetaInfo.cc File Reference
#include <filesystem>
#include <fstream>
#include <memory>
#include <stdexcept>
#include "darwin.h"
#include <TTree.h>
+ Include dependency graph for initMetaInfo.cc:

Namespaces

 Darwin
 
 Darwin::Tools
 

Functions

int initMetaInfo (const pt::ptree &config)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)
47 {
48  try {
50 
51  vector<fs::path> inputs;
52 
53  DT::Options options("Generates an empty metainfo and prints it to standard output.");
54  options.arg<string>("format", "format", "Output format, info|json|xml");
55  return DT::initMetaInfo(options(argc, argv));
56  }
57  catch (boost::exception& e) {
58  DE::Diagnostic(e);
59  return EXIT_FAILURE;
60  }
61 }
DYToLL_M-50_13TeV_pythia8_cff_GEN_SIM_RECOBEFMIX_DIGI_L1_DIGI2RAW_L1Reco_RECO.options
options
Definition: DYToLL_M-50_13TeV_pythia8_cff_GEN_SIM_RECOBEFMIX_DIGI_L1_DIGI2RAW_L1Reco_RECO.py:41
Darwin::Tools::initMetaInfo
int initMetaInfo(const pt::ptree &config)
Writes a minimal MetaInfo to standard output.
Definition: initMetaInfo.cc:21
Darwin::Exceptions::Diagnostic
void Diagnostic(const boost::exception &e)
Definition: exceptions.h:116
Darwin::Tools::StandardInit
void StandardInit()
Definition: FileUtils.cc:25
Darwin::Tools::Options
Common class to interpret the command line, based on Boost Program Options.
Definition: Options.h:58
jercExample.inputs
def inputs
Definition: jercExample.py:118