|
DAS
3.0
Das Analysis System
|
#include <cstdlib>
#include <cassert>
#include <iostream>
#include <vector>
#include <filesystem>
#include <TString.h>
#include <TFile.h>
#include <TH1.h>
#include <TUnfoldBinningXML.h>
#include "Math/VectorUtil.h"
#include <darwin.h>
#include "Core/CommonTools/interface/DASOptions.h"
#include "Core/Unfolding/interface/Observable.h"
|
void | getUnfBinning (const fs::path &outputGen, const fs::path &outputRec, const pt::ptree &config, const int steering) |
|
int | main (int argc, char *argv[]) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
73 fs::path outputGen, outputRec;
76 "Get binning used in unfolding in XML format.",
78 options.output(
"outputGen", &outputGen,
"output XML file with binning at hadron level (`/dev/null` to deactivate)")
79 .output(
"outputRec", &outputRec,
"output XML file with binning at detector level (`/dev/null` to deactivate)")
80 .args(
"observables",
"unfolding.observables",
"list of observables (use DAS::Unfolding subnamespaces)");
82 const int steering =
options.steering();
86 catch (boost::exception& e) {
options
Definition: DYToLL_M-50_13TeV_pythia8_cff_GEN_SIM_RECOBEFMIX_DIGI_L1_DIGI2RAW_L1Reco_RECO.py:41
void Diagnostic(const boost::exception &e)
Definition: exceptions.h:131
void getUnfBinning(const fs::path &outputGen, const fs::path &outputRec, const pt::ptree &config, const int steering)
Get binning in XML format.
Definition: getUnfBinning.cc:33
config
Definition: Ntupliser_cfg.py:264
Darwin::Tools::Options Options(const char *, int=Darwin::Tools::none)
Constructs Darwin options with the correct commit information.
Definition: DASOptions.cc:14