 |
DAS
3.0
Das Analysis System
|
#include <cstdlib>
#include <filesystem>
#include <iomanip>
#include <iostream>
#include <string>
#include <TH3.h>
#include <TFile.h>
#include "Core/CommonTools/interface/binnings.h"
#include "Core/CommonTools/interface/DASOptions.h"
#include "Core/CommonTools/interface/toolbox.h"
#include "common.h"
#include <darwin.h>
#include <correction.h>
|
void | getJMEtable (const fs::path input, const fs::path output, const pt::ptree &config, const int steering) |
|
int | main (int argc, char *argv[]) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
- Todo:
- JES and JER campaigns are often different, but it would be nice to 1/ extract the config from the metainfo of a n-tuple 2/ use this config as argument to the present executable to get a plot of the tables
189 fs::path
input, output;
192 options.input (
"input" , &
input ,
"JSON file containing the corrections")
193 .output(
"output", &output,
"output ROOT file")
194 .arg<
string>(
"campaign",
"corrections.JME.campaign",
195 "campaign (e.g. Summer19UL18_V5)")
196 .arg<string>(
"level",
"corrections.JME.level",
"level (e.g. L2Relative)")
200 .arg<
bool>(
"isMC",
"flags.isMC",
"boolean flag")
201 .arg<int>(
"R",
"flags.R",
"R (x10) parameter in jet clustering algorithm")
202 .arg<
int>(
"year",
"flags.year",
"year (4 digits)")
203 .
args (
"labels",
"flags.labels",
"e.g. CHS or PUPPI");
206 const int steering =
options.steering();
210 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
args
Definition: Ntupliser_cfg.py:11
config
Definition: Ntupliser_cfg.py:317
input
Definition: DYToLL_M-50_13TeV_pythia8_cff_GEN_SIM_RECOBEFMIX_DIGI_L1_DIGI2RAW_L1Reco_RECO.py:35
void getJMEtable(const fs::path input, const fs::path output, const pt::ptree &config, const int steering)
Definition: getJMEtables.cc:33
Darwin::Tools::Options Options(const char *, int=Darwin::Tools::none)
Constructs Darwin options with the correct commit information.
Definition: DASOptions.cc:14