|
DAS
3.0
Das Analysis System
|
#include <cstdlib>
#include <thread>
#include <iostream>
#include <filesystem>
#include <utility>
#include <optional>
#include <TChain.h>
#include <TFile.h>
#include <TROOT.h>
#include <TH1D.h>
#include <TRegexp.h>
#include "Core/Objects/interface/Event.h"
#include "Core/Objects/interface/Jet.h"
#include "Core/CommonTools/interface/ControlPlots.h"
#include "Core/CommonTools/interface/DASOptions.h"
#include "Core/CommonTools/interface/toolbox.h"
#include <darwin.h>
|
float | GetNormFactor (const fs::path &f_sumWgts, const float xsec) |
|
void | applyMClumi (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[] |
|
) |
| |
153 "Normalise the MC samples to the cross section.",
155 options.inputs(
"inputs", &
inputs,
"input ROOT file(s) or directory")
156 .output(
"output", &output,
"output ROOT file")
157 .arg<
float>(
"xsection",
"corrections.MCnormalisation.xsection",
"cross section value")
158 .arg<fs::path>(
"sumWgts",
"corrections.MCnormalisation.sumWgts",
"output of `getSumWgts`");
161 const auto& slice =
options.slice();
162 const int steering =
options.steering();
166 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:116
void applyMClumi(const vector< fs::path > &inputs, const fs::path &output, const pt::ptree &config, const int steering, const DT::Slice slice={1, 0})
Definition: applyMClumi.cc:62
config
Definition: Ntupliser_cfg.py:260
def inputs
Definition: jercExample.py:118
Darwin::Tools::Options Options(const char *, int=Darwin::Tools::none)
Constructs Darwin options with the correct commit information.
Definition: DASOptions.cc:14