DAS  3.0
Das Analysis System
printMetaInfo.cc File Reference
#include <cstdlib>
#include <stdexcept>
#include <iostream>
#include <sstream>
#include <filesystem>
#include <memory>
#include "darwin.h"
#include <TFile.h>
#include <TTree.h>
#include <TString.h>
#include <TKey.h>
+ Include dependency graph for printMetaInfo.cc:
+ This graph shows which files directly or indirectly include this file:

Namespaces

 Darwin
 
 Darwin::Tools
 

Functions

int printMetaInfo (vector< fs::path > inputs, const pt::ptree &config)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)
83 {
84  try {
86 
87  vector<fs::path> inputs;
88 
89  DT::Options options("Returns the value or direct subtree corresponding "
90  "to a given key.");
91  options.inputs("inputs", &inputs, "input ROOT files or directory")
92  .arg<string>("path", "path", "dot-separated full path to key");
93  const auto& config = options(argc, argv);
94 
96  }
97  catch (boost::exception& e) {
98  DE::Diagnostic(e);
99  return EXIT_FAILURE;
100  }
101 }
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::Exceptions::Diagnostic
void Diagnostic(const boost::exception &e)
Definition: exceptions.h:116
Darwin::Tools::StandardInit
void StandardInit()
Definition: FileUtils.cc:25
Ntupliser_cfg.config
config
Definition: Ntupliser_cfg.py:263
Darwin::Tools::Options
Common class to interpret the command line, based on Boost Program Options.
Definition: Options.h:56
Darwin::Tools::printMetaInfo
int printMetaInfo(vector< fs::path > inputs, const pt::ptree &config)
Definition: printMetaInfo.cc:33
jercExample.inputs
def inputs
Definition: jercExample.py:118