|
DAS
3.0
Das Analysis System
|
#include <bitset>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <TChain.h>
#include <TFile.h>
#include <TH1.h>
#include "Core/CommonTools/interface/DASOptions.h"
#include "Core/Objects/interface/Event.h"
#include <darwin.h>
|
void | getSumWeights (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[] |
|
) |
| |
147 options.inputs(
"inputs", &
inputs,
"input ROOT file(s) or directory")
148 .output(
"output", &output,
"output ROOT file")
149 .arg<
string>(
"mode",
"corrections.weights.mode",
150 "apply generator weight (`weight`), apply sign only (`signOnly`), "
151 "just count the number of events (`count`)")
152 .arg<float>(
"maxAbsValue",
"corrections.weights.maxAbsValue",
153 "Maximum absolute weight to consider (0 to run without cut)");
156 const auto& slice =
options.slice();
157 const int steering =
options.steering();
161 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 getSumWeights(const vector< fs::path > &inputs, const fs::path &output, const pt::ptree &config, const int steering, const DT::Slice slice={1, 0})
Definition: getSumWeights.cc:41
config
Definition: Ntupliser_cfg.py:264
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