|
DAS
3.0
Das Analysis System
|
#include <cassert>
#include <iostream>
#include <limits>
#include <TString.h>
#include <TChain.h>
#include <TFile.h>
#include "Math/VectorUtil.h"
#include "Core/CommonTools/interface/ControlPlots.h"
#include "Core/CommonTools/interface/DASOptions.h"
#include "Core/Prefiring/interface/applyPrefiringWeights.h"
#include "Core/Objects/interface/Format.h"
#include <darwin.h>
|
void | applyPrefiringWeights (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[] |
|
) |
| |
120 "Apply efficiency correction for ECAL prefiring.",
122 options.inputs(
"inputs", &
inputs,
"input ROOT file(s) or directory")
123 .output(
"output", &output,
"output ROOT file")
124 .arg<fs::path>(
"file",
"corrections.prefiring.file",
"location of ROOT file with efficiency correction")
125 .arg<string> (
"name",
"corrections.prefiring.name",
"name of the efficiency map of function in the ROOT file")
126 .arg<
string> (
"type",
"corrections.prefiring.type",
"'binned' or 'smooth'");
129 const auto& slice =
options.slice();
130 const int steering =
options.steering();
134 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
config
Definition: Ntupliser_cfg.py:264
void applyPrefiringWeights(const vector< fs::path > &inputs, const fs::path &output, const pt::ptree &config, const int steering, const DT::Slice slice={1, 0})
Definition: applyPrefiringWeights.cc:34
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