|
DAS
3.0
Das Analysis System
|
#include <cstdlib>
#include <iostream>
#include <vector>
#include <numeric>
#include <limits>
#include <utility>
#include "Core/CommonTools/interface/DASOptions.h"
#include "Core/Objects/interface/Jet.h"
#include "Core/Objects/interface/Event.h"
#include "Core/Uncertainties/interface/Teddy.h"
#include "Core/Unfolding/interface/Observable.h"
#include "Core/Unfolding/interface/toolbox.h"
#include <TString.h>
#include <TFile.h>
#include <TH2D.h>
#include <TKey.h>
#include <darwin.h>
|
template<typename TH1X , typename TH2X > |
void | CheckSymmetry (const unique_ptr< TH1X > &h, const unique_ptr< TH2X > &cov) |
|
template<typename TH1X , typename TH2X > |
void | CheckEntries (const unique_ptr< TH1X > &h, const unique_ptr< TH2X > &cov) |
|
void | getToyCalculation (const fs::path &input, const fs::path &output, const pt::ptree &config, const int steering, const DT::Slice slice={1, 0}) |
|
int | main (int argc, char *argv[]) |
|
|
static const auto | deps = numeric_limits<double>::epsilon() |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
217 fs::path
input, output;
220 "Fill histograms to run global unfolding of "
224 .output(
"output", &output,
"output ROOT file")
225 .arg<
string>(
"level",
"uncertainties.toy.level",
"gen or rec")
226 .arg<string>(
"distribution",
"uncertainties.toy.distribution",
"distribution (e.g. unfold)")
227 .arg<
string>(
"covariance",
"uncertainties.toy.covariance",
"covariance matrix (e.g. covOutData)")
228 .arg<long>(
"N",
"uncertainties.toy.N",
"number of events")
229 .args(
"observables",
"unfolding.observables",
"list of observables (use DAS::Unfolding subnamespaces)");
232 const auto& slice =
options.slice();
233 const int steering =
options.steering();
237 catch (boost::exception& e) {
◆ deps
const auto deps = numeric_limits<double>::epsilon() |
|
static |
options
Definition: DYToLL_M-50_13TeV_pythia8_cff_GEN_SIM_RECOBEFMIX_DIGI_L1_DIGI2RAW_L1Reco_RECO.py:41
void getToyCalculation(const fs::path &input, const fs::path &output, const pt::ptree &config, const int steering, const DT::Slice slice={1, 0})
Definition: getToyCalculation.cc:81
void Diagnostic(const boost::exception &e)
Definition: exceptions.h:131
config
Definition: Ntupliser_cfg.py:264
input
Definition: DYToLL_M-50_13TeV_pythia8_cff_GEN_SIM_RECOBEFMIX_DIGI_L1_DIGI2RAW_L1Reco_RECO.py:35
Darwin::Tools::Options Options(const char *, int=Darwin::Tools::none)
Constructs Darwin options with the correct commit information.
Definition: DASOptions.cc:14