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

Namespaces

 Darwin
 
 Darwin::Tools
 

Functions

void printEntries (vector< fs::path > inputs)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)
42 {
43  try {
45 
46  vector<fs::path> inputs;
47 
48  DT::Options options("Print total number of entries of the first `TTree`s "
49  "found in any directory of the input ROOT files.");
50  options.inputs("inputs", &inputs, "input ROOT file(s) or directory");
51  options(argc, argv);
52 
54  }
55  catch (boost::exception& e) {
56  DE::Diagnostic(e);
57  return EXIT_FAILURE;
58  }
59 
60  return EXIT_SUCCESS;
61 }
Darwin::Tools::printEntries
void printEntries(vector< fs::path > inputs)
Definition: printEntries.cc:22
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
Darwin::Tools::Options
Common class to interpret the command line, based on Boost Program Options.
Definition: Options.h:56
jercExample.inputs
def inputs
Definition: jercExample.py:118