#include <cstdlib>
#include <cassert>
#include <iostream>
#include <vector>
#include <filesystem>
#include <TEfficiency.h>
#include <TFile.h>
#include <TH1.h>
#include <TString.h>
#include <TTreeFormula.h>
#include "Math/VectorUtil.h"
#include <darwin.h>
|
void | applyTFormula (const vector< fs::path > &inputs, const fs::path &output, const pt::ptree &config, const int steering, const DT::Slice slice={1, 0}) |
|
int | main (int argc, char *argv[]) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
117 "Note: out-of-bounds accesses with C-style syntax pass silently."
118 "For STL containers, use at() instead of [] if you want to throw exceptions.\n"
119 "Note: additional quotation marks are required for parallel.",
121 options.inputs(
"inputs", &
inputs,
"input ROOT file(s) or directory")
122 .output(
"output", &output,
"output ROOT file")
123 .arg<
string>(
"formula",
"skims.formula",
"TTreeFormula syntax or STL-style syntax (prefix ‘@’)");
125 const auto& slice =
options.slice();
126 const int steering =
options.steering();
130 catch (boost::exception& e) {